我为 Android 和 iO 创建了一个移动应用程序,它使用了 Phonegap API 的某些部分(连接、FileAPI、FileTransfer、相机、音频)
移动应用程序响应迅速,可以离线工作,我的计划是使用 NodeWebkit 创建适用于 Windows、Linux 和 Mac 的桌面版本 https://github.com/rogerwang/node-webkit所以我正在寻找如何使用 Node.js 实现 Phonegap API 的实现或想法
据我所知,可以实现这些 API:
连接:使用 Node dns 模块 FileAPI:使用 Node 文件实现 文件传输:使用 http 模块 摄像头:使用 WebRTC Chrome APIS 音频:使用 WebRTC Chrome 媒体 API
您认为提到的 Node 模块合适吗?您知道当前使用 Node.js 实现的 Phonegap API 吗?
最佳答案
我找到了这个:https://github.com/xverges/cordova-nodewebkit
问题是它不活跃。
关于javascript - 是否有任何使用 Node.js 的 Phonegap API 的实现?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21017803/