[android-developers] Re: Thread and ProgressDialog

2011-04-08 Thread Emanuel Moecklin
Unfortunately it's much more complicated that it looks like. Check out this thread: http://bit.ly/i5e9Eq Cheers Emanuel Moecklin On Apr 6, 12:45 am, SD315 wrote: > Hello, i'm trying to do some work in a thread while showing a progress > dialog until the work is done in the most simple possible w

Re: [android-developers] Re: Thread and ProgressDialog

2011-04-08 Thread Kapil Lokhande
Hi, you have to dissmiss progressdialog at the end of the method which you calling in thread bu using runonUIThread method. -- Thanks & Regards, Kapil Lokhande | Dexter Advisory Pvt. Ltd. | Android Developer [image: dexterlogo.jpg] On Fri, Apr 8, 2011 at 10:53 AM, pankaj p

Re: [android-developers] Re: Thread and ProgressDialog

2011-04-07 Thread pankaj pandey
Better suggestion, please use handler. Thanks On Fri, Apr 8, 2011 at 8:42 AM, TreKing wrote: > On Wed, Apr 6, 2011 at 10:10 PM, Kromosome wrote: > >> For starters you're still in the UI thread, your application is not multi >> threaded, try using a real thread >> > > What? Since when is a Threa

Re: [android-developers] Re: Thread and ProgressDialog

2011-04-07 Thread TreKing
On Wed, Apr 6, 2011 at 10:10 PM, Kromosome wrote: > For starters you're still in the UI thread, your application is not multi > threaded, try using a real thread > What? Since when is a Thread not a real thread? ---

[android-developers] Re: Thread and ProgressDialog

2011-04-07 Thread Kromosome
"Hello, I'm trying to do some work in a thread" For starters you're still in the UI thread, your application is not multi threaded, try using a real thread: http://developer.android.com/reference/android/os/AsyncTask.html This will most likely guide you as to when you can update a progress dialo