B4A Question Get all the keys/values from a StatusBarNotification - cheveguerra    Nov 3, 2022 keys from the object:
Sub Listener_NotificationPosted (SBN As StatusBarNotification)
LogColor..., like pkg, tag, key, shortcut, groupKey, etc:
(StatusBarNotification) StatusBarNotification(pkg...=0x0 color=0xff008069 category=msg vis=PRIVATE)))
Since the StatusBarNotification object... B4A Question [SOLVED] Reading StatusBarNotification's extras - lemonisdead    Mar 8, 2016 from the NotificationListener example :
Sub Listener_NotificationPosted (SBN As StatusBarNotification)
Log("NotificationPosted, package = " & SBN.PackageName & ", id = "...=android.app.Notification$BigTextStyle, android.showChronometer=false, android.icon=2130837792... p.SdkVersion >= 19 Then
Dim jno As JavaObject = SBN.Notification
Dim extras... B4A Question Is it possible to save or serialize a StatusBarNotification object?? - cheveguerra (first post)    May 28, 2022
I discovered a way to save a notification object to reuse it to send a message again so I still have to add the library. but soon I will bring news
That would be great, it would open some good... B4A Question Object should first be initialized (StatusBarNotification) - Neojoy (first post)    May 12, 2021   (1 reaction)
Post the code in Listener_NotificationPosted.
I think that I find out what is wrong
Sub Listener_NotificationPosted (SBN As StatusBarNotification)
Dim jno As JavaObject = SBN.Notification..., Null)
I was trying to get SBN.Notification before check if SBN was initialized, correct?... B4A Question How to convert a sbn.notification to save do a database (as string?) and revert it back to a notification - aeric (first post)    Jul 30, 2025 Are you referring to StatusBarNotification? Maybe this thread helps: https://www.b4x.com/android/forum/threads/get-all-the-keys-values-from-a-statusbarnotification.143922/... B4A Question Save notification to database and retrieve it - Chicao99    Aug 14, 2025 Hi, I'd like to save a notification (StatusBarNotification.Notification) on a SQLite database and retrieve is few minutes later, but it's not working as I can only save and retrieve strings, any method to do this?... B4A Tutorial NotificationListener library implementation tutorial - Erel    Dec 15, 2013   (4 reactions) : private Intent createIntent(String event, StatusBarNotification sbn) throws ClassNotFoundException... example: @Override public void onNotificationRemoved(StatusBarNotification arg0...("event"); StatusBarNotification sbn = StartingIntent.getObject().getParcelableExtra...)) { StatusBarNotification sbn = intent.getParcelableExtra("sbn"); cancelNotification(sbn... StatusBarNotificationWrapper(), sbn)); } else if (event.equals("removed"... B4A Question Cannot cancel notification - catyinwong    Jul 9, 2023 I am writing to use notification listener to read whatsapp notifications and cancel it after read. but it does not cancel the notification (no action done). Sub Listener_NotificationPosted (SBN As StatusBarNotification) 'do sth to handle msg 'cancel notification after read SBN.notification.cancel(SBN.id) End Sub... Java Question How to create library that extends Service and has Abstract Public Methods - barx    Aug 4, 2013 this.
As a side note the .getActiveNotifications method returns an array of type StatusBarNotification...OK, I'm having a look at creating a library for the new notification feature found in Android 4.3. NotificationListenerService. Obviously, being brand new there isn't much info about for... B4A Question Notification Service - berndm2    Aug 19, 2021 How can I use the NotificationService to display or process all current entries? How do I have to call the notification_listener (sbn As StatusBarNotification)? Unfortunately I haven't had any success so far. Many thanks for the help... Page: 1   2   3   4   5   6   7   |