Wednesday 15 July 2015

javascript - sms uri scheme not working with android hangout -



javascript - sms uri scheme not working with android hangout -

in android body of sms not populating hangout app.

i have tried codes below

<a href="sms:;body=my message">send sms</a> <a href="sms:&body=my message">send sms</a> <a href="sms:?body=my message">send sms</a>

i'm not sure mean "with hangout app", understanding problems be:

you leaving out recepient number(s), not supported standard (see rfc 5724) the message should url-encoded (there tons of free services online url-encoding text)

quoting examples rfc 5724, valid sms uris are:

sms:+15105550101 sms:+15105550101,+15105550102 sms:+15105550101?body=hello%20there

in case should suffice add together destination, url-encode body , wrap html <a> tag did:

<a href="sms:+15105550101?body=my%20message">send sms</a>

where, of course, should replace +15105550101 number of intended recipient.

javascript html sms

No comments:

Post a Comment