I reviewed the link, which is excellent. I have successfully bound the activity to the service. I wrote all the binding into the activity and then wrote the following into the service:
private final IBinder mBinder = new LocalBinder(); @Override public IBinder onBind(Intent intent) { return mBinder; } However, I am not sure how to go about "grabbing" the data from activity for use in the service On Jun 9, 7:31 am, TreKing <treking...@gmail.com> wrote: > On Thu, Jun 9, 2011 at 9:19 AM, Ab Caballero <a...@mac.com> wrote: > > I need to send data from an activity to a persistently running GPS service > > and I'm not certain how to do this. > > http://developer.android.com/reference/android/app/Service.html#Local... > > --------------------------------------------------------------------------- > ---------------------- > 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 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