cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan J. Salva" <>
Subject RE: Support needed
Date Thu, 28 May 2015 01:25:54 GMT

If you check the documentation available for the Camera plugin at,
you'll find an option for cameraDirection.

cameraDirection: Choose the camera to use (front- or back-facing). The default is BACK. Defined
in  (Number)

Camera.Direction = {
    BACK : 0,      // Use the back-facing camera
    FRONT : 1      // Use the front-facing camera

Hope this helps.

Ryan J. Salva  |  Principal Program Manager Lead
Visual Studio Tools for Apache Cordova
425 706 5270 office
206 612 5079 mobile

My team is hiring. 

From: Mohamed Ali [] 
Sent: Wednesday, May 27, 2015 4:19 PM
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.

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:

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:  |  |  

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:
For additional commands, e-mail:

View raw message