ValhallSW Member Licensed User Longtime User Jan 6, 2017 #1 The easy way of sending an text SMS should look like: send_text_SMS(phonenumber As Int, message As String) That is all information you need to send a text SMS, this is at least what I send and receive. RIGHT? And why doesn't it, and what does the sub send_text_SMS actually look like?
The easy way of sending an text SMS should look like: send_text_SMS(phonenumber As Int, message As String) That is all information you need to send a text SMS, this is at least what I send and receive. RIGHT? And why doesn't it, and what does the sub send_text_SMS actually look like?
Beja Expert Licensed User Longtime User Jan 6, 2017 #2 If you posted a simple project one can help you.. Upvote 0
ValhallSW Member Licensed User Longtime User Jan 7, 2017 #3 What would the sub send_text_SMS(phonenumber As Int, message As String) look like if I want to send a SMS message to a phonenumber. That is all I want to know (at this point), as part of a larger project. Upvote 0
What would the sub send_text_SMS(phonenumber As Int, message As String) look like if I want to send a SMS message to a phonenumber. That is all I want to know (at this point), as part of a larger project.
moster67 Expert Licensed User Longtime User Jan 7, 2017 #4 Load the phone-library and use the dedicated method. https://www.b4x.com/android/help/phone.html#phonesms Upvote 0
Load the phone-library and use the dedicated method. https://www.b4x.com/android/help/phone.html#phonesms
Beja Expert Licensed User Longtime User Jan 7, 2017 #5 ValhallSW said: What would the sub send_text_SMS(phonenumber As Int, message As String) look like if I want to send a SMS message to a phonenumber. That is all I want to know (at this point), as part of a larger project. Click to expand... It will look like you just posted.. send_text_SMS(phonenumber As Int, message As String) If this is what you want. you call the function send_text_SMS, and pass to it the number and the message text. Again if this is not clear to you then you need to post a small project and people here can look into it and help you. Upvote 0
ValhallSW said: What would the sub send_text_SMS(phonenumber As Int, message As String) look like if I want to send a SMS message to a phonenumber. That is all I want to know (at this point), as part of a larger project. Click to expand... It will look like you just posted.. send_text_SMS(phonenumber As Int, message As String) If this is what you want. you call the function send_text_SMS, and pass to it the number and the message text. Again if this is not clear to you then you need to post a small project and people here can look into it and help you.
Erel B4X founder Staff member Licensed User Longtime User Jan 8, 2017 #6 ValhallSW said: And why doesn't it, Click to expand... It is indeed very simple to send sms messages. Too bad you haven't bothered searching the forum: https://www.b4x.com/search?query=send+sms Code: Sub send_text_SMS(phonenumber As String, message As String) 'string not int Dim ps As PhoneSms ps.Send2(PhoneNumber, Message, False, False) End Sub Upvote 0
ValhallSW said: And why doesn't it, Click to expand... It is indeed very simple to send sms messages. Too bad you haven't bothered searching the forum: https://www.b4x.com/search?query=send+sms Code: Sub send_text_SMS(phonenumber As String, message As String) 'string not int Dim ps As PhoneSms ps.Send2(PhoneNumber, Message, False, False) End Sub
ValhallSW Member Licensed User Longtime User Jan 10, 2017 #7 Last time I searched I found many answers, but all where a lot more complicated. But, indeed, Thank you for the clarity. Both of you. Upvote 0
Last time I searched I found many answers, but all where a lot more complicated. But, indeed, Thank you for the clarity. Both of you.