如何使用Cordova文档在Phonegap中发送短信? [英] How to send an SMS in Phonegap using Cordova Documentation?

查看:101
本文介绍了如何使用Cordova文档在Phonegap中发送短信?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一个后续问题,,我想我们可以访问本地功能的手机在javascript中使用 Phonegap 文档。我试着玩通知api,它工作相当不错,但在发送短信的文档中找不到任何东西。我遇到了 Phonegap-Start 工具包和 SMSPlugin ,但不知道如何与PhoneGap-Start集成。除此之外,我使用 build.phonegap.com 构建我的应用程序,所以我不使用eclipse这就是为什么SMSPlugin的readme文件不是很大的帮助。

This is a followup question to this and I figured that we can access native functionality of the phone in javascript using Phonegap Documentation. I tried playing with notification api and it worked pretty well but could not find anything in the documentation about sending SMSes. I've come across Phonegap-Start kit and SMSPlugin for Phonegap but do not know how to integrate that with Phonegap-Start. In addition to it, I use build.phonegap.com to build my application so I'm not using eclipse for the same which is why the readme file of SMSPlugin was not much for the help.

是否可以这样做?

推荐答案

看起来你可以在Phonegap Build中添加自己的插件:

It doesn't look like you can add your own plugins in Phonegap Build yet:

https://build.phonegap.com/docs/plugins

此外,SMSPlugin还没有正式更新为与Phonegap 2.0,AFAIK一起使用。

Moreover, SMSPlugin has not been officialy updated to work with Phonegap 2.0 yet AFAIK.

这篇关于如何使用Cordova文档在Phonegap中发送短信?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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