<service android:name="com.example.service.MyService" android:enabled="true" android:process="system" />
Intent startIntent = new Intent(this, MyService.class); startIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startService(startIntent);
<service android:name="com.example.service.MyService" android:enabled="true" android:process="system" />
Intent startIntent = new Intent(this, MyService.class); startIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startService(startIntent);