HI,
I am using a SQLite database in my app.
When I create it, where would be the best place to save it on the device ?
I have read that the file can be saved in File.DirDefaultExternal and also read it can be put in File.DirInternal.
I want to be able to keep this file after a app update or a Android OS update.
From what I can see the difference between the 2 is:
File.DirInternal stores it in a location where the user can't browse to and no other app can access this file.
File.DirDefaultExternal the user can view this file if they was to browse for this file.
Other than that, is that the only difference ?
Which is the best location to save this file ?
I am using a SQLite database in my app.
When I create it, where would be the best place to save it on the device ?
I have read that the file can be saved in File.DirDefaultExternal and also read it can be put in File.DirInternal.
I want to be able to keep this file after a app update or a Android OS update.
From what I can see the difference between the 2 is:
File.DirInternal stores it in a location where the user can't browse to and no other app can access this file.
File.DirDefaultExternal the user can view this file if they was to browse for this file.
Other than that, is that the only difference ?
Which is the best location to save this file ?