By the way, you can see a better view of this code on
http://www.anddev.org/progressdialog_re_use_or_multiple_display_not_working-t13169.html

On Apr 19, 3:59 pm, "~ TreKing" <[email protected]> wrote:
> On Mon, Apr 19, 2010 at 3:10 AM, tripy <[email protected]> wrote:
> > Can anyone explain me what is wrong with my code?
>
> That's a lot of code to wade through and it's not formatted well at all in
> this email so I only quickly skimmed. Nothing obviously wrong, AFAICT, but
> some suggestions:
>
> 1 - Don't use getApplicationContext() (it's in a comment, that's probably
> why you had an exception)
> 2 - Trying using an AsyncTask for your background work
> 3 - Try using showDialog() and dismissDialog() in Activity instead of doing
> so on the Dialog instance itself
>
> Hope that helps.
>
> -------------------------------------------------------------------------------------------------
> TreKing - Chicago transit tracking app for Android-powered 
> deviceshttp://sites.google.com/site/rezmobileapps/treking
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow 
> athttp://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group 
> athttp://groups.google.com/group/android-beginners?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to