<?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 Re: Downloading a Mobile Map Package into a Custom Android App in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/downloading-a-mobile-map-package-into-a-custom/m-p/1213597#M5847</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/619134"&gt;@Hiyawoffa&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To dynamically add the mobile map package from the downloads folder of a phone:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You will have to set up explicit read permissions to access the directory. (&lt;A href="https://developer.android.com/training/data-storage/manage-all-files" target="_blank"&gt;https://developer.android.com/training/data-storage/manage-all-files&lt;/A&gt;)&lt;/LI&gt;&lt;LI&gt;Set up an interface to open-&amp;gt;navigate-&amp;gt;select the file.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Get the path of the .mmpk file from the downloads folder.&lt;/LI&gt;&lt;LI&gt;Create a Mobile map package (&lt;A href="https://developers.arcgis.com/android/api-reference/reference/com/esri/arcgisruntime/mapping/MobileMapPackage.html#%3Cinit%3E(java.lang.String)" target="_self"&gt;API reference&lt;/A&gt;) : MobileMapPackage​(String path)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally, you could avoid all this, by hosting the .mmpk file as a portal item (&lt;A href="https://www.arcgis.com/home/item.html?id=e1f3a7254cb845b09450f54937c16061" target="_self"&gt;example&lt;/A&gt;) and save it to the app's cache.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 21:27:39 GMT</pubDate>
    <dc:creator>Shubham_Sharma</dc:creator>
    <dc:date>2022-09-16T21:27:39Z</dc:date>
    <item>
      <title>Downloading a Mobile Map Package into a Custom Android App</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/downloading-a-mobile-map-package-into-a-custom/m-p/1213567#M5845</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently working on offline applications with Runtime for Android,&lt;/P&gt;&lt;P&gt;I'm trying to load the mobile map package in, while WPF I can manage it, I want to load the moblie map package from the download folder of a phone.&lt;/P&gt;&lt;P&gt;I've got a working application but at the moment I have to go manually into the file structure and place it one the phone, which isn't really dynamic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone worked on this problem before, or an idea how to get it to search the phones download folder for the MMPKG?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 20:06:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/downloading-a-mobile-map-package-into-a-custom/m-p/1213567#M5845</guid>
      <dc:creator>Hiyawoffa</dc:creator>
      <dc:date>2022-09-16T20:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Downloading a Mobile Map Package into a Custom Android App</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/downloading-a-mobile-map-package-into-a-custom/m-p/1213597#M5847</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/619134"&gt;@Hiyawoffa&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To dynamically add the mobile map package from the downloads folder of a phone:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You will have to set up explicit read permissions to access the directory. (&lt;A href="https://developer.android.com/training/data-storage/manage-all-files" target="_blank"&gt;https://developer.android.com/training/data-storage/manage-all-files&lt;/A&gt;)&lt;/LI&gt;&lt;LI&gt;Set up an interface to open-&amp;gt;navigate-&amp;gt;select the file.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Get the path of the .mmpk file from the downloads folder.&lt;/LI&gt;&lt;LI&gt;Create a Mobile map package (&lt;A href="https://developers.arcgis.com/android/api-reference/reference/com/esri/arcgisruntime/mapping/MobileMapPackage.html#%3Cinit%3E(java.lang.String)" target="_self"&gt;API reference&lt;/A&gt;) : MobileMapPackage​(String path)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally, you could avoid all this, by hosting the .mmpk file as a portal item (&lt;A href="https://www.arcgis.com/home/item.html?id=e1f3a7254cb845b09450f54937c16061" target="_self"&gt;example&lt;/A&gt;) and save it to the app's cache.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 21:27:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/downloading-a-mobile-map-package-into-a-custom/m-p/1213597#M5847</guid>
      <dc:creator>Shubham_Sharma</dc:creator>
      <dc:date>2022-09-16T21:27:39Z</dc:date>
    </item>
  </channel>
</rss>

