Derek wrote:
> I've implemented it and I got the crash report from the end user. See
> details below.
> The error report is VerifyError when the broadcastReceiver tries to
> start the WakefulIntentService.
> It happens on Cupcake/Samsumg. I've tested under emulator with 1.5
> (minSDK=3) and it works perfect.
> It seems that a WakefulIntentService field or class is not valid. What
> could be the problem ?
> The service was working before without extending WakefulIntentService
> under the same device.

Well, WakefulIntentService has a static data member for a WakeLock, but
that's about it.

First, make sure you're using a fairly recent version of
WakefulIntentService -- if you had to override doWakefulWork(), that's
recent enough.

Also, what period are you using for the AlarmManager? I can try to
reproduce the problem on other 1.5 equipment I have here in my Secret
Mountain Lair.

Also also, your earlier post mentioned you were also getting it on 2.1.
Let me know if you get a crash report for it.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | 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 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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to