I am new to Android. I tried to open a file in internal storage.
The file is located in: mnt/sdcard/italy.sqlite. There are many solutions on the web, I tried some, but I am keeping get different errors..
First try:
String extStore = System.getenv("EXTERNAL_STORAGE");
File spatialDbFile = new File(extStore, "italy.sqlite");
I printed System.getenv("EXTERNAL_STORAGE");
, I got:
/sdcard
Second try:
File spatialDbFile = new File("mnt/sdcard/italy.sqlite");
This still doesn't work.
Could someone help me?