At the moment I'm facing kind of a big problem. I am using a service to listen with the TelephonyManager for incoming calls in order to do something according to the incoming call. To be able to do this I have to rely on my running service. It is just sitting in the background doing nothing. I know that the right behaviour for this situation would be a BroadcastReceiver registered in the Manifest. But there is no brodcast sent for incoming calls. So I can't walk this way.
Is there a possibility to keep my service reliable alive? At the moment I'm just starting the service from my UI with "startService (..)". Later on I'm binding to my service. Most of the time the service is running fine in the background but in some rare situations the service gets killed by the system and is kept killed untill I restart it from my UI. Could someone tell me what to do in this case? I'm looking forward reading your answers. Regards! --~--~---------~--~----~------------~-------~--~----~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---