Android Update Ui
Basically at the moment I'm showing a loading screen (loading.setVisibility(View.VISIBLE);) then loading some external data using a 'BufferedReader' and then hiding the loading scr
Solution 1:
You can't do this without using a background thread. There are a number of ways you can do this on Android, but the simplest is to use AsyncTask
It's worth reading Painless threading for more information on this.
Hope this helps,
Phil Lello
Solution 2:
I think, you should read about AsyncTask class in Android, then take a look this example: http://labs.makemachine.net/2010/05/android-asynctask-example/
Post a Comment for "Android Update Ui"