Thanks for this quick reply :) If I use SharedPreferences, where it will make a file for me which has my variables? Or if it won't, how it is know if it has another variable than 0 in the previous version of the program?
On jan. 6, 20:40, Mark Murphy <[email protected]> wrote: > On Fri, Jan 6, 2012 at 3:37 PM, Zwiebel <[email protected]> wrote: > > How I can save my variables in my program, to keep their data, after > > when the user update it from the market to a new version? > > Use a file, whether that be a SQLite database, SharedPreferences, or > something of your own design. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Android Training in NYC:http://marakana.com/training/android/ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

