I have tested creating, inserting and retrieving data into my apps db, and know it works through usage of Log statements.
However, I wish to expedite testing and us
There are two ways if you want to browse your device data (data/data) folder.
ADM location - (YOUR_SDK_PATH\Android\sdk\tools)
adb root
If you just want to see your DB & Tables then the esiest way is to use Stetho
. Pretty cool tool for every Android developer who uses SQLite
buit by Facobook developed
.
Steps to use the tool
'compile 'com.facebook.stetho:stetho:1.4.2'
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Stetho.initializeWithDefaults(this); setContentView(R.layout.activity_main); }
Now, build your application & When the app is running, you can browse your app database, by opening chrome in the url:
chrome://inspect/#devices
Screenshots of the same are as below_
ChromeInspact
Your DB
Hope this will help all! :)