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. Emma code coverage for UI events on device


I would like to measure the code coverage for the UI application
without using JUnit test cases. Is there any way that we can capture
the report for the user key events on the application which is running
on device.

Android user.


2. FourCC code for PixelFormat YCbCr_422_SP?


Does anyone know what is the FourCC code for the PixelFormat
YCbCr_422_SP (16)? Or any document that describes this format? Android
Documentation (
PixelFormat.html) doesn't really specify much about this particular

Thanks in advance


3. Good Cannels to Generate Larger Revenue

4. about late resume, when PowerManagerService write on to /sys/power/state to call late resume

5. App released but only tested using the emulator. Could you please test it to me?

6. how to read database of one application in another application using contentproviders

7. Build.MODEL and Build.PRODUCT usage