Cordova – PhoneGap camera control

As far as I know, the Phonegap API has two options to capture pictures, but they both “start” the phone camera and then return to the application with the captured image path.

Is it possible to display the camera stream in the controls on the page of the application to capture images “in-app”? For example. Like Instagram, users will not delete from the app to capture images, i.e. I need to open a custom camera in a part of my current app page.

If this is done through a plugin, Are there existing third-party plug-ins for custom cameras or do I need to write them myself?

I really like the whole idea of ​​Phonegap, especially Phonegap Build (awesome), but if I can’t get this kind of functionality, I will have to go native:-(

Thanks in advance!

I need to provide the same for my augmented reality (AR) application” Real-time camera view”. Phonegap does not provide a real-time camera view. Therefore, I am using the Wikitude plugin for Phonegap.

Although Wikitude is an AR SDK, the basic function it provides is a precise camera Live view.

How does this work?
You have defined a “world”, that is, a basic HTML page. After loading, the background of this page will be the live view of your camera. In this page , You can still run PhoneGap Javascript code. You can refer to this “world” as “world” through PhoneGap code at any time.

Where to start?
You can start from https://github.com/ Get the PhoneGap plugin for Wikitude/wikitude-phonegap. Includes installation instructions and sample projects. There is an unlimited trial of Wikitude SDK available, and you need it too.

As far as I know , Phonegap API has two options to capture pictures, but they all “start” the phone camera, and then return to the application with the path to capture the image.

Is it possible on the application page The camera stream is displayed in the controls to capture the image “in-app”? For example, like Instagram, the user will not delete from the application to capture the image, i.e. I need to open the customization in a part of my current application page Camera.

If this is done through a plug-in, is there an existing third-party plug-in to customize the camera or do I need to write it myself?

I really like the whole of Phonegap Ideas, especially Phonegap Build (awesome), but if I can’t get this kind of functionality, I will have to go native:-(

Thanks in advance!

I need to provide the same “live camera view” for my augmented reality (AR) application. Phonegap does not provide a live camera view. Therefore, I am using the Wikitude plugin for Phonegap.

< /p>

Although Wikitud e is an AR SDK, but the basic function it provides is accurate camera real-time view.

How does this work?
You have defined a “world”, that is, a basic HTML page. After loading, the background of this web page will be the live view of your camera. In this web page, you can still run PhoneGap Javascript code. You can use PhoneGap at any time The code calls this “world” “world”.

Where to start?
You can get the PhoneGap plugin from https://github.com/Wikitude/wikitude-phonegap. Includes installation instructions and examples Project. There is an unlimited trial of the Wikitude SDK available, and you need it too.

Leave a Comment

Your email address will not be published.