Updating MMPKs in Android Runtime SDK

502
1
07-08-2019 01:15 AM
nafotoisrael
New Contributor
Hello,
Currently, I'm working by taking one mmpk from a server per project using the android runtime sdk.
The problem is, each mmpk is about 2gb+, which makes updating them on the server an expensive and time consuming process.
I was considering working with two separate mmpks per project, one for the layers and one for the images, but I realise there is no way to upload two mmpks simultaneously.
In that case, what is the most effective way to update the mmpks on the server?
sincerely.
0 Kudos
1 Reply
GuntherHeppner
Esri Contributor

Hi Nafoto,

It depends on what your workflows are and what you are trying to achieve. Here a few questions and suggestions that might help you finding the right approach:

- Do you author your mmpk files in ArcGIS Pro with custom basemaps, custom locators, etc? Or is the data in your mmpk backed by ArcGIS services, e.g. feature services?
- If your mmpk files are authored with ArcGIS Pro containing custom data, then you need to understand why your files are so big. For example if it's the basemaps that make up a large part of your file's size, you could consider extracting them out into a separate vector tile package that might have to be deployed and updated less frequently than other data in the mmpk. For more info on vector tile packages see: https://pro.arcgis.com/en/pro-app/help/sharing/overview/vector-tile-package.htm
- If the data in your mmpk files is backed by ArcGIS services, you might want to consider to deploy and update them using one of the offline map workflows supported by the ArcGIS Runtime: https://developers.arcgis.com/android/latest/guide/work-with-offline-maps.htm

- If you only need to sync data of individual feature services, you could consider using a GeodatabaseSyncTask: https://developers.arcgis.com/android/latest/guide/take-a-layer-offline.htm

If you give us some more details on your workflows and requirements, we can help you further finding the right solution.

Gunther

0 Kudos