简体   繁体   English

我们可以使用phonegap访问HTML5和javascript中的Android设备的联系人列表,相机图片等原生内容吗?

[英]Can we access native things like contact list, camera pictures, etc of an android device in HTML5 and javascript using phonegap?

I searched about how to access the contact list of android device in HTML5 and javascript using Phonegap, but did not get satisfactory results. 我搜索了如何使用Phonegap访问HTML5和javascript中的Android设备的联系人列表,但没有得到满意的结果。 Infact, the following link says; 事实上,以下链接说;

"HTML5 doesn't provide platform specific services eg getting a list of contacts or list of captured images from a phone, but HTML5 provides geolocation, if that has been implemented by the Web Engine. For platform services you need a yet another 3rd party API." “HTML5不提供平台特定服务,例如从手机获取联系人列表或捕获图像列表,但HTML5提供地理定位(如果已由Web引擎实现)。对于平台服务,您需要另一个第三方API “。

http://zchydem.enume.net/2011/12/18/html5-for-mobile-app-development/ http://zchydem.enume.net/2011/12/18/html5-for-mobile-app-development/

Am not clear whether we can access the native things. 我们不清楚我们是否可以访问原生的东西。

Please give me your suggestions. 请给我你的建议。 Thanks. 谢谢。

The blog post that you read is from late 2011. It is now mid-2014. 您阅读的博客文章是从2011年底开始的。现在是2014年中期。 Hence, that post is about 2.5 years old. 因此,该职位约为2​​.5岁。

The roster of supported device features in PhoneGap can be found on the PhoneGap site. PhoneGap支持的设备功能列表可以在PhoneGap站点上找到。

Of course you can. 当然可以。 Have a look at the documentation given on PHonegap site. 查看PHonegap站点上提供的文档。 THis is for accessing contacts list. 是用于访问联系人列表。 There are other SO posts as well 还有其他SO帖子

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM