Use a Messenger passed over via an Intent extra to the service. Or a PendingIntent passed over via an Intent extra to the service, such as the one returned by createPendingResult(). Or broadcast an Intent that is picked up by a BroadcastReceiver registered by your activity.
On Tue, Nov 1, 2011 at 4:24 AM, Firzan Gulam <[email protected]> wrote: > hi friends...!!! > my application consist a A activity[activity consist a one ListView] > and S service, the working of service is to get the data from a remote > server database in a String format. > > now my problem is how i retrieve String from Service to Activity??? > plz plz help me ...!!! > > > :sad: > > -- > 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 > -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 4.0 Available! -- 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

