Motorola E680 - Smartphone - GSM Developer's Manual page 39

Micro edition (j2me) applications
Hide thumbs Also See for E680 - Smartphone - GSM:
Table of Contents

Advertisement

10
Vibe and Backlight API
Sample of code for calling of 'flashBacklight(int)' method of Display class:
int duration = 30000;// 30 seconds;
java.lang.boolean returnValue =
display.flashBacklight(duration);
if (returnValue != false) {
System.out.println("Invoke flashBacklight method with
parameter = " + duration
returnValue);
}
else {
System.out.println("Failed: invoke flashBacklight(" +
duration + "), method returns false");
}
39
+ ", method returns : " +

Advertisement

Table of Contents
loading

Table of Contents