Is it possible to programm an app that runs in the background and get the information when you open an app, checks if its a special app (f.ex. youtube) and then get a popup/ push? Or does this already exists?
Asked
Active
Viewed 28 times
0
-
You better create a LauncherApp and handle if the user click in any installed application trough it. Else you may be looking for BroadcastReceiver if there's any broadcast for 3rd apps launches – Marcos Vasconcelos Jun 28 '18 at 20:34
-
BUT... the broadcastreceiver solution wouldnt enable you to block a application from being launched anyway while the LauncherApp (that the user would use as a HomeLauncher) can – Marcos Vasconcelos Jun 28 '18 at 20:34
-
See this answer. https://stackoverflow.com/questions/3290936/android-detect-when-other-apps-are-launched – Mean Coder Jun 28 '18 at 20:37