I saw that, and initially thought it could help me. However, the local
service example and the class you specifically referred to only seem
to accommodate messages from the service onServiceConnected and
onServiceDisconnected. This does not really help me since my activity
will be launching the service and then will need the service to notify
it once the information from my server has been successfully
downloaded. I don't see anything other than AIDL that will let the
service inform the activity that it is ready to send an object
containing information from the server. Am I reading the documentation
incorrectly?


On Feb 7, 9:19 pm, TreKing <[email protected]> wrote:
> On Mon, Feb 7, 2011 at 7:52 PM, Avtar Khalsa <[email protected]> wrote:
> > 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.
>
> Look at the Local Service example in the docs again. Specifically this
> class:http://developer.android.com/reference/android/content/ServiceConnect...
>
> > The Service documentation doesn't show how to send information from the
> > service to an activity any way except using AIDL for remote services?
>
> Not explicitly, no, but it shows you how to get at the running Service,
> through which you can get and set data as required.
>
> --------------------------------------------------------------------------- 
> ----------------------
> 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

Reply via email to