I want to know if all activities in an Android app are run in same thread or separate threads of their own?
All activities of one application all run on the same "main" thread, also called "UI-thread".
But you can change this behaviour by setting a process
attribute in the actvity tag in the manifest file. See http://developer.android.com/guide/topics/manifest/activity-element.html#proc
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With