1、直接拨打电话
sit(a, "action","android.intent.action.CALL")
sit(a, "data", "tel:10086")
uit(a, "chooser", "直接拨号")
2、直接发短信<由于防止恶意发短信不提供直接发短信方法>
sit(a, "action","android.intent.action.SENDTO")
sit(a,"type","vnd.android-dir/mms-sms")
sit(a, "data", "smsto:10086")
sit(a,"extra","sms_body","hello world!")
uit(a, "chooser", "发短信")
3.调用Java直接发送短信
loadjar("iAppSMS.apk",sms)
cls(sms,"com.iapp.sms.sms",cla)
t()
{
javax(c,null,cla,"sendSMS","String","10086","String","插件开发:thispay.top")
}
--调用的Java包,请联系我QQ:1075625244下载,没有包会运行错误。
--配置权限添加以下权限:
<uses-permission android:name="android.permission.SEND_SMS"/>