Add-ons › Widgets › WAC Demo

WAC Demo: Camera

by WidgetModerator ·

WAC 1.0 Demo: Camera

Description

Camera is the object for WAC Camera operations.Only one camera object is present in the WAC Widget Runtime. In the case of multiple cameras present on the device, it is at the widget runtime’s discretion as to which camera will be mapped to this Object. In order to attach preview to element in your widget layout you need to call Widget.Multimedia.Camera.setWindow( htmlObjectElement ); where htmlObjectElement should be an object representing element in your layout. Note that passed element has to be an tag and preview won't be displayed if you use or any other HTML element. To take a photo simply call Widget.Multimedia.Camera.captureImage(filename, lowRes); Note that this widget requires WAC 1.0 APIs support in a runtime, currently implemented in Android version only.

Screenshots

WAC Demo: Camera

Download

Download 1.2

Works with Opera 9 to Opera 12.

About this widget

Downloads4,634
CategoryWAC Demo
Version1.2
Size14KB
Last updateFebruary 7, 2011
Devicesdesktop, mobile
Original pageInternet Archive