Hello all, I am confused about adding a geodatabase content (Runtime content) to my app, each time I enter the path to the geodatabase (using: Geodatabase geodatabase = new Geodatabase("{/path/to/geodatabase}");) I get an error in eclipse. What is meant by “path”? Would you please mention an example? Thank you, Hani
This is the full path to the SQLite based geodatabase. If your geodatabase "openstreetmap" is placed in a folder named "data" at root Level you have to use "data/openstreetmap.geodatabase" for the constructor argument.
Thank you Jan for your valuable response,
would you please elaborate more where is the route folder, is it on my hard drive or in a folder in the app itself?
Jan, I got your point, I copied my .geodatabase to the external storage card in my device, and used this path: "/storage/extSdCard/ramallah_roads.geodatabase", and it went well. Is there a way to include the .geodatabase in my app (in the eclipse project itself), so when I run it on the my device it is copied automatically to its location on the storage card (Without copying it by myself)?