3

I've made an application that configure a vpn profile and connects to it. When I'm connected, I want just my notification to be shown, but android provides its own notification that is shown during the lifetime of a VPN connection.

Is there anyway to "delete" that notification, or, at least, to delete the corresponding icon from the top of the screen?

user1071138
  • 656
  • 3
  • 12
  • 30

1 Answers1

4

This is not possible on Android, sorry.

You cannot control notifications outside of your own app, regardless of whether they belong to another third party app or the system. Only your own notifications may be updated or dismissed by you.

Raghav Sood
  • 81,899
  • 22
  • 187
  • 195
  • So, I can imagine that I also cannot modify the message? – user1071138 May 08 '13 at 15:32
  • I've seen that sometimes the notification does not appear. I can imagine that the android system stores a sort of "flag" to remember that the user has accepted to use the VPN. Do you know where this part of the code could be found within the Android kernel? – user1071138 May 09 '13 at 21:49
  • So how Pushbullet let me dismiss notification from other apps? – Michał Tajchert Oct 08 '15 at 09:51