On Sat, Jun 11, 2011 at 4:33 PM, Simon Platten
<[email protected]> wrote:
> Thank you, I've added a Toast to my wprotatorReciever onReceive routine and
> it is getting there, here is the code for that onReceive routine:
>
>    public void onReceive(Context context, Intent intent) {
>        Toast.makeText(context, "wprotatorReciever",
> Toast.LENGTH_SHORT).show();
>
>        wpService.sendWakefulWork( context );
>    }
>
> Although it is getting into the onReceive every 5 seconds, it is not
> performing the service...this is the same code that is scheduled when
> running normally and it works then but not after a reboot.

OK, I'm confused. You said that it's not running, but it is displaying
the Toast, which means it is running. Which is it?

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

-- 
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