android read database without root

1. Add in build.gradle:

compile 'com.amitshekhar.android:debug-db:1.0.0'

2. Add in mainactivity:

DebugDB.getAddressLog();

3. Run the app and view it on the debugging interface: D/DebugDB: Open http://192.168.1.101:8080 in your browser

4. Enter the above address in chrome  : http://192.168.1.101:8080 and you can see sp and db

Guess you like

Origin blog.csdn.net/qq_26467207/article/details/78443475