Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
ianstrain
Posts: 62
Registered: ‎07-15-2008

GaugeField showing an indefinite time

Is it possible to display the gaugeField having an indefinite progress like the Gauge class in MIDP?

 

e.g.

 

Gauge gauge = new Gauge( null, false, Gauge.INDEFINITE, Gauge.CONTINUOUS_RUNNING );

 

This will display an hour glass when used in a MIDlet on a blackberry device.

Please use plain text.
Administrator
MSohm
Posts: 14,065
Registered: ‎07-09-2008
My Carrier: Bell

Re: GaugeField showing an indefinite time

You can create a thread that modifies the GaugeField's value (progress).  This can allow you to keep filling the progress bar.

 

The thread could loop, sleeping an then updating the value.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.