I am having three classes namely MainActivity
,Timer_Service
which extends service and LockedActivity
which has an Activity. Now I want to use an intent like this
Intent intent = new Intent(MainActivity.this, Timer_Service.class);
startActivity(intent);
I expect it to work, but it's not working.