How does this address the OP's issue? The invisible widget will still continue to receive updates and consume resources. Tom.
2009/5/26 AndroidApp <[email protected]> > > This is what I am doing, it doesnt fix the problem but it mitigates > it: > > Dont bother having a configure activity, remove that from the widget > xml config file. This always add the widget to the screen without > configuring it. Then onUpdate in your widget, start a service to > perform update, in your service before you push out update, first > check whether the widget you are updating has been initialized, if it > has not been initialized, start the configure activity on the service > > On May 26, 9:49 am, Tom Gibara <[email protected]> wrote: > > I don't have a workaround, but I can confirm that the widget I'm > developing > > exhibits the same problem; it seems to get added to the AppWidgetHost, > > continues to receive updates, but is never displayed to the user. > > Tom. > > > > 2009/5/26 AndroidApp <[email protected]> > > > > > > > > > Bump, anyone? > > > > > On May 22, 9:28 pm, zl25drexel <[email protected]> wrote: > > > > Dear google guys, > > > > > > the widget framework (or the Home app) has a pretty bad bug: > > > > - install ApiDemo > > > > - long press screen/widget/ApiDemo > > > > - *CHANGE ORIENTATION* > > > > - then without changing orientation back, click ok to create the > > > > widget > > > > > > the widget will not show up, did some debugging it looks like the > > > > widget is added to the widget service but it's just not shown on the > > > > Home screen, so if a widget has a config activity and the user > happens > > > > to change orientation during widget config time (very common if > widget > > > > has text boxes), the widget will become a garbage that just take up > > > > resources until user uninstall the widget app. even worse, if the > > > > widget does heavy background service to update, it will be wasting > > > > time updating a widget that is not visible > > > > > > Does anyone know a work around? > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

