+ 10
How to turn on my phone's torch with JavaScript?
I am modifying my torch app and I really want to turn on the phone's torch using JavaScript, I think it is possible, but unfortunately I don't really know the syntax, please help!!!
6 Answers
+ 10
There is an awesome application on Google Play called DroidScript that lets you interact with Android by using JS. It has some good examples (Torch example too).
+ 3
Do you mean, your phone's flash? (For future readers)
+ 2
have droid script. it lets you interact with your android through programming. and not only js u can also use js, c or html
- 6
i dont know about that.
Maybe on swift