[android-developers] Re: Widget(s) and Pending intent

2009-05-22 Thread Alexey Volovoy
Yeah i'm have this code , but i do need extras. On May 22, 2:07 pm, snctln wrote: > I have been wrestling with this problem too, and not quite figured it > out but I remember reading something that Jeff Sharkey said about > widget pending intents not being able to store extras properly or > som

[android-developers] Re: Widget(s) and Pending intent

2009-05-22 Thread Alexey Volovoy
I've changed the call to PendingIntent pending = PendingIntent.getActivity(context, appWidgetId, intent, PendingIntent.FLAG_UPDATE_CURRENT); Now everything is cool except based on discussions i'm not sure how reliable it'll be . ( Doc says it's not supported yet ) On May 22, 2:01 pm, EboMike wr

[android-developers] Re: Widget(s) and Pending intent

2009-05-22 Thread snctln
I have been wrestling with this problem too, and not quite figured it out but I remember reading something that Jeff Sharkey said about widget pending intents not being able to store extras properly or something, but they do store uris properly... like you can see in the sky source http://code.go

[android-developers] Re: Widget(s) and Pending intent

2009-05-22 Thread EboMike
There are several discussions about PendingIntents in this group, they're a bit confusing at first because the system identifies them only by action and data, not extras, so multiple PendingIntents with the same action and data are considered the same. You need to make them unique, either by havi

[android-developers] Re: Widget(s) and Pending intent

2009-05-22 Thread Alexey Volovoy
Then i've tried PendingIntent.FLAG_UPDATE_CURRENT i'm no longer crashing, but it always launches the activity with extras were put in the widget that was updated the last. It looks like pending intent is shared among my widget instances . Anyway to avoid that ? On May 22, 12:36 pm, Alexey wrote