且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

PhoneGap相机无法在捕获图像后进行确认

更新时间:2023-12-03 17:37:16

在运行Android 4.2的Galaxy Nexus上运行使用PhoneGap Build构建的应用时遇到了同样的问题。我能够通过在我的config.xml中使用以下两个feature指令来解决这个问题:

I had the same issue running an app built with PhoneGap Build on a Galaxy Nexus running Android 4.2. I was able to solve this issue by using the following two feature directives in my config.xml:

<feature name="http://api.phonegap.com/1.0/camera"/>
<feature name="http://api.phonegap.com/1.0/file"/>

不幸的是,没有来自logcat的错误,但是这似乎做了。希望这有助于!

Unfortunately, there were no errors coming from logcat, but this seems to do the trick. Hope this helps!