[android-developers] Re: Weird behavior on different device

2012-08-14 Thread f.Audire
Thanks for your help guys. I got this now. Something caused the bitmaps I am creating to become somehow too large, so it couldnt update some of the widgets and this did only happen on my Xperia P because of its big screen resolution which caused them to become even bigger. Thanks -- You recei

Re: [android-developers] Weird behavior on different device

2012-08-13 Thread f.Audire
are > > > On Mon, Aug 13, 2012 at 10:20 AM, f.Audire > > wrote: > >> Hello, >> I'm developing an appwidget that shows the current batterylevel, but I'm >> getting some weird behavior on one of my devices. >> I have an alarmanager running which

[android-developers] Weird behavior on different device

2012-08-13 Thread f.Audire
Hello, I'm developing an appwidget that shows the current batterylevel, but I'm getting some weird behavior on one of my devices. I have an alarmanager running which every now and then checks if the battery level changed. If the level changed I start a service to update all widgets. It works fin

Re: [android-developers] PendingIntent's arent unique

2012-08-07 Thread f.Audire
tOnClickPendingIntent(R.id.imageViewLayer,pi); > appWidgetManager.updateAppWidget(appWidgetIds[j], views); > } > > Now you'll be updating your widgets one by one, with each receiving its > own RemoteViews object, having its own pending intent. > > -- K > >

Re: [android-developers] PendingIntent's arent unique

2012-08-07 Thread f.Audire
I actually used to have it inside the loop, cant remember why I moved it out. But I put it back in and still no difference. Am Montag, 6. August 2012 23:34:16 UTC+2 schrieb Kostya Vasilyev: > > Move the call to appWidgetManager.updateAppWidget inside the loop. > > -- K > >

[android-developers] PendingIntent's arent unique

2012-08-06 Thread f.Audire
Hi, I dont understand why my PendingIntents arent unique. The toast in OnReceive always shows the Id of the last created Widget . @Override public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds){ super.onUpdate(context, appWidgetManager,