Code Monkey home page Code Monkey logo

Comments (6)

DaCardinal avatar DaCardinal commented on July 18, 2024

Doubt you can do this as the camera element is actually not in the webview DOM

from cordova-plugin-camera-preview.

joshuaohana avatar joshuaohana commented on July 18, 2024

Hey thanks for the reply @DaCardinal ... do you have any suggestions on how I can solve the issue of the preview window working on various form factors?

from cordova-plugin-camera-preview.

DaCardinal avatar DaCardinal commented on July 18, 2024

Easy answer probably pretty hefty coding solution. You'll need to embed the camera in a cordova webview to be able to have that sort of interaction.Take a look at this http://docs.phonegap.com/en/2.3.0/guide_cordova-webview_android.md.html#Embedding%20Cordova%20WebView%20on%20Android

from cordova-plugin-camera-preview.

joshuaohana avatar joshuaohana commented on July 18, 2024

Hrmm my entire app is Cordova, and the app itself will need to communicate with the preview window of course, so I'm not sure well that approach will work. I'll investigate though thanks a bunch!

from cordova-plugin-camera-preview.

DaCardinal avatar DaCardinal commented on July 18, 2024

You can take a look at this https://github.com/alexwasner/Cordova-Camera-Webview and http://infil00p.org/android/cordova/phonegap/2012/12/04/advanced-tutorial-using-cordovawebview-on-android/ haven't tried that yet.Though

from cordova-plugin-camera-preview.

DaCardinal avatar DaCardinal commented on July 18, 2024

Maybe you could try this https://github.com/webrtc/samples Let me know if this works

from cordova-plugin-camera-preview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.