Unity OpenURL() SMS

Hi All,

I’m currently using:
Application.OpenURL("mailto:" + email_address + "?subject=Email&body=msg from Unity");

to send emails from within my application, and I know you can use a similar function to open up the mobile devices SMS system however I’m unsure on how to actually go about this.

If anyone can please advise how I can open up the native SMS system through “Application.OpenURL()” that’d be fantastic.
I’m also open to using an alternative solution if anyone’s aware :slight_smile:

Thanks in advance! :slight_smile:

Hey Guys, managed to find a resolution for this. The below code does the job perfectly :).

string mobile = "0437614201";
Application.OpenURL("sms:" + mobile);