- 2
What is the code to turn on flashlight in Android?
can u also give me more of these codes like turning on Wi-Fi
1 Answer
+ 1
Not exactly what you asked for, but the app: Automate, can definitely help you do that, but not with Javascript, Javascript is used in web browsers, not in phones.
Automate link (*facepalm* at Google Play links):
https://encrypted.google.com/url?sa=t&source=web&cd=2&ved=0ahUKEwjrk-LDof_OAhVFGCwKHc5CC-gQ8oQBCCgwAQ&url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.llamalab.automate%26hl%3Dsv%26referrer%3Dutm_source%253Dgoogle%2526utm_medium%253Dorganic%2526utm_term%253Dandroid%2Bautomate%26pcampaignid%3DAPPU_1_HRXRV6uRO8WwsAHOha3ADg&usg=AFQjCNFRspn4BjppbiNMPqbmNw3kC3Y9yA