When I execute the following code:
Preferences.userRoot().nodeExists(strNodeName);
I get an exception :
java.util.prefs.BackingStoreException: Cannot get children names for User Preference Node: /!
Any idea ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For storing user preferences, you’ll want to use android.content.SharedPreferences. A good article describing how to use it can be found here and the ApiDemos sample app has a demo as well.