TiLED enables developers to turn the LED light on iOS-devices on and off without showing the camera view. It even offers a Morsecode function.
Feature requests ? Let me know!
To access this module from JavaScript, you would do the following:
Titanium.LED = Ti.LED = require("ti.led");
Toggle LED light.
Ti.LED.toggle()
Yup, it blinks your string. Max 10 letters.
Ti.LED.morse("SOS");
See example.
Chris Magnussen for Appgutta, DA.
- MorseCode.h/.m - Sergio Botero MorseBlinker
Copyright (c) 2012 by Appgutta, DA. All Rights Reserved. Please see the LICENSE file included in the distribution for further details.