Phonegap : Camera view with background image

荒凉一梦 提交于 2019-12-01 08:27:29

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/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!