Can anyone tell me how to access system hardwares like camera, flash light, speaker, microphone using javascript? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 38

Can anyone tell me how to access system hardwares like camera, flash light, speaker, microphone using javascript?

I just want to make a web program with a button in which we can on and off the flash light. if you don't know the answer, don't worry but please don't forget to upvote and share the question so that others can answer it.

21st Jan 2021, 9:39 AM
#It's Tony Stark
#It's Tony Stark - avatar
10 Answers
+ 34
Check out this code on how to access system camera. Google them there are plenty of free tuts. online https://code.sololearn.com/WJOcNpJs5AMl/?ref=app
21st Jan 2021, 9:51 AM
Rohit Kh
Rohit Kh - avatar
+ 23
Pls do a search on the google before posting these questions... why are everyone becoming lazy to search google but simply go and post a question. I did a Google search right now and I found out the answer your looking for. But I think you also should start searching... https://stackoverflow.com/questions/37848494/is-it-possible-to-control-the-camera-light-on-a-phone-via-a-website I am not blaming only you, there are a lot of people doing this. I hope everyone understands...
21st Jan 2021, 9:57 AM
Steve Sajeev
Steve Sajeev - avatar
+ 5
Aad Hoogenboom😊😊👍 the question is talking about system hardware like mic,speaker,camera,flashlight, geosensor, etc.. and not IoT, embedded ,etc.. I hope this was the question about..
21st Jan 2021, 1:07 PM
Steve Sajeev
Steve Sajeev - avatar
+ 4
Hmm it is compulsory to learn html css and javascript
22nd Jan 2021, 4:02 AM
Vrajesh Sulakhe
Vrajesh Sulakhe - avatar
+ 3
Hi guys .I m bigginer to web development ..it is compulsory to complete all things about html & css or it's ok to know all basing and necessary things about it ??? Will happy if you suggest me ...
22nd Jan 2021, 3:36 AM
prayag bhimani
prayag bhimani - avatar
+ 1
Samin Sakur ur wong... If i am right.. #It's Tony Stark said he wanted to access hardware like flashlight which are inbuilt in mobile phones... if you want to access them you should learn javascript... with javascript by accessing browser APIs you can control hardware without any raspberry or arduino...
23rd Jan 2021, 8:22 AM
Steve Sajeev
Steve Sajeev - avatar
+ 1
Steve Sajeev I though #It's Tony Stark is talking about normal harwares
23rd Jan 2021, 12:12 PM
Samin Sakur
Samin Sakur - avatar
+ 1
No prob. Happens with everyone...Samin Sakur
23rd Jan 2021, 12:34 PM
Steve Sajeev
Steve Sajeev - avatar
+ 1
Arduino is also used for small projects and you can nearly make a powerful camera drone from arduino uno
24th Jan 2021, 7:41 AM
Vrajesh Sulakhe
Vrajesh Sulakhe - avatar
+ 1
As Steve suggests Google and Google Chrome are must for a programmer
24th Jan 2021, 7:45 AM
Vrajesh Sulakhe
Vrajesh Sulakhe - avatar