Please Help! I wish, my app show a notification with some buttons even I don't using the app

I wish, my app show a notification with some buttons even I don’t using the app

Ex : I have installed a flashlight app from play store but I never open that app to turn flashlight on because it allow me to turn on and off from notification bar. Every time when I restart my phone that flashlight on/off feature automatically comes with notification bar.

Exactly same, what I want to do in my app, SoundSensor on/off feature on notification bar… please help me

Right know is not possible because makeroid apps can’t run in background and notification component doesn’t have events