<?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 Problem in Open MMPK file offline on Android Mobile Phone in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problem-in-open-mmpk-file-offline-on-android/m-p/205294#M1360</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am learning ArcGIS runtime SDK for Android Devlabs' Tutorial. While completing the tutorial entitled "Display a Map While Offline", I did the same as tutorial says i.e. I created "devlabs-package.mmpk" file using arcgis pro and I saved this .mmpk file on my android phone's SD card. Though, When I start the project using Android Studio my mobile shows only online basemap (street basemap) not the map that I created for .mmpk file. I used the code as written in the devlabs tutorial. the snapshot of the code is&amp;nbsp;attached herewith-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly do help me. I am new and know little about the coding.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 May 2017 02:53:58 GMT</pubDate>
    <dc:creator>DeepakMaheshwari</dc:creator>
    <dc:date>2017-05-23T02:53:58Z</dc:date>
    <item>
      <title>Problem in Open MMPK file offline on Android Mobile Phone</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problem-in-open-mmpk-file-offline-on-android/m-p/205294#M1360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am learning ArcGIS runtime SDK for Android Devlabs' Tutorial. While completing the tutorial entitled "Display a Map While Offline", I did the same as tutorial says i.e. I created "devlabs-package.mmpk" file using arcgis pro and I saved this .mmpk file on my android phone's SD card. Though, When I start the project using Android Studio my mobile shows only online basemap (street basemap) not the map that I created for .mmpk file. I used the code as written in the devlabs tutorial. the snapshot of the code is&amp;nbsp;attached herewith-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly do help me. I am new and know little about the coding.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 02:53:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problem-in-open-mmpk-file-offline-on-android/m-p/205294#M1360</guid>
      <dc:creator>DeepakMaheshwari</dc:creator>
      <dc:date>2017-05-23T02:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Open MMPK file offline on Android Mobile Phone</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problem-in-open-mmpk-file-offline-on-android/m-p/205295#M1361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you request runtime permissions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developer.android.com/guide/topics/permissions/requesting.html" title="https://developer.android.com/guide/topics/permissions/requesting.html"&gt;Requesting Permissions | Android Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you place a link to the sample you used?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 12:46:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problem-in-open-mmpk-file-offline-on-android/m-p/205295#M1361</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-05-23T12:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Open MMPK file offline on Android Mobile Phone</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problem-in-open-mmpk-file-offline-on-android/m-p/205296#M1362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Respected Alexander Nohe&lt;/P&gt;&lt;P&gt;I added the following two types of permission in the app &amp;gt; manifests &amp;gt; AndroidManifest.xml-&lt;BR /&gt;&amp;lt;uses-permission android:name="android.permission.INTERNET" /&amp;gt;&lt;BR /&gt;&amp;lt;uses-feature android:glEsVersion="0x00020000" android:required="true" /&amp;gt;&lt;/P&gt;&lt;P&gt;I used the same "devlabs-package.mmpk file that I created in ArcGIS Pro using the data as described in the dev labs tutorials.&lt;BR /&gt;Need your help If I have missed something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 01:27:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problem-in-open-mmpk-file-offline-on-android/m-p/205296#M1362</guid>
      <dc:creator>DeepakMaheshwari</dc:creator>
      <dc:date>2017-05-24T01:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Open MMPK file offline on Android Mobile Phone</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problem-in-open-mmpk-file-offline-on-android/m-p/205297#M1363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Respected Alexander Nohe&lt;/P&gt;&lt;P&gt;The link of the sample I used is&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/labs/data/devlabs-package.mmpk" title="https://developers.arcgis.com/labs/data/devlabs-package.mmpk"&gt;https://developers.arcgis.com/labs/data/devlabs-package.mmpk&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 01:32:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problem-in-open-mmpk-file-offline-on-android/m-p/205297#M1363</guid>
      <dc:creator>DeepakMaheshwari</dc:creator>
      <dc:date>2017-05-24T01:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Open MMPK file offline on Android Mobile Phone</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problem-in-open-mmpk-file-offline-on-android/m-p/205298#M1364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So if you are targeting any runtime later than API level 22 for Android, you need to request permissions at runtime for what is considered a "dangerous" permission.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This stack overflow post should help you request a permission at runtime:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://stackoverflow.com/questions/33666071/android-marshmallow-request-permission" title="https://stackoverflow.com/questions/33666071/android-marshmallow-request-permission"&gt;Android marshmallow request permission? - Stack Overflow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 13:03:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problem-in-open-mmpk-file-offline-on-android/m-p/205298#M1364</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-05-24T13:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Open MMPK file offline on Android Mobile Phone</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problem-in-open-mmpk-file-offline-on-android/m-p/205299#M1365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Respected Alexander Nohe,&lt;/P&gt;&lt;P&gt;I did what you suggested but I could not open mmpk file offline on my android&amp;nbsp;phone. Would you please guide me in this regard. I saved my .mmpk file on my sdcard in the "myfolder/samples/MapPackage/devlabs-package.mmpk". According to you what shold be the file path code. Kindly help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 16:25:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problem-in-open-mmpk-file-offline-on-android/m-p/205299#M1365</guid>
      <dc:creator>DeepakMaheshwari</dc:creator>
      <dc:date>2017-05-30T16:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Open MMPK file offline on Android Mobile Phone</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problem-in-open-mmpk-file-offline-on-android/m-p/205300#M1366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: #eff0f1;"&gt;Environment.getExternalStorageDirectory() is one trick that comes to mind. &amp;nbsp;These documents may help you:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: #eff0f1;"&gt;&lt;A class="link-titled" href="https://developer.android.com/reference/android/os/Environment.html#getExternalStorageDirectory()" title="https://developer.android.com/reference/android/os/Environment.html#getExternalStorageDirectory()"&gt;Environment | Android Developers&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://stackoverflow.com/questions/5694933/find-an-external-sd-card-location" title="https://stackoverflow.com/questions/5694933/find-an-external-sd-card-location"&gt;android - Find an external SD card location - Stack Overflow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would also encourage you to implement a file picker so the SD file card path does not have to be exact. &amp;nbsp;One file picker that comes to mind is this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/spacecowboy/NoNonsense-FilePicker" title="https://github.com/spacecowboy/NoNonsense-FilePicker"&gt;GitHub - spacecowboy/NoNonsense-FilePicker: A file/directory-picker for android. Implemented as a library project.&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are many more open source file pickers out there which may be better suited for your needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Use that library at your own risk. &amp;nbsp;Esri has not evaluated nor tested this file picker and cannot guarantee&amp;nbsp;the safety or security of this library.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 17:25:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/problem-in-open-mmpk-file-offline-on-android/m-p/205300#M1366</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-05-30T17:25:18Z</dc:date>
    </item>
  </channel>
</rss>

