HI Abdula,

Did u find any solution. I'm also stuck up with the same problem.

regards,
Abdul Muyeed M

On Aug 23, 1:50 pm, Abdula <ivanmaxime...@gmail.com> wrote:
> Activity wich startedservicemust get obtained dataservicefor
> update ui.
> I think that the first options best suited. Please provide anexample
> for the first option. Thanks.
>
> On 21 авг, 21:01, Mark Murphy <mmur...@commonsware.com> wrote:
>
> > Abdula wrote:
> > > Needservicewich retrive data by http and then return them to
> > > activity for update list view. How i can do this. I don't know return
> > > retrived data.
>
> > You can:
>
> > -- have the activity register some sort of callback or listener object
> > with theservice, which theservicecalls when the data is loaded
>
> > -- use a message bus (http://github.com/commonsguy/cwac-bus/tree),
> > though my current implementation is overly complicated and needs a rewrite
>
> > -- broadcast an Intent and have the activity listen for the broadcast Intent
>
> > -- put the activity in a static public data member, though this is
> > dangerous, as it think it is more prone than the other techniques to
> > lead to memory leaks
>
> > --
> > Mark Murphy (a Commons 
> > Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> > Need help for your Android OSS project?http://wiki.andmob.org/hado
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to