I changed the default directory of my database to the sdcard and I want to acccess this database and see its data using sqlitebrowser ,However I can see this database from my android file manager but when I am using windows file manager I cannot see the file of database in my sdcard , I thing it is about permission issues , But How can I solve that ?
my database is here
public static String SDCard = Environment.getExternalStorageDirectory().getAbsolutePath()
+ File.separator ;
public DatabaseHelper(Context context) {
super(context, SDCard +DATABASE_NAME, null, DATABASE_VERSION);
transactionManager = new TransactionManager(getConnectionSource());
}
Some Android phones have their internal memory split into two blocks.
One is used for the internal or / folder. The other part of the internal memory is returned by getExternalStorageDirectory(). This is still internal memory from user and/or PC side. But for Android it is external memory.
So probably you are looking in the wrong folder.
For example in my Samsung S4 I have:
"/storage/emulated/0" is returned from getExternalStorageDirectory(), while "/storage/extSdCard" is my external SD card.