How to save a int in a android app for when the app is reopen -
when app running receives number(id) it's used notification.
i need save number when reopen application, number can retrieve, , application doesn't trow notification of same id.
any suggestions on how appreciated?
you can use sharedpreferences http://developer.android.com/reference/android/content/sharedpreferences.html saving data. saved data can retrieve sharedpreferences
Comments
Post a Comment