I won't argue that a setting in SharedPreferences won't work...

But at the same time, shouldn't it be possible to do this just with
the Intent itself? If you use the putExtra method on your intent and
add just a simple boolean that indicates that the button should be set
to on, I would think this would work. Did I miss something?

On Feb 22, 9:51 am, TreKing <[email protected]> wrote:
> On Wed, Feb 22, 2012 at 4:46 AM, Haddi <[email protected]> wrote:
> > I want to retain the state of this button when the activity is launched
>
> http://developer.android.com/reference/android/content/SharedPreferen...
>
> --------------------------------------------------------------------------- 
> ----------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

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