taking the values as sharedPrefernece and saving as String ///get date
SharedPreferences shareddate = this.getSharedPreferences("DateInUpcoming", 0);
selectedDate = (shareddate.getString("DateInUpcoming", null));
Log.d("SharedPreference", "DateInUpcoming is "+selectedDate);
Adding double quotes to the string values:
char ch='"';
String value = (ch + selectedDate + ch);
Log.d("SharedPreference",""+value);
The image is also attached from logcat
Any help would be appreciated. This is the result