[android-developers] Re: Creating a dialog with progressbar
On Sunday, August 19, 2012 6:44:23 AM UTC+5:30, bob wrote:
ProgressDialog progressDialog = new ProgressDialog(this);
progressDialog.
setProgressStyle( ProgressDialog.STYLE_ HORIZONTAL );progressDialog.setMax(PROGRESS
_MAX );progressDialog.setMessage("Put your message here");
progressDialog.setCancelable(f
alse );progressDialog.
incrementProgressBy(PROGRESS_ INCREMENT );
On Saturday, August 18, 2012 12:07:58 PM UTC-5, |-NK-| wrote:
On Friday, August 17, 2012 7:20:39 PM UTC+5:30, bob wrote:Maybe like this:ProgressDialog dialog = ProgressDialog.show(this, "Your Title", "Put your message here", true);
On Friday, August 17, 2012 4:02:51 AM UTC-5, |-NK-| wrote:Hi,I am developing an application in which on one screen I need to call some funcations that does some calculations and sends results at particular interval.In between I need to show a progress bar that keeps on running untill I get the final calculated result.Once I get the result I am navigating to another screen.Now what I need is that the progressbar should appear in another window which will act as modal window and should appear above my screen.Is that possible?Thanks.Hi bob,thanks for the help.I tried this way, however I want to know whether we can set various parameters such as the current progress value to 0, or minvalue, maxvalue before calling show.Thanks.
Hi ,
Thanks for the help that worked....
-- You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home