Can an application's Service ever run in a different process?
Posted
by kpdvx
on Stack Overflow
See other posts from Stack Overflow
or by kpdvx
Published on 2010-04-26T19:40:30Z
Indexed on
2010/04/26
19:43 UTC
Read the original article
Hit count: 212
android
If an application begins a Service
via bindService
or startService
, will this Service object ever run from a process different from that of the application?
I ask because many Android example projects begin a service and communicate to them using IPC which seems wholly unnecessary considering that, according to the Android Service
documentation, "... services, like other application objects, run in the main thread of their hosting process."
IPC, AIDL, and the IBinder
interface only seem useful if connecting to a Service
started by an application other than your own.
Is this a correct or fair understanding?
© Stack Overflow or respective owner