简体   繁体   English

如何在Cordova应用程序中访问内部电话数据库

[英]How to access Internal Phone Databases in a Cordova App

I am creating a mobile application in Visual Studio 2015 with the tools for Apache Cordova. 我正在使用Apache Cordova的工具在Visual Studio 2015中创建移动应用程序。

How can I access internal phone databases like the call log in this type of an application? 在这种类型的应用程序中,如何访问内部电话数据库(如呼叫日志)? I have been able to access the contact list by downloading a Git Plugin but i can't find any plugin to access the recent call log and i would like to know if there's a better plugin that works for a call log or if there's a way to access phone databases with existing code. 我已经能够通过下载Git插件来访问联系人列表,但是我找不到任何插件来访问最近的通话记录,并且我想知道是否有更好的插件可用于通话记录或是否有办法使用现有代码访问电话数据库。

There is this plugin that seems to help with what you are looking for: https://github.com/dalyc/Cordova-CallLog-Plugin however it is currently only supported on Android. 有一个似乎可以帮助您寻找所需内容的插件: https : //github.com/dalyc/Cordova-CallLog-Plugin,但是当前仅在Android上受支持。 I do not personally think that something like this would be possible on iOS due to its security measures. 我个人认为,由于其安全措施,在iOS上可能不会发生这种情况。 I could be wrong but I wouldn't bet on it happening. 我可能是错的,但我不会打赌它会发生。

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

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