Is it possible to prevent notifications to other apps on your device?

Asked

Viewed 44 times

1

I’m setting up my CBT. It is possible to implement in my app, a blocker of other apps so that it does not receive notification while you are using my app?

A basic example of how can I portray this would be when you turn off your wi-fi from your mobile phone and is without internet, you do not receive notification of anything, as Facebook, Instagram and app as online games. So I want to have a way of being with the internet on and the notifications of these other apps that I’ve listed there not being notified while using my app.

Only my app has internet because you will have to search inside it.

If possible, how? I just need a direction no more.

  • Put the app on full screen would not answer what you want?

  • Did the answer solve your question? Do you think you can accept it? See [tour] if you don’t know how you do it. This would help a lot to indicate that the solution was useful for you. You can also vote on any question or answer you find useful on the entire site (when you have 15 points).

1 answer

1

Under normal conditions this is not possible, it would be a tremendous security breach.

If the user use some technique that subverts the operating system to let your application do this, then anything is possible, but who would do such a nonsense? Obviously this application would not be in a store.

This in another language, Javascript is even less possible. Only I do not say that it is impossible because at the moment it is done some trickery in the operating system can give the ability of JS to do this, but in practice no one will do it.

  • I go beyond. On Android, I believe to allow this do not just do root on the device. It would be necessary to write a new distro of Android. Already on iOS, it is not possible at all and ended.

  • @Renan do not know if so much, but I agree with the basis of what you are saying. has to do the root, and change some things, in the root, is that without the root nor these changes can make. This change will probably affect something, as you can do in desktop Oses that usually give you the freedom to do anything if you have administrator privilege.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.