I am trying to develop simple app (service) which will start automatically on boot. With main activity is also created new service (I can see it in service task manager list). This service should be also created after rebooting my phone (Samsung Galaxy Ace with android 2.3.4) without laun...
class MyApplication : Application() { override fun onCreate() { super.onCreate() val receiver = ComponentName(this, MyService::class.java) val pm = packageManager pm.setComponentEnabledSetting( receiver, PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_...