Hi All,

I'm starting to write an app that will periodically poll an HTTP
resource and use the data to update a View. My initial thought process
on how this will work is that on application startup, my activity will
spawn a worker thread that will maintain an object model of the data
and update it as necessary. Ideally this thread would publish back to
the UI thread that the data has changed and the UI thread would read
the object model and update the view. I'm not too familiar with
Android's architecture to support threading and messaging between
threads, so I was wondering if there was a good up to date tutorial
etc. that someone could point me to.

Thanks,

Dave

ps. In the past I've used AsyncTask but i don't think it will meet my
requirements as the UI thread would need to maintain a timer to kick
off an AsyncTask. Ideally I'd like to isolate these two parts of the
application as much as possible.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to