I create a application that use SQLite database and insert some data and then I need this full sqlite database file and i try to acces it but I didnot found database file, How to acces this file for use my PC?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you are using Emulator then you can access your database, just by pulling it out from File Manager from following path:
data/data/com.my.package/databases/mydb.sqliteIf you are running your application on your device then use following code to get database from your above filePath (since you cannot access internal file system of android device)
After that, once you have your db file, you can view it from Mozilla add On (Plugin) called SQLte Manager. Use this: https://addons.mozilla.org/en-us/firefox/addon/sqlite-manager/ to download it.