Strange title, I know...
Is there a way to start an activity from a notification icon in the statusbar / tray bar without clicking the notification frist?
What I have:
A Service what starts at boot and show me my icon in the status bar. If I click on the icon I see my icon and the info text. I click again, then the transparent activity starts and show the system volume user interface to change the volume. It also starts a timer so the activitiy will be finished after 2 secods. Everything works fine, I can change the volume and nothing does lag or hang or block.
But it is really not a lot of fun to click twice to see the volume user interface. Is it possible to start the activity direct after the click on the status bar icon without showing the notification first?
Is there a way to start an activity from a notification icon in the statusbar / tray bar without clicking the notification frist?
What I have:
A Service what starts at boot and show me my icon in the status bar. If I click on the icon I see my icon and the info text. I click again, then the transparent activity starts and show the system volume user interface to change the volume. It also starts a timer so the activitiy will be finished after 2 secods. Everything works fine, I can change the volume and nothing does lag or hang or block.
But it is really not a lot of fun to click twice to see the volume user interface. Is it possible to start the activity direct after the click on the status bar icon without showing the notification first?