This seems like a pretty straightforward of binding to the service and using a messenger..
http://developer.android.com/guide/topics/fundamentals/bound-services.html kris On Thu, Jan 19, 2012 at 9:59 PM, James Black <planiturth...@gmail.com> wrote: > My navigation program is all in an Activity, and now I need to have the part > that makes the determination where the user is. > > So, the activity will be in charge of drawing on the MapOverlay, but the > Service will be getting the location updates. > > How should the service inform the drawing activity of the current location > and the path? > > It would seem that the activity should probably just poll the service, so > that if there is no request for information then the service will just > quietly keep track of what is going on, and just put up a notification when > the user reaches their endpoint. > > But I am not certain if this is the best approach. > > Thank you. > > -- > "I know that you believe you understand what you think I said, but I'm not > sure you realize that what you heard is not what I meant." > - Robert McCloskey > > -- > 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 > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en