I'm developing one App, I will set future time to run some code through Alarmmanager.set(future time, work.class); When time reaches again my app will launch and trigger/run specified code as expected. But I do not want to launch my application, or user should not be notified about it. I used finish() in mainActivity. It closef the applications immediately after I set timer button. Finally I want my app should when I Press timer button. But When alarm triggers UI shouldn't be visible and user should not be notified.
