-2

I want to know the process flow of android apps like i have an app in my device by which it blocks the apps in background. Eg - If the app is forbidding the whatsapp then there will not be any notification in the device untill and unless the app is opened by user.

I want to basic mechanism how the app is doing this as it blocks the apps and also disable data for that forbidden app.

  • you have to cancel notification as they arrive using Notification listener. or you can force stop whatsapp to disable notifications – Divyesh Patel Sep 16 '17 at 12:08

1 Answers1

0

You can not block notifications of any other Android Application or disable its background processes. You might be able to achieve that on a rooted device but that's something not appreciated.

Again if you want to disable data programmatically, you require a rooted device. You can read that here.

If you want to achieve Single-Purpose Device, read here.

Kartik Shandilya
  • 3,796
  • 5
  • 24
  • 42
  • Hi Novo, In my device there is an app named permissions and it shows for how many apps the Auto start is activated that means if the is forbidden in the Auto start the whatsapp messages will be received only when the app is opened. – Ashwani Chauhan Sep 18 '17 at 09:18