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

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -