dapaintballer331 wrote:
> After weeks of trying to get my service to run on boot & an interval
> via AlarmManager I finally found out the problem. Can anybody help me?
> 
> If my workspace is for sdk 1.5, the service NEVER RUNS ONCE.
> If my workspace is for sdk 1.0, USING THE 1.0 EMULATOR, NOT THE 1.5
> EMULATOR, it works perfectly.
> 
> Is this a known bug? Why is it only working on the old SDK? Is there
> an additional permission I need?

BOOT_COMPLETED events and AlarmManager definitely work on Android 1.5. I
have the code to prove it:

http://commonsware.com/AdvAndroid/

(click on Source Code, look in the ZIP file for the SystemServices/Alarm
project)

If you want, compare your implementation with mine, and report back what
difference you think may explain the behavior -- that would get us a lot
closer to determining if this is a "known bug".

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

Warescription: Three Android Books, Plus Updates, $35/Year

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