I have a public class that \'extends Service\' and this service is launched from an activity using startService(...). But after I use Advanced Task Killer, the service is ki
If you want to restart your service automatically after being killed by another process, you can use following constants in your service,
@Override
public int onStartCommand(Intent intent, int flags, int startId) {
return START_STICKY;
}
You can find more information on START_STICKY & START_NON_STICKY at,
START_STICKY and START_NOT_STICKY
Also please provide your code for more specific answer.