Notice: This is a static archive of the Mobile Processing website, as the project is no longer significantly active. All forms and the Discourse boards are no longer functional, and the mobile website at http://wapmp.at/ is no longer available. Please visit the Mobile Processing Google Group for any remaining discussions and the Processing website for the latest news about Processing.
Phone class
Name

flash()

Description Flashes the backlight of the display for the specified duration. Returns true if backlight control is available. Backlight control is not available on all mobile phones.
Syntax
p.flash(duration)
Parameters
p   Phone: any variable of type Phone

duration   int: duration of flashing, in milliseconds, or 0 to turn off the flashing

Returns boolean