See ApiDemos for 2way service communication sample. On Aug 1, 11:29 pm, Rajesh Bachani <rajesh.bach...@gmail.com> wrote: > Hello friends! > > I am trying to explore how information can be exchanged between > activities and services. > So, if we have Activity A and a Service S is started from A, using the > startService() method - is there a way to pass parameters to the > Service - and also receive values from the Service into the Activity > once the stopService() method is called? > > I am using Intent to start the service, as one would expect. > > And further what is the advantage of calling the onBind method, as > opposed to the onStart(). > > Thanks, > Rajesh.
-- 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