Ive had a similar problem where updateAppWidget does not cause an update. For me it is usually only the first time you install on the emulator (think most 2.0 versions do this, not 1.5, 1.6 does i think)
if you restart the emulator (without deleting installed widget) the upate will work. I have not been able to find out if this is an emulator issue or android issue. I have not found a code solution to this yet either. On Dec 29, 7:51 pm, Guy <guy.ta...@gmail.com> wrote: > forgot to mention: this code works on all other emulator skins. > > On Dec 28, 9:37 pm, Guy <guy.ta...@gmail.com> wrote: > > > Hi All, > > I've written a simplewidgetapplication based on the wikitionary > > code. > > > When run on an wvga854 emulator, thewidgetview does *not* update > > after a call to: > > > // Build thewidgetupdate for today > > RemoteViews updateViews = buildUpdate(this); > > > // Push update for thiswidgetto the home screen > > ComponentName thisWidget = new ComponentName(this, > > HebCalWidget.class); > > AppWidgetManager manager = AppWidgetManager.getInstance(this); > > manager.updateAppWidget(thisWidget, updateViews); > > > The code seems to be executed (i've checked through the debugger), and > > no exceptions are thrown, > > still, the AppWidget view does not seem to be updated. > > > Any ideas? > > -- 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en