The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
19 views

Preferences in Android earlier than 3.0

I have the problem, that SharedPreferences with FragmentManager won't work in Android below 3.0. I always get this error: java.lang.NoSuchMethodError: mypackage.Settings.getFragmentManager How can ...
0
votes
1answer
28 views

eclipse “run as” not showing any option

I would like to run a java project by right clicking the file containing my Main method. When I hover over the 'Run as' option I get an empty list. I can still use the "Run configurations" and get the ...
1
vote
1answer
43 views

SharedPreferences putBoolean on change won't work

I have an if loop when a chebkox in sharedpreferences changed status. But I'm not able to set putBoolean("blabla", false); when the status changed. For example: User hits checkbox, CB gets checked, ...
0
votes
1answer
22 views

Store preferences in database - How to?

According to documentation there are several ways to store content. One of them is database, one of them via SharedPreferences. For my app I have already a database in use and therefore think the ...
0
votes
0answers
6 views

Android: reloading network based preferences after updating

I'm making an android app that will be a client interface for a server on the network. Obviously upon first start, the network settings will need to be added, or, at any other point, they may need to ...
0
votes
2answers
37 views

Cannot launch DialogPreference programmatically (Null Pointer Exception thrown)

I have a custom class that extends DialogPreference. It works perfectly if launched from the Preference menu. I want to be able to launch it from an Activity as well. Below is my DialogPreference ...
1
vote
1answer
45 views

How to edit a preference from the code

I would like to edit an android preference (checkBox preference) depending on the conditions. When I open the preferences activity I choose some option and it should affect other option (it should ...
0
votes
1answer
12 views

Using Eclipse preferences to color text; How to programatically access Eclipse syntax coloring preferences

I'd like to present Java Code in an Eclipse plugin with colors and formatting just like in Eclipse. However, I want the styling of my text presentation to be the same as the user has it set up for ...
1
vote
0answers
24 views

DefaultValue for <preference /> isn't stored, does the PreferenceManager ignore it?

Maybe the question is very trivial and my google-skills are not good enough but I couldn't find any solution for the following Problem. I've built a PreferenceFragment which is compatible with the ...
0
votes
0answers
33 views

Android get empty preference

I have a problem when I like getText of preference empty, I believe the problem is the static method but I understand The logcat says NullPointerException 05-30 09:19:52.802: ...
1
vote
0answers
39 views

Android: String set preference is not persistent

I have a problem with storing string set preference. I have these utility methods for storing: public static void putStringSet(SharedPreferences pref, Editor e, String key, Set<String> set) { ...
0
votes
0answers
20 views

CSipSimple Preferences or account marked as active

I am developing on CSipSimple because it's a great application, but I have a problem, I like to get the username or auth id from the account marked as active although the application allow to marked ...
2
votes
1answer
28 views

How do I make Eclipse set the preference “Refresh Automatically” by default?

I have an Eclipse application that suffers from the "out of sync" problem. This is solved by setting the "Refresh automatically" preference. As this will always be needed I would like to set this ...
0
votes
2answers
25 views

How to store Application Preferences in PHP?

For my site/application I would like to have something like "Application Preferences" that are during run-time stored in memory. These would be basically generic (rather long-term settings) that are ...
0
votes
2answers
25 views

How to save cropped image uri in shared Preference

I have selected an image and cropped it. But I want to save the cropped image uri in shared preference so that it can be showed later. I know how to save in shared preference, but the problem key is ...

1 2 3 4 5 61
15 30 50 per page