How can we prevent a Service from being killed by Android

@Override public void onDestroy() { super.onDestroy(); Intent forceIntent=new Intent(“net.pupli.monitoring.action.ForceRestart”); sendBroadcast(forceIntent); } @Override public void onTaskRemoved(Intent rootIntent) { super.onTaskRemoved(rootIntent); Intent forceIntent=new Intent(“net.pupli.monitoring.action.ForceRestart”); sendBroadcast(forceIntent); } public class […]

Continue reading »
1 2