On Wed, Sep 8, 2010 at 8:12 PM, lloyd1949 <[email protected]>wrote:

> Could someone please point out where I am going wrong?


You're executing long-running processes in the main thread (onCreate) which
don't return control to the main (UI) thread to allow it to show your
progress dialog until it's too late. Look into AsyncTask.

Also, the "mCtx = this;" is rather pointless. You're keeping a reference to
yourself - which is exactly what "this" is.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to