I created a database using android studio and view it through sqlite db. But in order to view my database i need to pull out from device file explorer. How can I save and view my database in actual device without pulling out from device file explorer, my android studio version is 3.5.
1 Answer
Follow below steps :
Device File Explorer > data > data > yourPackageName > databases > filename.db
After that :
1) Select the file.
2) Right click on it.
3) Choose save as and give it proper name and destination.
Note : You can only view the database file of your own application. And application debuggable mode is on.
Stetholibrary can help you. github.com/facebook/stetho