Hello
I have created an Alert to which I added a Gauge object. The problem is that when it appears on screen, I get a command "Accept" that I do not want. ("Aceptar" in the image, I'm spanish)
Code:Gauge gauge = new Gauge( null, false, Gauge.INDEFINITE, Gauge.CONTINUOUS_RUNNING); alertaIdioma = new Alert(text1, text2, null, AlertType.INFO); alertaIdioma.addCommand(new Command(" ", Command.OK, 0)); alertaIdioma.setIndicator( gauge ); alertaIdioma.setTimeout(Alert.FOREVER); miDisplay.setCurrent(alertaIdioma, miDisplay.getCurrent());
I have read that this command appears when there is no other, by default to dissmiss the alert, so I tried to add a command "Empty" but keeps coming.
If I try to add a Command to the Gauge, the Alarm doesn't appears!!!Code:alertaIdioma.addCommand(new Command(" ", Command.OK, 0));


Reply With Quote


