[android-developers] How to continously updating data from XML

2012-01-16 Thread Cheah Peng Huat
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

Re: [android-developers] How to continously updating data from XML

2012-01-16 Thread Ricardo Santos
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 cheahp...@hotmail.comwrote: I have a problem trying to get dynamic data

Re: [android-developers] How to continously updating data from XML

2012-01-16 Thread Kristopher Micinski
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