N
N
Novel2019-08-30 20:26:37
JavaScript
Novel, 2019-08-30 20:26:37

Is it possible to use the camera and other native gadgets in Android devices in hybrid Cordova applications?

The essence of the question is as follows:
- I still have not figured out how to make the smartphone camera work with a hybrid application through the JavaScript method navigator.mediaDevices.getUserMedia()- I have been dealing with this issue all day ..
And I have a question on the merits, to people experienced in Cordova - or maybe work with a camera and other such things - it's not for hybrid applications and not for Cordova at all? Maybe I should not fool my head in principle?
Look: there is work with the camera in Cordova through a plugin cordova-plugin-camera- it makes snapshots :) Or maybe I don’t understand and don’t know something? (I'm new in this area) Who is experienced, tell me: is it really possible to set up convenient development for the camera from a hybrid application? Or is it not worth messing around with it because it is impossible in principle? Thanks in advance.
But it turns out that I can’t really test the operation of this plugin, because I’m developing hybrid applications in Vue and I have to rebuild the application in Cordova every time to test changes in the code for working with the camera - and this is really some kind of pain :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2019-08-30
@xmoonlight

And what prevents you from loading the application for debugging from a local web server?!
Read how LiveCoding works for Phonegap/Cordova.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question