Reputation: 6466
Does every activity has a DVM instance or every apk has a DVM instance?
An apk can have multiple activities within it.
Upvotes: 0
Views: 671
Reputation: 5961
From What is Android on the dev site:
Every Android application runs in its own process, with its own instance of the Dalvik virtual machine.
So, each running application has it's own DVM instance and as you rightly say, that application may have multiple activities, but each of those activities will run in the Dalvik instance that started the application.
Upvotes: 4