> Thanks for the example, it cleared some things up. But i'm still trying to > find the right PendingIntent to attach, with no success, nothing happens. > I > made a service after the same model, and my line now looks like this: > rv.setOnClickPendingIntent(R.id.widgetLeft, PendingIntent > .getActivity(context, 0, new Intent(context, > WidgetService.class), 0)); > > Nothing in the service gets launched according to the debugger...
If nothing else, PendingIntent.getActivity() won't talk to a service. You probably want PendingIntent.getBroadcast(). -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

