I am having a similar issue, having my service monitor cell location
changes, but it stops logging them as soon as the power manager turns
everything off. I was just curious as to how the Phone app manages to
know that a call is coming through if the CPU is off? surely it must
have some way to "wake" it up? Does anyone know or have any idea's?

Liam

On 29 July, 10:32, Archana <[email protected]> wrote:
> I tried  in this way.but still not working
>
> On Jul 29, 12:46 pm, whitemice <[email protected]> wrote:
>
> > Maybe this is what you're looking for:
>
> > Its not clear from the documentation the difference between
> > startService() and bindService().  If you just bind to a service, the
> > service will be killed after your activity calls unbind.  If you call
> > startService(), then it will (more or less) keep running regardless.
>
> > It's very easy to leak services that way, which is a bug everybody
> > should be watching out for!
> > Mark
--~--~---------~--~----~------------~-------~--~----~
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