Phonegap : Camera view with background image

后端 未结 1 1136
深忆病人
深忆病人 2021-01-13 23:17

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 t

相关标签:
1条回答
  • It can be achieved but it requires a bit of native code and a simple trick.

    You need to set the phonegap container to transparent, and also add a surface behind your phonegap container.

    You use native code to initialize the camera view and then phonegap renders atop of it.

    A good example can be found at: http://git.libresoft.es/ARviewer-phoneGap/

    0 讨论(0)
提交回复
热议问题