Tuesday, May 31, 2011

[android-developers] Re: Network operation every half sec.

hello mahavir,

maybe you should try it at android device,
because in some case i found that emulator work slowly
i use eclipse + api 11 at ubuntu lucid

you can also try to check if your network connection

On May 29, 7:40 pm, Mahavir Jain <vir.j...@gmail.com> wrote:
> Anyone out there who had handled such type of scenarios previously?
> Regards,
> Mahavir
> On Sun, May 29, 2011 at 7:51 AM, Mahavir Jain <vir.j...@gmail.com> wrote:
> > Hi,
> > I want to make network operation in every half sec and depending on data, i
> > want to update the ListView continuously.
> > Following is my approach: Using thread and handler.postDelayed, it makes
> > the network request every sec and update only those views of the row in
> > ListView which needs to be updated. It does not update ListView using
> > notifyDatasetChanged().
> > Though it updates the UI, but it takes time in updating the UI. Is it
> > because, I am using emulator?
> > Is this the right approach for this scenario? Any other best approach for
> > this?
> > Anyone handled such scenarios previously?
> > Thanks in advance.
> > Regards,
> > Mahavir Jain

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
For more options, visit this group at

No comments:

Post a Comment