On Jul 6, 1:35 pm, Mark Murphy <[email protected]> wrote:
> AIDL has a few huge advantages that may or may not be relevant to you:
>
> 1. You actually get return values.
>
The flow of the application is asynchronous, so i would have to poll
the service for updates in that case.
> 2. You don't need your service running to use AIDL -- the bind operation
> can auto-start the service if it is not already running.
>
I already do this. The first UI/Widget that starts will also start the
service if it is not already running.
> 3. If you use binding to implicitly start your service, Android will
> shut down the service when there is nothing else bound to it.
>
...and I don't want it to shut down because it will keep working even
after the user closes the UI.
// Erik
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---