开发者

Is it possible in Android to open other App than the one you clicked on?

开发者 https://www.devze.com 2023-01-19 16:36 出处:网络
I am wondering if it is possible to intercept an open application 开发者_如何学Pythoncall, for any(most of the) installed application. Or at least for opening the Activity having the intent-filter\'s

I am wondering if it is possible to intercept an open application 开发者_如何学Pythoncall, for any(most of the) installed application. Or at least for opening the Activity having the intent-filter's action set to Main (if it exists for an app).


No, sorry, this is not possible. The startActivity() calls are targeted to specific components and cannot be intercepted. After all, this would be a massive security hole otherwise.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号