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.

Thanks

--



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:

progressDialog.setCancelable(true);

On Apr 20, 8:00am, Matthew Patience <matthewj.patie...@gmail.com>


>


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. porting android to OMAP 3530 with Torpedo SOM

I have support for the LogicPD Torpedo and SOM LV DevKits based on the
Rowboat release and will be publishing my changes shortly..will send
an email to this and the Rowboat mailing list for interested parties..

Regards
-- Ashwin










> website: 

2. Making a clickable LinearLayout change color on click?

> but this will just override the shape background definition I supplied

That's exactly what you have to do!

> 

3. tanya settingan kartu halo & GMAIL di spica

4. Problem with decodeByteArray

5. Handling multiple resource trees

6. Update status via Facebook for Android

7. Help ! Urgent