android-preferences
How to detect if changes were made in the preferences?
I have a class that extends PreferenceActivity and shows the preference screen of my app. Is it possible to check if any changes were made to the preferences?[详细]
2023-02-10 05:57 分类:问答Does application preferences remain after Android system upgrade?
I want to store preferences which are A开发者_StackOverflow社区ndroid version dependent (eg. User Agent string obtained from WebView).[详细]
2023-02-09 02:28 分类:问答android preferences problems and assistance needed
Another question about my implementation. I am fairly new to java/android coming from a c/c++ back ground. I already have this implemented in my code, i am just having a couple issues with it and was[详细]
2023-02-08 05:58 分类:问答Can I query the Android Market License server from application A in order to see if application B was bought legitimately from the market?
I have app A which is free. I have app B which is a donation app. I know people rather pay 4 bucks for coffee and get my app for free via other channels but oh well.[详细]
2023-02-08 01:20 分类:问答Android app preferences are being cleared automatically
All of a sudden, each time I start my app, my user preferences are being cleared out.Instead of using preferences directly in an Activity, I have a helper class in my Application object, that accesses[详细]
2023-02-06 12:57 分类:问答PreferenceActivity validating user input and showing error messages
I am using a PreferenceActivity for user to define certain settings for the application. I am also using the OnPreferenceChangeListener interface to get notifications of changed preferences, and with[详细]
2023-02-06 02:25 分类:问答How to show and hide preferences on Android dynamically?
Is there a way to dynamically show and hide prefe开发者_如何学运维rences?In my case, I have a checkbox preference that would disable or enable one of 2 preference groups (\"with-\" and \"without-handi[详细]
2023-02-04 18:31 分类:问答Android: prevent preference dialog for preference which must be loaded over the network
My app has a ListPreference, whose entries come from a network API.In my PreferenceActivity\'s onCreate(), I spawn a background thread which makes the API call and then populates the entries of the开发[详细]
2023-02-04 10:55 分类:问答Accessing another Activity's preferences
I have a Login Activity which stores credentials in its own SharedPreferences; then I added two getters for reading them, something like[详细]
2023-02-03 11:17 分类:问答Change the Background of a Specific Preference Item
I have a preference group called \"Credentials\" and I\'d like to change the color of that header based on whether the credentials are valid or not.[详细]
2023-02-02 22:32 分类:问答