Open windows camera on file input html5 - html

Using HTML5 and a standard input tag it is clear we can open the cmera app on any Android and IoS devices. But how on earth do we access the same on a Windows device.
I am not trying to stream the image and create a snapshot using a canvas, all I want to do is give a windows user the same 'Take Picture' option as every other device seems tto offer.
Many thanks for all comments in advance

Related

Windows phone, Using photocamera

I looked at the microsoft documentation on how to create an camera application but i got lost quickly. Here is my question:
How to make the screen show what the camera sees? Do you do this using canvas? I'm really stuck guys.. can you help please?
Are you following the sample camera app?
How to create a base camera app for Windows Phone 8.
They use a Canvas and set the background of the Canvas to the Camera's output. It is very simple to follow. Remember to set the Camera Capability <Capability Name="ID_CAP_ISV_CAMERA"/> in the WMAppManifest.xml file.

SystemIdleMode.KEEP_AWAKE not Working in desktop Application

i am developing desktop application in Adobe AIR, Now i am on windows, it has setting to turn off display. i set it to 1 min. it working well. but i want to turn off the display when my application is not running. i searched, and i got some result which all telling me that set NativeApplication.nativeApplication.systemIdleMode = SystemIdleMode.KEEP_AWAKE; in you application and you achived what you want. all searched result say that when you set systemIdleMode to KEEP_AWAKE and display didn't off till your application is running.
i set this setting in initialize event of Application.
Referenace:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/desktop/SystemIdleMode.html
i think, May be some usage issue in it, nothing more in it, please help me !!!
From adobe AS3 docs:
AIR profile support: This feature is supported on mobile devices, but it is not supported on desktop operating systems or AIR for TV devices. See AIR Profile Support for more information regarding API support across multiple profiles.
The important part is highlighted with bold text.
Hope it helps!

Is camera application supported by blackberry 10 working with Blackberry Webworks?

I want to implement camera in my application with HTML5 for blackberry 10 and in search of that I found this page https://developer.blackberry.com/html5/apis/blackberry.media.camera.html#.takePicture .And after reading that I concluded that camera application is not supported by Blackberry 10 with HTML5.
Am I right??
Please suggest!!!
You can in fact invoke a camera card, which will slide open a native card to take a picture or video. It will return the file system path in a callback when the card is closed.
If you want to capture media directly within your app, take a look at getUserMedia and the canvas. Here's a good article on it:
http://www.html5rocks.com/en/tutorials/getusermedia/intro/
I hope this helps.
John

Video recording web app

I have a website requirement , users can able to record video (with sound) and upload to server.
First i think about flash and red5(media server) but found that flash does not support IPAD or iphone.
Now am think about HTML5 video recording, but somebody told me that html5 video recording still in beta and not stable and it does not support all browsers.
Please advice which is best , help is highly appreciable.
Thanks,
To upload a video from an iPhone to a web server, you can use an <input> tag. This will prompt the user to record a video which will then be selected as the file to upload.
<input autocomplete="off" type="file" name="video_file" accept="video/*" capture />
Wrap this in and you can change the appearance of the tag to look more like a video recording button.
There's simply no way as of now to do video recording through mobile browser. Potential solution is
Direct mobile browser user to appstore/google play and encourage to download a dedicated app (downside - you have to write it ;)
Allow for file upload from mobile device (user uploads prerecorded video). File uploads are supported from IOS6 only. Not sure about Android.
Use flash where possible (a challenge in itself).
Hint: would I accept such requirement as a contractor/agency etc? Nooo! Never ;)

Capture image from camera into form or html5 canvas

I need to capture an image from a webcam (tethered camera, etc.) into a form or html5 canvas so that I can save the image to the server. Also, I would like to be able to preview the image live in the page.
For example, I have a browser running at a registration check in station. I would like to take a picture of the attendee currently standing in front of the table, and submit that image into the database. Then I can use that image to print the attendee's badge with their picture on it.
I'm using rails and paperclip, though I doubt that matters.
Anyone done this before, or have some ideas how to do it?
There is a plugin for jQuery entitled 'jQuery Webcam Plugin' that provides a friendly and easy way to interact with a webcam. It actually relies on a small flash component (unfortunately), but it does a great job of making the interaction easy - as well as providing functionality to copy imagery direct into an HTML5 canvas.
Again, it's unfortunate that it relies on Flash, but I think any reliable solution is going to need flash at this point in time.
The plugin is available here: http://www.xarg.org/project/jquery-webcam-plugin/
At present, if you want to interact with a web cam from a web page you need to look at using a plug in. Flash has a mature interface to web cams, so it would be my first choice of tool.
There used to be a spec for native web cam support in HTML 5, but it has been spun out into its own, independent, specification. Currently there is no browser support for it outside of experimental Opera builds.
Android >=3.0 (on plenty of tablets and one phone soon) is supposed to support this. Searching for "html media capture" and "device api" will get you a lot more information.
On the not-even-alpha bleeding edge side, there are things like webrtc and the mozilla rainbow plugin.