If you need it only once per run and can afford to throw it away and start
again from next time then simply increment a variable. Otherwise for
something like this SharedPreferences would do as well.

Thanks

On Fri, Aug 12, 2011 at 2:53 PM, Kristoffer <[email protected]>wrote:

> Hello.
>
> This is my first app made in eclipse (have worked with app inventor)
>
> This is a simple app where i have two buttons and a textview.
>
> one button will increase 1 to the number that shows in the textview
> and the other button will decrease with 1.
>
> So the question is whats the best way to handle the number that shows
> in the textView field?
>
> Is it over kill to use sqlite for this?
> should i save it in i file?
>
> --
> 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




-- 
--------------------
Raghav Sood
CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles
required to have complete control)
http://www.raghavsood.com/
https://market.android.com/developer?pub=Appaholics
http://www.appaholics.in/

-- 
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

Reply via email to