Select to view content in your preferred language

Acessing Runtime Content Geodatabase

2478
1
06-06-2014 04:58 AM
LukeCatania
Occasional Contributor
I created Runtime Content in ArcMap of a simple feature layer that just had a few points in it and added attributes.  The file created is  points.geodatabase and it is relatively small 106 KB.  The GeoProcessing result was successful and there were no warnings.   I used the following code below to open the geodatabase.

String gdbPath = "/ArcGIS/TEC/PointTest/data/points.geodatabase"
Geodatabase geodatabase = new Geodatabase(gdbPath);

I received the error java.io.FileNotFoundException: "/ArcGIS/TEC/PointTest/data/points.geodatabase does not exist.
0 Kudos
1 Reply
LukeCatania
Occasional Contributor
Minor oversight on my part.  I had convinced myself that my path was fine.  My aging brain.   Just needed to prepend
"/storage/sdcard0".
0 Kudos