User Cancel - ProgressDialog

by Matthew Patience » Tue, 20 Apr 2010 21:00:43 GMT

Sponsored Links
 I started an indeterminate progress dialog in my onCreate method and
then used ASync to download some info and display it to the user.
After that I dismissed the progressdialog. I don't if anyone else has
experienced this but sometimes the progress dialog is stuck in a loop
and it wont download any info. I can tell because the data arrows wont
move. The only way to cancel this is to click the Home or Search key.

I have never been able to figure out how to debug my applications but
I was rather wondering if this is a common problem or if there is a
simple fix.



User Cancel - ProgressDialog

by polyclefsoftware » Tue, 20 Apr 2010 21:10:53 GMT

 I believe if you use the following method, the back button should
dismiss the progress dialog, without closing the app:


On Apr 20, 8:00am, Matthew Patience <>


Sponsored Links

User Cancel - ProgressDialog

by Matthew Patience » Thu, 22 Apr 2010 01:00:50 GMT

 Works, thank you. The class documentation isn't all there for some
reason. Found a whole bunch of stuff in the code auto-completion in
Eclipse though.

> >

Other Threads

1. Live Wallpaper not Showing up on Market for Moto Droid w/ OTA 2.1

I am pulling out my hair trying to figure out what to do to get my
Live Wallpaper to show up on the Android Market for a Moto Droid with
the 2.1 OTA update.  It shows up and downloads just fine on Nexus One.

I can only think that it has something to do with the
AndroidManifest.xml file contents.  I tried all combinations for
<supports-screens> including not having it at all.  I tried including/
excluding the <uses-feature
android:name="" />.

I don't like releasing my app over and over trying to debug this.
Please help out if you can.

Here is the file for reference (in it's current state):
<?xml version="1.0" encoding="utf-8"?>


            <intent-filter android:priority="1">
android:name="android.service.wallpaper.WallpaperService" />
                android:resource="@xml/main" />

            android:exported="true" />


    <uses-sdk android:minSdkVersion="7" />
    <uses-permission android:name="android.permission.VIBRATE" />



2. Compile and port Android os in MS104-SH4AG board

Any English information, I cannot read japanese.

I've never worked with SH4, and I don't know if android stands for that

But anyway you can start here:,1001893


3. how to use jmdns

4. Broadcast receivers

5. Beginner Question: Is it possible to put each class into it's own java file in Eclispe?

6. Could anyone with an HTC Desire/Droid help me

7. Modify strings.xml dynamically