Activity A is able to bind to service S and use the AIDL to make calls
from A to S.

Whats the best way for S to send a notice to A?

It seems there are three possible approaches:
1. AIDL for an activity (im not sure if thats possible), then S will
bind to A (when A is active).
2. send an android.os.Message from S to A
3. send an Intent from S to A

Any or all of these options might be invalid, I though I would ask
here before exploring each one.

if it helps to think in specific terms about this application: the
service gets GPS updates and records them. If the Activity is running
(its a MapActivity), the map should recenter when the service receives
a new update.

Don
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
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