I believe you use getURL() and there is a special protocol for SMS/MMS. getURL() launches an external app to send message.