Hi Mark,

I just tried to send you a reply in:

[email protected] <mailto:[email protected]>

But I'm not sure if the group is correct, I got an email back telling me I may not have the right to post.

Regards,
Simon

On 11/06/2011 9:52 PM, Mark Murphy wrote:
On Sat, Jun 11, 2011 at 4:47 PM, Simon Platten
<[email protected]>  wrote:
Yes the onReceive is certainly being called, which I discovered after adding
the Toast, but the call:

wpService.sendWakefulWork( context )

Doesn't appear to be working after a reboot...
That doesn't make much sense. All that does is grab a WakeLock and
call startService(). The code is less than 200 lines for the whole
WakefulIntentService -- sprinkle it with Log calls or breakpoints or
something and see what's happening.

Two BTW's:

1. I just uploaded a new edition of WakefulIntentService, correcting a
possible memory leak (I was creating the WakeLock using the Context
passed into onReceive() rather than the Application context)

2. For help with WakefulIntentService itself, I recommend the
[cw-android] Google Group, so we don't clutter up this list with
third-party stuff


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