Android APK Expansion Files and ArcGISLocalTiledLayer

3308
3
08-16-2012 03:24 AM
MarkNemec
New Contributor
Is it possible to bundle a Local Tiled Layer into an APK Expansion File and then add it to a MapView?
I could zip it, download it from the Play Store but how would I initialise the layer from the zip file?
0 Kudos
3 Replies
SimonKlein
Occasional Contributor
I guess it would be possible. As long as the path is alright there should be no problem from what I can see here: http://developer.android.com/guide/google/play/expansion-files.html
0 Kudos
MarkNemec
New Contributor
But the path has to be in the form "file:///mnt/sdcard/<CacheName>/Layers", so would I have to unzip it first? That would mean I have to store twice as much data since you can't delete the original expansion file.
0 Kudos
SimonKlein
Occasional Contributor
Ah I overread that. It looks like you have to do that...
Else you would have to provide a server and download the data on your own at the first start or so
0 Kudos