How to implement the "broadcast from service to activity"? It is too abstract concept for me, is there any tutorial or sample code?
On Nov 11, 2:36 pm, Filip Havlicek <[email protected]> wrote: > Hi, > > there are more ways to do this, one of them might be sending a broadcast > from service to activity with string in broadcast's intent as an extra. > > Best regards, > Filip Havlicek > > 2010/11/11 xi developer <[email protected]> > > > > > > > > > I am new in Android . I encounter the following situation, > > > I have a background running service, which will get a keep-updating > > string from a webpage, I need to show this keep-updating string in my > > UI through Activity, since this string is get from service, I am > > wondering, How can the service pass the string to Activity so that > > activity can render the string on UI. Anyone can help? > > > -- > > 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%2Bunsubs > > [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

