just wanted to tell that the service is started with alarmmanager using
setrepeating method. is this the reason for service not restarting ?

On Sun, Nov 22, 2009 at 2:03 PM, shahzad ahmad <[email protected]>wrote:

> I've put some debug prints in onCreate method but they are also not printed
> which means service is never restarted. Any help ?
>
>
> On Sun, Nov 22, 2009 at 1:53 PM, shahzad ahmad 
> <[email protected]>wrote:
>
>> Hi,
>>     I'm just investing how crashed services are restarted. I've developed
>> a simple service and use a taskkiller from market place to kill the
>> application. Following are the logs after application is killed
>>
>> "Uninstalling the process test.sys"
>> "Force removing process ProcessRecord{432d6ad0 252:test.sys/10041}
>> (test.sys/10041)"
>> "Scheduling restart of crashed service test.sys/.testservice in 5000ms"
>> "Sending signal. PID: 252 SIG: 9"
>>
>> But the service is never started. Can anybody tell why service is not
>> starting? Do i need to put any flag in manifest file for service restart to
>> work?
>>
>> Regards,
>> shaz
>>
>
>

-- 
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