Try a using a handler thread such as:
Handler handler = new Handler(getMainLooper());
handler.post(new thread(this));
On Feb 22, 5:10 pm, Gray wrote:
> I am developing an application on the Android Platform for my music
> service (axcid.org)..
>
> Haven't spent a huge amount of time in Ja
Alternatively, you may want to use Message and Handler to do your non
UI Thread work. There are quite a few examples out there about this.
An excellent item that covers it (and deals with some other common
issues) is Eric Burke's common thread bug article:
http://www.ociweb.com/jnb/jnbJan2009.html
Have a look at Activity.runOnUiThread()
On Sun, Feb 22, 2009 at 5:10 PM, Gray wrote:
>
> I am developing an application on the Android Platform for my music
> service (axcid.org)..
>
> Haven't spent a huge amount of time in Java but could use a bit of
> help with this code:
> http://pastebin.com
3 matches
Mail list logo