I'm developing a mobile app using Apache Cordova's API and would like to know if there's a way I could get the camera to work embedded on my application.
I know Apache Cordova has a camera function but it just goes to the native camera app. I wanted it to show the camera feed on the html.
For accessing the device camera I think you can use the HTML5 getUserMedia function, but as you can see here this isn't very well supported by mobile browsers.
Related
I have a website that runs in HTTP. It also has a QR Scanner that accesses the camera. On the browser, I just need to enable
<chrome://flags/#unsafely-treat-insecure-origin-as-secure>
to access the camera.
Is there a way in Android studio webView to enable this?
I want to develop a web application where the user can access the webpage and record a video message , and that video message gets saved on the server. The trick is that it must be accessible via any mobile device.
I know there are answers out there like this:
Video Recording with webcam on a webpage
but it does not encompass all devices. I was thinking of using angular JS but it should work on Microsoft windows phone 8/10, android and ios. That is the tricky part.
The solutions I have researched all requires FF or Chrome and neither IOS or Windows mobile comes standard with those. I want to avoid flash as well.
Many thanks.
I have been fooling around with A-frame and created a bunch of entities and things like that. I am able to see the html output fine in my laptop. How can I port it to my Android mobile so that I use my VR gear to see the html result on my mobile browser?
You can just load the page on your mobile browser and go into VR mode.
Another solution is to integrate your html/js/css code into an application using crosswalk (https://crosswalk-project.org/) for example
I need to create a photobooth mobile application and decided to use HTML5 to work on my mobile application. Currently, I am using the getUserMedia method which works perfectly well on my laptop webcam. However when I tried to test it out on my phone as an mobile application, it could not work and all it shows is a video icon. Which leads me to find out that getUserMedia does not support in Android Browser.
I would still like to continue using HTML5 to get my photobooth mobile application working but how can I access the camera in my phone and is it possible to do it?
As you can see on "Can I use" the getUserMedia isn't yet available on most mobile browsers. The latest Chrome for Android should support it though.
Using <input type="file" accept="image/*;capture=camera"> seems to work on most modern mobile browsers.
My android app has a web browser component which is supposed to play flash content from the internet. I don't want to tell the users to separately download adobe flash to access flash content on my app. How can flash playing capability be added to my app? Thanks?
I haven't heard of any third party flash interpreter that you could put in your application, like a library.
Honestly, you should rethink what you're serving up to mobile clients. All mobile platforms are no longer supported - Adobe has stopped development of Adobe Flash Android - as there are alternate ways to do what Flash used to accomplish.
Edit:
This is a great introduction to the <audio> tag in HTML5. You will have to double check which formats are streamable to all devices. I believe MP3 should work in iOS and Android. http://www.position-absolute.com/articles/introduction-to-the-html5-audio-tag-javascript-manipulation/