开发者

Android: How to launch external activity in current activity's process?

开发者 https://www.devze.com 2023-01-13 15:57 出处:网络
My app is开发者_如何转开发 comprised of a set of reusable Activities that other apps can reuse. For various reasons, I would like my Activities to be launched in context of the invoking Activity\'s pr

My app is开发者_如何转开发 comprised of a set of reusable Activities that other apps can reuse. For various reasons, I would like my Activities to be launched in context of the invoking Activity's process, instead of always being launched in my Activity's process (default behavior on Android). How can I achieve this?


How can I achieve this?

Android does not support this, for security reasons (e.g., your code gets to delete that app's data, your code gets to exploit that app's permissions).

0

精彩评论

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