Answer the question
In order to leave comments, you need to log in
How to control the application from the status bar?
Hello!
The following question arose: is it possible to set the execution of a specific action, and not the opening of an activity, on a click in a notification on a view? More precisely, it is clear that it is possible (somehow the player control works), but I can’t figure out how to make any one action be performed. In the same player, the same new activity does not open if we press pause, but the action that pauses playback is triggered. How to implement this?
Answer the question
In order to leave comments, you need to log in
Learn to use google and docu documentation
developer.android.com/guide/topics/ui/notifiers/no
...
developer.android.com/reference/android/widget/Rem...
examples
stackoverflow.com/questions/19092559/perform -actio...
stackoverflow.com/questions/21911744/handle-three-...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question