theactiveactor
theactiveactor

Reputation: 7554

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

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?

Upvotes: 1

Views: 1194

Answers (1)

CommonsWare
CommonsWare

Reputation: 1006674

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).

Upvotes: 2

Related Questions