Where is the location of sqlite db on android device
-
Hi Expert, I have developed android program that save data on SQLite Database, I need to know where is the location of created database, furthermore, I need to save database file on the root of android device or on custom path, I don't need to save created file on hidden file. Regards, Ahmad
-
Hi Expert, I have developed android program that save data on SQLite Database, I need to know where is the location of created database, furthermore, I need to save database file on the root of android device or on custom path, I don't need to save created file on hidden file. Regards, Ahmad
Google is your friend: Be nice and visit him often. He can answer questions a lot more quickly than posting them here... A very quick search using your subject as the search term gave over half a million hits: Where is the location of sqlite db on android device - Google Search[^] - all of the hits on the first page tell you where it is. In future, please try to do at least basic research yourself, and not waste your time or ours.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!
-
Google is your friend: Be nice and visit him often. He can answer questions a lot more quickly than posting them here... A very quick search using your subject as the search term gave over half a million hits: Where is the location of sqlite db on android device - Google Search[^] - all of the hits on the first page tell you where it is. In future, please try to do at least basic research yourself, and not waste your time or ours.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!
-
Hi Expert, I have developed android program that save data on SQLite Database, I need to know where is the location of created database, furthermore, I need to save database file on the root of android device or on custom path, I don't need to save created file on hidden file. Regards, Ahmad
Ahmed, an Android application has an "Internal" data area - that is, an area within the Android file system where data used by that application alone resides. An app's sqlite DB lives in this area. You say that you want the DB to exist in the "root" area. In that case you're talking about "External" storage. It's called external because it is outside the app's assigned part of the file system. Most applications, that aren't part of the system, do NOT access External storage, and to do so an app requires special permissions that are not granted by default. Can you explain more about what problem you're trying to solve by wanting to put your DB in External storage? There may be a more conventional and easier way to achieve your aims.