Titanium View with the background image sourced directly from the iPhones camera.
To access this module from JavaScript, you would do the following:
var cameraview = require("pw.custom.iphonecamera");
The customiphonecamera variable is a reference to the Module object.
The cameraview takes the same properties and methods as the standard titanium view.
var win = Ti.UI.createWindow({
backgroundColor:'white'
});
if( Ti.Media.isCameraSupported ) {
var cameraview = require("pw.custom.iphonecamera");
win.add( cameraview.createView() );
}
win.open();
Michael Browne
Don't forget to check out Jonathon Carter's CameraView if you'd like the added ability to take pictures! (Who wouldn't!!)