Send SMS using activity

533 views
Skip to first unread message

mtoko

unread,
Nov 22, 2019, 4:48:04 AM11/22/19
to RedMobile
Could you provide an example of sending an SMS message using start activity. I have tried this in the function node

msg.payload = {
    "action": "android.intent.action.SENDTO",
    "type": "HTTP.PLAIN_TEXT_TYPE",
    "extras":{
            "android.intent.extra.address": "0123456789",
            "android.intent.extra.sms": "Test SMS",
            "android.intent.extra.subject": "Test SMS",
            "android.intent.extra.sms_body": "this is test"
    }
}
return msg;

Thank you
Message has been deleted

okhiroyuki

unread,
Nov 22, 2019, 10:40:14 PM11/22/19
to redmobi...@googlegroups.com
Hi.

It moved with this.

msg.payload = {
    "action": "android.intent.action.VIEW",
    "type": "vnd.android-dir/mms-sms",
    "extras":{
            "address": "0123456789",
            "sms_body": "Test SMS"
    }
}
return msg; 
flows.json

Nhan Le Duy

unread,
Dec 19, 2021, 4:17:39 AM12/19/21
to RedMobile
Hi Friend,

Could you please guide me to send intent for keyback, home and volume.

Kind Regard

Reply all
Reply to author
Forward
0 new messages