Android的PhoneGap的配置XML用户权限 [英] Android PhoneGap Config XML user-permission

查看:213
本文介绍了Android的PhoneGap的配置XML用户权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开始工作的PhoneGap。我使用的PhoneGap构建编译我的应用程序。我试图用相机,但我被困在config.xml中

I have started working on PhoneGap. I am using PhoneGap build to compile my app. I was trying to use the camera but I am stuck in config.xml

搜索无处不在的很多后,我无法找到而去使用用户权限

After alot of searching everywhere I am not able to find away to use user-permission

谁能告诉我怎么可以在我的config.xml文件中使用

Can anyone please tell me how I can use this in my config.xml file

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 

一个样本XML将是巨大的。谢谢

A sample XML would be great. Thanks

推荐答案

这行添加到您的config.xml

Add this line to your config.xml

<feature name="http://api.phonegap.com/1.0/file" /><!-- WRITE_EXTERNAL_STORAGE; required for camera to write to camera roll -->

这篇关于Android的PhoneGap的配置XML用户权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆