Hi Use shared preference.
It is the easiest way to handle ur problem On Tue, Aug 3, 2010 at 12:25 PM, Paul Turchenko <[email protected]>wrote: > See ApiDemos for 2way service communication sample. > > On Aug 1, 11:29 pm, Rajesh Bachani <[email protected]> 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 [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > 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 [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

