Android的短信发送使用的PhoneGap /科尔多瓦3.1 [英] Android SMS sending using Phonegap/Cordova 3.1

查看:110
本文介绍了Android的短信发送使用的PhoneGap /科尔多瓦3.1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何发送短信使用科尔多瓦/ PhoneGap的3.1?

How do I send SMS using Cordova/Phonegap 3.1?

我已经搜查,但所有的教程/插件似乎已经过时,例子是行不通的。

I have searched but all the tutorials/plugins seems to be outdated and the examples doesn't work.

推荐答案

我是从PhoneGap的发送短信,使用本机的短信发送者通过创建与使用SMS协议的链接,类似于一个按钮,<一个href="http://stackoverflow.com/questions/6480462/how-to-$p$p-populate-the-sms-body-text-via-an-html-link">bradorego's建议另一个问题:

I'm sending SMSs from phonegap, using the native sms sender by creating a button with a link that uses the sms protocol, similar to bradorego's suggestion for another question:

<a href="sms:/* phone number here */?body=/* body text here */">Link</a>

这篇关于Android的短信发送使用的PhoneGap /科尔多瓦3.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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