I am developing an Android app with ArcGIS offline map support. To work with an offline map in android what I have to download? MPK or MMPK? By which tool I can generate the corresponding package? Does anyone have previous experience on the same? I am using com.esri.arcgisruntime:arcgis-android:100.7.0 dependancy. The documentation are totally confusing for me. We have already purchased a Development builder starter license too. Any help would be appreciated.
Asked
Active
Viewed 525 times
0
-
have you checked sample code provided by Esri? – Radhey Feb 12 '20 at 09:48
-
Yes the example is with MMPK file. Which I already tried. But I dont know how to create offline mmpk with ArcGIS Online. – Alex Chengalan Feb 13 '20 at 07:52
1 Answers
1
There are two main ways to use a map offline.
- Create a Web Map in ArcGIS Online and take that offline. This does not involve an MMPK.
- OR: Create a MMPK using ArcGIS Pro (a desktop product for Windows)
I expect you might want to consider option 1?
- Create and save a web map in ArcGIS Online.
- In the Settings ensure it's enabled for Offline. You should also ensure the layers you're using are offline enabled.
- Use the OfflineMapTask to generate and download the offline map.
This is explained here, but you might also find this technical session helpful.
If you need to go the other route of generating an MMPK, you will need ArcGIS Pro.
MPKs are not a format that Runtime supports.

Nixta
- 464
- 2
- 10