Wednesday, May 23, 2012

Re: [android-developers] AlarmManager doesn't start service

On Tue, May 15, 2012 at 7:24 AM, eMu <emad.easa@gmx.at> wrote:
I read smth. about the WAKE_LOCK and that my Service might not be
called anymore before the phone goes into sleep mode after the
broadcast receiver is being called. Can this be the reason?

Not sure, but first thing I notice is that you send a broadcast to start a BroadCastReceiver that does nothing but start a Service ... why don't you just create your PendingIntent to start the Service directly and avoid the runaround?

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate