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 devices http://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 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

