<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Add webmap from arcgis online to Android in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/add-webmap-from-arcgis-online-to-android/m-p/494970#M3424</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to add a web map from ArcGIS online, but the application crashes every time I run it. I tried initiating the map from Java as well as XML. this is the map:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://adit0019.maps.arcgis.com/home/item.html?id=610857a27b3e4ed9864e6d54b0170cab" rel="nofollow" target="_blank"&gt;http://adit0019.maps.arcgis.com/home/item.html?id=610857a27b3e4ed9864e6d54b0170cab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; A snippet of my code :&lt;/P&gt;&lt;P&gt;public View onCreateView(LayoutInflater inflater, ViewGroup container,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bundle savedInstanceState) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; View rootView = inflater.inflate(R.layout.fragment_home, container, false);&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; m_MapView = new MapView(getActivity(), "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://adit0019.maps.arcgis.com/home/item.html?id=610857a27b3e4ed9864e6d54b0170cab" rel="nofollow" target="_blank"&gt;http://adit0019.maps.arcgis.com/home/item.html?id=610857a27b3e4ed9864e6d54b0170cab&lt;/A&gt;&lt;SPAN&gt;", "", "");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return rootView;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Sep 2014 10:08:53 GMT</pubDate>
    <dc:creator>AdityaNarayanan</dc:creator>
    <dc:date>2014-09-22T10:08:53Z</dc:date>
    <item>
      <title>Add webmap from arcgis online to Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/add-webmap-from-arcgis-online-to-android/m-p/494970#M3424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to add a web map from ArcGIS online, but the application crashes every time I run it. I tried initiating the map from Java as well as XML. this is the map:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://adit0019.maps.arcgis.com/home/item.html?id=610857a27b3e4ed9864e6d54b0170cab" rel="nofollow" target="_blank"&gt;http://adit0019.maps.arcgis.com/home/item.html?id=610857a27b3e4ed9864e6d54b0170cab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; A snippet of my code :&lt;/P&gt;&lt;P&gt;public View onCreateView(LayoutInflater inflater, ViewGroup container,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bundle savedInstanceState) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; View rootView = inflater.inflate(R.layout.fragment_home, container, false);&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; m_MapView = new MapView(getActivity(), "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://adit0019.maps.arcgis.com/home/item.html?id=610857a27b3e4ed9864e6d54b0170cab" rel="nofollow" target="_blank"&gt;http://adit0019.maps.arcgis.com/home/item.html?id=610857a27b3e4ed9864e6d54b0170cab&lt;/A&gt;&lt;SPAN&gt;", "", "");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return rootView;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 10:08:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/add-webmap-from-arcgis-online-to-android/m-p/494970#M3424</guid>
      <dc:creator>AdityaNarayanan</dc:creator>
      <dc:date>2014-09-22T10:08:53Z</dc:date>
    </item>
  </channel>
</rss>

