Archived:Gauge doesnt work in Alert as a progress indicator on S60 2nd Edition (Known Issue)
Archived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.
The article is believed to be still valid for the original topic scope.
The article is believed to be still valid for the original topic scope.
Article Metadata
Compatibility
Platform(s): S60 2nd Edition
Article
Created: User:Technical writer 1
(20 Jan 2005)
Last edited: hamishwillee
(19 Jun 2012)
Contents |
Overview
If you insert a Gauge to an Alert screen, its animation does not work.
Description
In MIDP 2.0 devices it is possible to display Gauge in Alert screens as a progress indicator. The Gauge value can be updated to show progress. However, the animation of the Gauge is now shown at all in S60 2nd Edition devices. Also the title of the Alert is not shown correctly.
How to reproduce
The problem can be reproduced by using the following code extract in a MIDlet:
alert = new Alert("Title", "Alert text", im, AlertType.INFO);
alert.setCommandListener(this);
alert.setTimeout(Alert.FOREVER);
gauge = new Gauge(null, false, 10, 1);
alert.setIndicator(gauge);
Display.getDisplay(this).setCurrent(alert);
Now, if you try to change the gauge's value by using the Gauge.setValue() method, the change is not shown in the screen.
Solution
No solution exists. This will be fixed in the coming Nokia 6630 software versions and in the coming devices.


(no comments yet)