Using the Cordova Camera Plugin

preview_player
Показать описание
This video talks about how you can use the cordova Camera plugin to take pictures from your Hybrid App.
The example uses Android, however the script will work on either iOS or Android.
I use Android for the example because the iOS Simulator will NOT allow you to use the camera.

Рекомендации по теме
Комментарии
Автор

your mouse click sound is an asmr to my ears

Автор

Put process in background: CTRL-Z, then „bg“. Then you have a job the emulator running in background. List jobs with “jobs” command. Put job in foreground with “fg”.

OR: just put a & at the end of the command to run it in background.

videoshow
Автор

Everything about this video is great. Content and voice quality. Thank you so much Steve

yifi
Автор

Hello sir, we are developing a hybrid app. We have integrated a QR scanner. The scanner is working fine in some phones android version (7, 8, 9, 10). But in some phones it is not working is it not even asking for permission whenever we open it for the first time (all android phone version 7, 8, 9, 10). Just in some phone it works and in some phone it doesn't. Can you please help me with this.

shashwath
Автор

Thanks for the great tutorial! This really helped me understand how the camera plugin works!

dieFliegenklatsche
Автор

Thank you for doing this! I'm a noob when it comes to development, but excited to give this a shot. I'm also a fan of Apache Cordova, though there doesn't seem to be a big community around it. More videos on the plugins would be nice for a novice like me. Cheers!

michaelbradley
Автор

For some reason, I can't get it to print the image location on an actual device. It works in the emulator but not the device.

merrickleejr
Автор

What about the "cordova.js" file you scripted on your source? That file seems not to be available on your project 'www' folder.

What do I do to ensure mine is working

arekhandiaharry
Автор

The videos in the playlist are great
Just started exploring cordova
its fun

roger
Автор

can someone help me with this....i have created app with camera plugin and images are stored in my mobile...now i want to access the geolocation of the image that is saved...im confused....lokking forward for help.Seen geo location plugin but that returns devices location, but i need the geolocation of image.(where the image is taken that place should be geo marked).

nishithasurapudi
Автор

Hi Steve, thank you for the video. It was very helpful. Can you let me know if it is possible to turn the flash light ON by default when we capture an image with the Cordova Camera Plugin?

NavinKumar-xxuf
Автор

Hi Steve!! Thank you so much for this video!!
Is It possibile to integrate facial detection (face-api.js) to this?? I'm trying to write an app that adds real time filters and then captures photo/video.
Sorry for my english, i'm an italian Cordova beginner!!
Thank you from Italy

annarubini
Автор

You have the voice of an angel, thank you for blessing me with your knowledge on plugins and thank you for speaking so delightfully

jenandjuice
Автор

whats the advantage of using chrome tools instead off just sticking to the android studio?

Mropticalgreen
Автор

What an awesome tutorial on cordova camera application!!!

maskman
Автор

Thanks Steve, it works fine. But one question: the cordova documentation says that the taken picture is in temporary directory. Shouldnt we copy it to a persistant location? Greetings from Germany.

thorstenfreimann
Автор

When I test this using the browser it says Camera is not defined. When I test it with the phonegap and desktop app and I click the button, nothing happens... (firebug also gives me a cordova.js load failure)

scifiroel
Автор

Regards

I wanted to tell you, I already have an APP that takes my picture and uploads it to a server, and I want to make an urgent change.

I do not know if you have seen, there are APPS that have, for example, facial recognition, and has a guide that tells you where to put your face.

Is there any possibility to put a .PNG or a guide box at the moment that one is going to take a photo, for example, for a document, to place that guide?

fabianeduardocastillocruz
Автор

I've copied the code via the link in the description into my project but when ran on an android emulator it does not work. any reason why

XavariD
Автор

Uncaught ReferenceError: Camera is not defined
at HTMLButtonElement.takephoto (camera.html:76)

Please help me with this error If I'm understanding correctly it's not finding a camera. I don't know how to find the APK or how to install it, I'm using visual studio to build my application. Please help me!

nigelcaruana
welcome to shbcf.ru