1

Setting User Preferences in Android

view story
linux-howto

http://stackoverflow.com – I'm using Xamarin and starting the process of converting an iOS app into an Android app and I've hit a snag with retrieving and setting preferences. In iOS I'd just get a NSUserDefaults by using NSUserDefaults.StandardUserDefaults and then I could get a bool with BoolForKey and set it with SetBool. However, I can't quite find equivalents with Android. In Android I setup a Preferences.xml file like this: <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> <CheckBoxPreference android:key="pref_myPref" android:title="My Bool Pref" android:summar (HowTos)