Select to view content in your preferred language

Local Tile Layer without SD Card

887
4
03-16-2012 07:04 AM
BrianGustafson
Occasional Contributor
Is it possible to access a local tile layer if that file is stored on the internal storage?  What would the Uri look like to access that file.
0 Kudos
4 Replies
BrianGustafson
Occasional Contributor
I got it.  Even though I don't have an SDcard the storage location is still referenced that way.
0 Kudos
EnriqueIbarra
Deactivated User
I got it.  Even though I don't have an SDcard the storage location is still referenced that way.


Can u say how is the path for access? I'm trying to test this sample, but don't know wich files put in the thevice and where (I haven't an SDcard).
Thanks!
0 Kudos
BrianGustafson
Occasional Contributor
Can u say how is the path for access? I'm trying to test this sample, but don't know wich files put in the thevice and where (I haven't an SDcard).
Thanks!


The path is still file:///mnt/sdcard/..... even thought there is no SD card.  This is the way that it worked on both and Asus Transformer tablet and a droid phone.
0 Kudos
ErwinSoekianto
Esri Alum
http://developer.android.com/reference/android/os/Environment.html

It would be something like this

path = Environment.getExternalStorageState() + "your path location"
0 Kudos