If I don't need AIDL, then my original question remains. I am just unsure how to send an object containing information from the local service to an activity its bound to. The Service documentation doesn't show how to send information from the service to an activity any way except using AIDL for remote services?
On Feb 7, 8:23 pm, Mark Murphy <[email protected]> wrote: > You do not need AIDL for a local service. > > > > > > > > > > On Mon, Feb 7, 2011 at 8:20 PM, Avtar Khalsa <[email protected]> wrote: > > Thanks for the reply. I did look over the service documentation, and > > its clear to me that I need to use AIDL to accomplish the type of > > communication I need. That said, I don't need the service to run with > > separate applications, so it should just be a local service. My > > confusion is really just over whether or not I can use AIDL to > > communicate with a local service, or if it is only for remote > > services? > > > Thanks again for any insight. > > > On Feb 6, 11:48 pm, TreKing <[email protected]> wrote: > >> On Sun, Feb 6, 2011 at 5:25 PM, Avtar Khalsa <[email protected]> wrote: > >> > I know it will require a binding, but since it is a local service, I am > >> > unsure if I should use AIDL, or something else. > > >> Have you reviewed the Service documentation? It's pretty detailed, with > >> some > >> samples on local and remote services. > > >> --------------------------------------------------------------------------- > >> ---------------------- > >> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > >> transit tracking app for Android-powered devices > > > -- > > 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 > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Android 2.3 Programming Books:http://commonsware.com/books -- 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

