- Home /
Is it possible to send an SMS without opening SMS Composer? (Android)
I need to send a message without composing a message Let's say if i clicked a button
function OnMouseDown()
{
//send an sms
}
but how?? help me :) I've already tried
Application.OpenURL("sms:" + mobilenum);
but it didn't help me
Answer by Joe_User · Nov 29, 2014 at 08:02 PM
It is! You want to use the SMS Manager. There's a good tutorial at this link.
Answer by davidftimh · Apr 02, 2016 at 04:54 AM
Do you find out how to implement it? Currently, I'm facing the same problem. If you did, please tell me how to do that. David
Answer by ryuxote · Aug 27, 2016 at 06:03 PM
It's possible using SMS Manager. Try using this gist https://gist.github.com/rmdwirizki/87f9e68c7ef6ef809a777eb25f12c3b2 Don't forget to add the permission in AndroidManifest.xml
Your answer
Follow this Question
Related Questions
How to use Application.OpenUrl("sms") for multiple numbers? 2 Answers
Is it possible to send SMS from an action in Unity? (Mobile iOS or Android) 1 Answer
Can you get the height that you are holding the phone? 2 Answers
big terrain performance && mobile 1 Answer
Touches not registering in android? 0 Answers