final SharedPreferences prefs=PreferenceManager
.getDefaultSharedPreferences(this);
static String feedUrl = String.format("http://www.yourwebsite.com/android/objects/XML/AND.php?ID=%d", 22);
the "22" should be a int variable from the preferences.
I am saving the preferences correctly but can't concatenate the int with the below string.
Any help would be appreciated...
.getDefaultSharedPreferences(this);
static String feedUrl = String.format("http://www.yourwebsite.com/android/objects/XML/AND.php?ID=%d", 22);
the "22" should be a int variable from the preferences.
I am saving the preferences correctly but can't concatenate the int with the below string.
Any help would be appreciated...