Hi,
I am writing a Bluetooth-aware midlet, in which i'd like to use Alert to display inquiry messages. so initially, i'd like Alert to be displayed as modal (FOREVER), and then have bt-related code make it disappear once inquiry is done by doing
setTimeout(1000) on already displayed Alert.
entire sequence:
alert.setTimeout(FOREVER);
display.setCurrent(alert);
//do some other stuff here
//after a while call
alert.setTimeout(1000);
//alert should be dismissed in 1 sec?
However, in my experience so far on Nokia 6600 and v0.31 s60 emulator, once the Alert is up, it stays up. Why is that and what can i do? Is it "legal" to change timeout value (and have it take effect) for an already displayed Alert? if not, how can i programmatically dismiss an Alert (other than by waiting for timeout to expire)?
thanks
-nikita

Reply With Quote

