[android-developers] Re: Threading help!!

2009-02-24 Thread mark . kahrl
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

[android-developers] Re: Threading help!!

2009-02-23 Thread Charlie Collins
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

[android-developers] Re: Threading help!!

2009-02-23 Thread Marco Nelissen
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