Re: [android-developers] Notification and PendingIntents

2012-02-22 Thread TreKing
On Wed, Feb 22, 2012 at 4:46 AM, Haddi wrote: > I want to retain the state of this button when the activity is launched > http://developer.android.com/reference/android/content/SharedPreferences.html --

[android-developers] Notification and PendingIntents

2012-02-22 Thread Haddi
Hi Guys, I have a toggle button in my activity. I want to retain the state of this button when the activity is launched by clicking on the notification icon of the app. I tried using PendingIntent Flags, but it doesnt seem to work. The toggle button always seems to be set to default (off). -- Y