PHP WITH ANDROID CAMERA

Asked

Viewed 1,159 times

-2

how do I use the mobile camera (Android) with PHP, currently using PHP+JAVASCRIPT, someone could send me a help and if possible some example.

Thank you

  • Hello @Marcel, so that we can help you with your question, we recommend that you explain your problem clearly, also stating what you have tried to do to solve your problem. Providing code is also important, to know how you are working and what can be improved/solved. I recommend that you review these points and improve your question. Good development.

  • Take a look at this topic where you have the same doubt: http://stackoverflow.com/questions/10469782/can-an-html5-javascript-android-app-access-the-camera-voice-recorder From what they said, there is no way to do this without using some framework.

  • Today I have a program in php that uses javascrip using webcam to take pictures, well, when I run this program on mobile or tablet, the program does not recognize the camera of the mobile phone or tablet with recognizes the webcam on the computer, I believe it dispenses putting part of the program, because I have the impression that is something related to php access the camera of the mobile phone that has OS Android.

1 answer

1

With php you won’t be able to access any hardware resources, depending on your goal you can create a PHP backend that will provide some features via REST and the client device should have an android (java) or hybrid (javascript) application to consume your REST and access camera features as you wish.
Take this as a starting point Cordova project link you will better understand your problem.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.