PDA

View Full Version : Phonegap : Camera view with background image



swarnendude
25 Nov 2011, 3:50 AM
Hi,

I am using Phonegap with Sencha Touch to get camera functionality. But instead of the default camera view, I want a picture with transparent background to be overlaid upon the live camera view. Similar to below example where a dinosaur image has been overlaid upon the camera view image.

https://lh5.googleusercontent.com/hs8kFG8QexehSKCd16tVfuBTX6jBAE0yHQcMtZ5ojGAA4jO1r0iZrdNNE7Y9ON7ZBM1y30WrJTstOMuWBJ7Yu6qL8T8rNxc88i_p_KvSop2wRG5JEX8

Can you tell me whether this feature can be achieved with Phonegap or in any other way?

AndreaCammarata
25 Nov 2011, 6:32 AM
Hi.
That's not possible with Sencha Touch or with the defaults PhoneGap features.
However, PhoneGap give you the opportunity to write custom plugin that works on the native code, so, as long that's possible on native app, you should be able to write a PhoneGap module that allows to achieve that.