Did you find a solution to your issue? I think I am seeing weird
behavior with widgets too, but not constrained to a single skin.

I usually don't see updates on the emulator, except sometime. I always
see the updates on the devices I test with.

On Dec 31 2009, 3:14 am, Chopcsu <[email protected]> wrote:
> Also i have found that rotating the screen causes the update to become
> visible.
>
> In my app I start the update service , setwidgetto loading then do
> some http, when it comes back from http this is where it can not
> update thewidgetanymore. (calls update but change does not get
> reflected on the screen)
>
> On Dec 31, 1:11 pm, Chopcsu <[email protected]> wrote:
>
>
>
> > Ive had a similar problem where updateAppWidget does not cause an
> > update.
>
> > For me it is usually only the first time you install on theemulator
> > (think most 2.0 versions do this, not 1.5, 1.6 does i think)
>
> > if you restart theemulator(without deleting installedwidget) the
> > upate will work.
>
> > I have not been able to find out if this is anemulatorissue or
> > android issue.
>
> > I have not found a code solution to this yet either.
>
> > On Dec 29, 7:51 pm, Guy <[email protected]> wrote:
>
> > > forgot to mention: this code works on all otheremulatorskins.
>
> > > On Dec 28, 9:37 pm, Guy <[email protected]> wrote:
>
> > > > Hi All,
> > > > I've written a simplewidgetapplication based on the wikitionary
> > > > code.
>
> > > > When run on an wvga854emulator, 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 [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

Reply via email to