The java.util.prefs package provides a way for applications to store and retrieve user and system preference and configuration data.
Questions tagged [preferences]
1531 questions
0
votes
1 answer
Eclipse : no "Validation" pane in the preferences
I downloaded Eclipse Classic from http://www.eclipse.org/downloads/ and I just realized I had no Validation panel.
Is there a way to have one ? How ?
Thanks in advance.

Adrien Gorrell
- 1,291
- 3
- 14
- 28
0
votes
2 answers
how to save enabled state in android preferences
Hello I am writnig an Android app that has two preferences a checkbox and a preferencelist.
When the check box is marked as checked the preferencelist becomes enabled.
I have manage to save the checkbox "checked" status using putBoolean()…

reut
- 21
- 9
0
votes
3 answers
Algorithm for "recommend items" for a user who has some preferences tracked
Are there any well known algorithms for figuring out the "Recommended Items" that websites often use? On a new project, I'm currently tracking things they've viewed, purchased, searched on, favourited, etc. I am curious what the best way would be to…

egervari
- 22,372
- 32
- 121
- 175
0
votes
1 answer
Where is JSP template code in RAD
Anyone know where in Preferences in RAD is the boiler plate/template code that gets generated when a new "Web Page" JSP page is selected?
I can find the code template for java code, but not where the JSP stuff is.
I can also find the context menu…

bmw0128
- 13,470
- 24
- 68
- 116
0
votes
1 answer
run a function on main activity from preferences
I need suggestion as to what is the best way to achieve this:
I want to be able to run a function which requires access to my sqlite database by clicking on an option inside my preferences. I have been able to create a PreferenceFragment that…

Farzad Khalafi
- 301
- 1
- 8
0
votes
1 answer
Accessing object in referenced xaml file
I have a project (c#, wpf) and I'm referencing to a Lib that contains another xaml-file (other namespace of course).
Then I'm creating an object of a class defined in the Lib:
DialogStandard newWindow = new DialogStandard();
newWindow.Title = "my…

manton
- 541
- 1
- 6
- 26
0
votes
1 answer
Android SyncAccount / SyncAdapter add more options to account screen
How to add more options to sync account screen?
Ex. how frequently do sync like in evernotes account settings, etc..

Ken Shiro
- 712
- 10
- 18
0
votes
1 answer
Can I start a method from inside a preference?
Is it possible to start a method of a specific class from a preference instead of creating the object of the class?

Alex Styl
- 3,982
- 2
- 28
- 47
0
votes
1 answer
How to change the preferences so that each window displays something different?
I'm trying to override values of preferences, but nothing overrides.
Does anyone know how to fix this?
portlet.xml

abg
- 2,002
- 7
- 39
- 63
0
votes
2 answers
Cocoa: Binding to an array of NSStrings which are stored in the application's preferences
OK, I'm feeling really REALLY stupid for asking this question, but I've managed to stump myself so hard that I doubt I have the proper detachment to figure out the answer for myself any more. My apologies in advance...
I have been playing around…

Chronor
- 11
- 1
- 3
0
votes
1 answer
Is there a way to toggle the "use audio port for" preference with apple script on mac book pro
i wonder if there is a way to change the "use audio port for" setting on the sound preference pane in mac os x. this is a feature, which allows mac book pro users to use their audio jack for sound out- or input.
it's quite a bit annoying, if you…

nsiicm0
- 13
- 1
- 3
0
votes
1 answer
Liferay: How to obtain PortletPreferences object on portlet´s init()?
I have a portlet which is configured as preferences-commpany-wide, so same preferences are shared between everyone
Now I would like to put a default value on those preferences, so this code should be needed only first execution on whole lifecycle.…

Whimusical
- 6,401
- 11
- 62
- 105
0
votes
1 answer
SharedPreferences not saved if battery is taken out while in application or phone is shutdown unexpectly
My sharedpreferences doesn't get saved for example, a checkbox that is checked if my phone battery is taken out suddenly all of a sudden. Any idea how to get around this problem?

dythe
- 840
- 5
- 21
- 45
0
votes
1 answer
ActionBarSherlock Action Buttons Don't Do Anything When Pressed
I've come across a problem that I have searched and searched for a solution for, and cannot find one. I am trying to set up a Preference screen which is opened by an action button on an ActionBarSherlock action bar. The buttons appear on the action…

Matthieu Grieger
- 160
- 1
- 10
0
votes
3 answers
Toast for retrieving SharedPreferences returns empty value
I am trying to store the SIM Serial number as a value into the SharedPreferences but when i do a Toast to test for the value it is empty.
TelephonyManager tMgr=(TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
String ss =…

dythe
- 840
- 5
- 21
- 45