ProgressDialog progressDialog = new ProgressDialog(this);
progressDialog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
progressDialog.setMax(PROGRESS_MAX);
progressDialog.setMessage("Put your message here");
progressDialog.setCancelable(false);
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.
>
>
>
>
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en