top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

How to Debug local databases and Preferences in Android?

+1 vote
65 views

Hi, Being a learner. I am here to participate just like other android developer forum to enhance my knowledge regarding Android Programming & I would like to know that "how to debug my database and shared preferences in an android application", which has become difficult to debug. I hope any tech developer help me in resolving this issue.

posted Dec 12, 2016 by Kyle Flores

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button
Why this question is present at multiple place in identical form? Something fishy here...
Yes true we identified it, seems purpose of this Question is to generate the back links. We checked the IP also which terminates in India New Delhi.

1 Answer

+1 vote

I am assuming that you are using open source database, these DBs are delivered with a bunch of JUnit-Tests. You can just run them.

Also I would suggest to go through the following link which may help you -
https://blog.mindorks.com/debugging-android-databases-and-shared-preferences-in-the-easiest-way-e5f705dfc06b

answer Dec 12, 2016 by Salil Agrawal
Similar Questions
+1 vote

How can we debug the Android framework Java code? i know how I can debug the c/c++ code with the help of GDB server etc, but I searched a lot on Google but did not get the solution, currently i am totally relying on Logs but I really need something to Debug the java code inside framework and etc?
please give me some pointers or some details about debugging AOSP framework java code?

0 votes

Hi everyone, I have been working on android application and want to know your views on creating radar view in android with example code. I am also very curious about various other programming questions and answers because I also got stuck in some android issues, that is why I am looking for some mobile development blogs where the evolving community can help me to resolve my queries.

+2 votes

I would like to access, from the framework level, the stored preferences of an application, is it possible to do?

I've thought about creating a Content Provider. Will I be able then to retrieve its content from the framework level? Would the retrieving procedure be the same than the one in the application level?

+3 votes

I want to know if there is a way to some settings to be used by framework services such as ActivityManagerService of WindowManagerService like apps can do with preferences. They should be able to store some of their variables into some persistent storage and read them at bootup.

Currently, I found only the xml files in res/res folder but this is editable only at compile time.

0 votes

I am new to Android community and currently doing research in Android keystore.To understand android keystore properly, i need to debug and understand the process and the data flow.I am not able to find any particular way to debug and see the execution step by step.I used Android studio but i am not able to debug into the IKeystoreService.java and other system classes.Is there a way to debug and see how it works?

Thanking you in advance.

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...