dataPicker shared preferences code example
Example: dataPicker shared preferences
DatePicker dp; //Where does this come from? You tell me.
Date d = new Date(dp.getYear(), dp.getMonth(), dp.getDay());
SharedPreferences Prefs = PreferenceManager.getDefaultSharedPreferences(Ctxt);
Prefs.edit().putLong("Birthday", d.getTime()).commit();