Mohamed, If you check the documentation available for the Camera plugin at https://github.com/apache/cordova-plugin-camera#options, you'll find an option for cameraDirection.
--------------------------------- cameraDirection: Choose the camera to use (front- or back-facing). The default is BACK. Defined in navigator.camera.Direction (Number) Camera.Direction = { BACK : 0, // Use the back-facing camera FRONT : 1 // Use the front-facing camera }; --------------------------------- Hope this helps. rjs Ryan J. Salva | Principal Program Manager Lead Visual Studio Tools for Apache Cordova rsa...@microsoft.com 425 706 5270 office 206 612 5079 mobile My team is hiring. From: Mohamed Ali [mailto:mohamed_...@omsme.com] Sent: Wednesday, May 27, 2015 4:19 PM To: dev@cordova.apache.org; dev-ow...@cordova.apache.org Cc: Samah Seddik Subject: Support needed Hello Team, I'm developing a crossplatform application using cordova (Visual studio hyprid multi device application). I need to open the camera inside of the application without launching the camera application. Requirements: 1- Back camera should be opened in a frame inside of the page 2- User can capture photos and videos. I found "navigator.getUserMedia" that is opening the front camera. Is there any way to open the rear camera instead? Needed platforms: Android IPhones Could you please help? Thanks & Best Regards, Mohamed Ali , PMP Project Manager M: +20 122 0488 334 | T: +202 2671 4091 | F: +202 2670 6016 E: mohamed_...@omsme.com | www.omsme.com | DISCLAIMER: The Information contained in this transmission may be confidential and legally privileged. If you are not the intended recipient, please advise the sender and delete this transmission and all copies. Any views or opinions expressed in this email are solely by the author and not necessarily those of OMS. OMS is not responsible for any political, religious, racial or partisan opinion in any correspondence conducted by its domain users. Therefore, any such opinion expressed, whether explicitly or implicitly, in any said correspondence is not to be interpreted as that of OMS. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org