Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Debugging local databases and Preferences.

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 289
    Comment on it

    When you need to debug database  and shared prefrences in an android application, it is difficult to debug it.

    Android Debug makes it easy to debug the databases

    Add this to app’s build.gradle- debugCompile 'com.amitshekhar.android:debug-db:0.2.0'

    You can get  the debug address url from your logs or you can use method DebugDB.getAddressLog().

    Most important, using  debugCompile,  only compile in your  app in  debug build and not in your release 

    You can open the debug url in browser

    NOTE: Your  phone and Pc should be connected to the same Network .

     

    What can Android Debug library can  do ?

    • you can see all databases.
    • you can  shared preferences used in your application.
    • you can run query to fetch ,update the data
    • you can search for rows and data.
    • you can Sort data.

     

    Thanks.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: