J
J
Julia2014-08-15 17:33:11
Android
Julia, 2014-08-15 17:33:11

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

1 answer(s)
O
one pavel, 2014-08-15
@YushkaD

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 question

Ask a Question

731 491 924 answers to any question