I take that back I was using a prototype phone and that particular
call is not working as of now... Thats why I don't see the onDestroy()
being called after onDestroy().
In any case I'm still having issues with non prototype phone. HTC G1,
it calls onDestroy but under DDMS I can see that the Service is still
running... on way to make sure it dies is calling:
int pid = Process.myPid();
Process.killProcess(pid);
But for some reason that just seem a little to forceful?
Thanks for any advice!
-Moto!
On Jan 30, 9:11 pm, Moto <[email protected]> wrote:
> I'm trying to terminate a service from within it by using this.stopSelf
> (). I don't see it stopping and as I would expect calling the
> onDestroy() method...
>
> How can I terminate it it self? Just like activities when calling
> finish()?
>
> Thanks!
> -Moto!
--
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