[android-developers] Re: Thread started inside Service is killed?

2012-03-22 Thread svl
Thanks for the reply TreKing. Actually I now tried to use startForeground(). Notification icon is hanging in the bar, but whenever I send an intent to a Service it doesnt seem to receive it, does it mean its dead? On Mar 19, 6:30 am, TreKing wrote: > On Sun, Mar 18, 2012 at 3:44 PM, svl wr

[android-developers] Thread started inside Service is killed?

2012-03-18 Thread svl
Hi, I created a service to read information from the serial port. I start a thread that actually does all the reading from the serial port. It runs for about 10 minutes and then it just stops. No exceptions thrown, no errors on logcat. The question is - how i can make sure that the thread keeps r