To go along with that, you can't directly update the UI from a random thread, and you need to look into a Messenger, then do something like fill the buffer in one thread (perhaps an AsyncTask?) and then 'poke' the UI thread to update the view when you're done.
kris On Mon, Jan 16, 2012 at 1:32 PM, Ricardo Santos <[email protected]> wrote: > Why don't you make a thread that keeps checking for changes on the file, > than, if a change is detected, you can update all the data... Or, create a > button "update data now"... > > > On Fri, Jan 13, 2012 at 7:16 AM, Cheah Peng Huat <[email protected]> > wrote: >> >> I have a problem trying to get dynamic data from XML. I have written >> code to parse data from xml, but the data only update once when i >> execute the application. >> What i want is continuosly update of data. >> >> Can anyone help me on that? Thank you. >> >> -- >> 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 > > > -- > 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 -- 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

