How do I detect tap on Android notification ?

67 views
Skip to first unread message

kivy user

unread,
Jun 17, 2021, 4:40:19 AM6/17/21
to Kivy users support
I've been trying to find useful resource on how can I detect and change
callback on Android notification. By default tap opens the app
but I'd like to learn how to get the app to do something else.

I'm thinking of giving user more actions to take from the notification
pop-up. Giving the option to take certain action without having to
open the app.


but there's no mention about how to accomplish this.

Thank you in advance for feedback.

Robert

unread,
Jun 17, 2021, 1:52:36 PM6/17/21
to Kivy users support
Never tried to do this, but....

Android owns the notification screen area, so the place to look is the Android documentation.
suggests looking at NotificationManager and Notification.Builder

A quick search found:
Which looks like you can use that to start an Intent to send a message.......
Reply all
Reply to author
Forward
0 new messages