Android, Detect when other apps are launched

后端 未结 7 1034
臣服心动
臣服心动 2020-11-22 02:41

I\'m trying to develop an app that prevents a user from getting to a specified app without a password. The scenario is...

  1. user clicks on \"Email\" app (for exa
相关标签:
7条回答
  • 2020-11-22 03:22

    I think and hope this is not possible. Consider how easily such functionality could be abused by malicious software. You can listen to intents directed at you, and those that are broadcast, but application launching should not be a broadcast event.

    What you may be able to do is replace the launcher. If the user agrees to it.

    0 讨论(0)
提交回复
热议问题