I have one activity which starts a service which intercepts text messages.
I would like the activity screen bringing to the foreground to display some information, in other words if the "program" is in the background, I would like it bringing into view without user intervention.
I could use kiosk mode to override everything else, but would prefer it to sit in the background hidden and only if given the correct command by sms become visible.
I initially searched for Notification Object and found the desolatesoul and bar-x advanced Notification Libraries. I could not find how to issue a B4A "core" or basic Notification... And how do I add a "notification" that requires a response from the user?
How do I declare Notification? Is it part of a library?
I initially searched for Notification Object and found the desolatesoul and bar-x advanced Notification Libraries. I could not find how to issue a B4A "core" or basic Notification
Dim Notification1 As Notification
Notification1.Initialize
Notification1.Icon="icon"
Notification1.Insistent=True
Notification1.SetInfo("Look and Look Again", "How could I miss it?", Main)
Notification1.Notify(1)
The Notification1.Insistent=True keeps beeping until user acks notification.