Android Service is terminated when App destroyed
问题 I'm trying to learn Android Service, I'm very noob. I'm creating a service which will run even after the app is destroyed but when I terminate the App, the Service gets terminated too. I'm trying to make a NotificationService, below is my code that I just tried working with Service. Manifest: <service android:name="com.test.testworks.MyService" /> Starting Service via Button Click: startService(new Intent(this, MyService.class)); Service class MyService.class : public class MyService extends