top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to access stored preferences of an application in Android?

+2 votes
226 views

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?

posted Feb 16, 2014 by Jagan Mishra

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+1 vote

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.

+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.

+2 votes

I want to create an alertbox whenever any app creates an camera object. But I am not able to access to activity in frameworks/base/core/java/android/hardware/Camera.java to create an alertbox.

Could you help me out how can I capture activity related to camera in frameworks/base/core/java/android/hardware/Camera.java.

+4 votes

How do you avoid memory leaks in an android application?

...