Tuesday, April 23, 2013

[android-developers] Android kills my Thread created by Service

I am developing a simple GPS tracker. But i have a problem. When starts the Service, i create a Thread that get de localization, time after time. The problem is after long time (about hours), the Thread is stoped. I dont know why.


How do i create a service/thread long time. I need that thread never stopped, or the service be recreated.

Anybody help me ?


Thanks.

--
--
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
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment