Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

test: Reply
LinkBack Thread Tools
Old November 15th, 2012, 11:15 PM   #1 (permalink)
New Member
Thread Author (OP)
Join Date: Aug 2010
Posts: 3
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Android : Developing a Loading Bar after Confirm Dialog Click

Hi All,
  1. I am developing a utility and facing an issue.
  2. The following describes what i intend to achieve:
  3. User will click on "Submit"Button.
  4. User will be prompted a confirm dialog box.
  5. On "No" , it will return.
  6. "Yes" click will take it to a method which does some processing.
  7. As processing can take sometime, i want to show loading bar after user clicks "Yes" in confirm dialog box.
  8. However, When i click "Yes"; the dialog box remains there and i can't see th progress bar.

Request you to please help me with this.

tarun.trehan is offline  
Reply With Quote
sponsored links
Old November 17th, 2012, 05:28 PM   #2 (permalink)
Senior Member
jonbonazza's Avatar
Join Date: Jul 2010
Gender: Male
Posts: 1,935
Device(s): Nexus 4, Samsung Galaxy S II, HTC Evo 4G, Amazon Kindle Fire
Carrier: ATT

Thanks: 235
Thanked 482 Times in 294 Posts

When the "yes" button is clicked, you need to dispose of the dialog, before the progress bar is shown.

EDIT: Moved to main Android App Dev forums.
My blog, Inverted Keystrokes, is looking for aspiring developers (not necessarily with Android) to post articles. If you have any development experience and are interested in participating, please PM me. =)
jonbonazza is offline  
Last edited by jonbonazza; November 17th, 2012 at 05:32 PM.
Reply With Quote

Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT -5. The time now is 03:21 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.