I'm trying to do this in my service, and it never makes any calls into
my app widget...

@Override
public void onStart(Intent intent, int startId) {
    super.onStart(intent, startId);

    Context context = (Context) this;
    String packageName = context.getPackageName();

    RemoteViews updateViews = new RemoteViews( packageName,
R.layout.appwidget);

    ComponentName thisWidget = new ComponentName(this,
MyAppWidgetProvider.class);

    AppWidgetManager manager = AppWidgetManager.getInstance(this);

    manager.updateAppWidget(thisWidget, updateViews);
}

On Oct 1, 3:10 pm, Paul Turchenko <paul.turche...@gmail.com> wrote:
> Just retrieve appwidgetprovider and use RemoteViews to do that
>
> On Oct 2, 12:19 am, sdphil <phil.pellouch...@gmail.com> wrote:
>
> > ping.  any thoughts?
>
> > On Sep 30, 7:01 pm, sdphil <phil.pellouch...@gmail.com> wrote:
>
> > > From a service that's running, how do I send an event or an intent to
> > > an app widget that is just sitting their idle...
>
> > > tia.
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to