08-29-2009, 06:12 AM
|
#3 (permalink)
|
| New Member
Join Date: Aug 2009 Model: 7100T PIN: N/A Carrier: asd
Posts: 9
Post Thanks: 0 Thanked 0 Times in 0 Posts
| short[] tune = new short[2];
tune[0]= 500;
tune[1]= 2000;
int volume = 100;
Alert.startAudio(tune, volume);
Alert.startVibrate(2000);
synchronized(Application.getEventLock()){ UiEngine ui = Ui.getUiEngine();
Screen screen = new Dialog(Dialog.D_OK, "Look out!!!",
Dialog.OK, Bitmap.getPredefinedBitmap(Bitmap.EXCLAMATION), Manager.VERTICAL_SCROLL);
ui.pushGlobalScreen(screen, 1, UiEngine.GLOBAL_QUEUE);
}
Alert.stopAudio();
Alert.stopVibrate();
this works ... but is there an possibility to get the app in the forground |
| Offline
| |