zer0stimulus
zer0stimulus

Reputation: 23616

Android: are external activities launched in a new process or current process?

When you launch an external activity (from another app), is the new activity loaded in the existing app's process or does Android spawn a new process corresponding to the other app?

Upvotes: 0

Views: 774

Answers (1)

Tim Kryger
Tim Kryger

Reputation: 11246

When you start an Activity that is part of another application, it will run in a different process. Depending upon the state of the system this might mean that a new process will be spawned to host the Activity or with some luck the necessary process is already alive and it will simply be sent a message to create the new instance of the requested Activity.

Upvotes: 2

Related Questions