Thanks, I'll give it a go.

What's with the (ick)? AlertDialog?

On 11 Oct, 22:08, Mark Murphy <[email protected]> wrote:
> Lee Jarvis wrote:
> > Hi guys, I have a small test application that simply grabs a URL from
> > an EditText box, before downloading the page source for the URL,
> > prompting the user to ask if it should display the contents, then
> > doing so, or returning state.
>
> > I would like to incorporate a ProgressDialog to appear whilst the GET
> > request is in action. I understand this would require threads, and I
> > have attempted to implement this, but to no avail. Could anyone assist
> > in this matter?
>
> Use AsyncTask. Open the ProgressDialog in onPreExecute() or before you
> start the AsyncTask. Do the HTTP request in doInBackground(). Remove the
> ProgressDialog and (ick) display your AlertDialog from onPostExecute().
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> _Android Programming Tutorials_ Version 1.0 Available!
--~--~---------~--~----~------------~-------~--~----~
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