Android Question Closing dropdown notification window from code

tigrot

Well-Known Member
Licensed User
Longtime User
Hi everybody,
I select a choice from notification in the dropdownlist. I do a cancel then the notification disappeares. But the drop down window doesn't. How can I hide it and show my activity again?

Thank you
Mauro
 

Ohanian

Active Member
Licensed User
Longtime User
Hi,

Maybe you need this :

B4X:
Dim i As Intent
            i.Initialize("android.intent.action.CLOSE_SYSTEM_DIALOGS", "")
            Dim p As Phone
            p.SendBroadcastIntent(i)
 
Upvote 0
Top