Subject: [android-developers] Re: Notification and PendingIntents
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 <treking...@xxxxxxxxx> wrote:
> On Wed, Feb 22, 2012 at 4:46 AM, Haddi <pranavraul...@xxxxxxxxx> 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 android-developers@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
android-developers+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

(C)2011 mailinglist-archive.com