I want to create a bound service for my app and would like it to be available for a widget to use in the future should i decide to create one. In order to decide whether to use a Messenger or extend Binder i need to know whether a widget and its corresponding app run in the same process?
Yes. Unless you specify otherwise in the manifest (using android:process="..."
), all components of an application (widget providers, services, activities, broadcast receivers) run in the same process, use the same Virtual Machine and run in the same memory space.
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