Wednesday, October 14, 2015
SQlite Manager for browsing data in Android
Hello Guys!
Common questions of new Android Developers today is how they can view the data that are stored in their Android App,
So I decided to share two tools that I'm using to browse Sqlite data in my Android App.
1. ADM - Android Device Monitor.
- ADM is a part/feature of Android Studio that can monitor your Device that is currently connected in your machine.
2. Mozilla Firefox with SQLite Manager extension.
- It acts like File Manager of SQlite files.
features:
a. You can execute Query.
b. You can alter Database.
c. Show all stored data.
d. and many more! :)
Here's the steps to extract SQLite: *Note I used Genymotion Emulator as my Device
1. Open your Project in Android Studio, As for me I opened my com.hnh.tourme project
2. Click tools in the upper menu of Android Studio, and then click Android Device Monitor (ADM)
3. Then ADM window will appear. Your current tab must be in the File Explorer, And the go to /data/data/[packagename]/databases/[dbName]
after that click the Sqlite File and click pull file from device Icon.
(As for me my database name is clean_home so my Directory will be /data/data/com.hnh.tourme/databases/clean_home)
4. Open your Mozilla Firefox and Install Sqlite Manager as an extension, after installing open new window for Sqlite Manager and then import the
Sqlite file which is clean_home.sqlite. DONE! :)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment