I'm sending SMS texts with plain mobile phone numbers, without a problem, using:
However some numbers have the country code eg +3478...... and the SMS send fails.
How do you send SMS texts to mobile phones abroad?
Thanks.
B4X:
Dim r As Reflector
r.Target = r.RunStaticMethod("android.telephony.SmsManager", "getDefault", Null, Null)
r.RunMethod4("sendTextMessage", Array As Object(PhoneNumber, Null, Text, Null, Null), _
Array As String("java.lang.String", "java.lang.String", "java.lang.String", _
"android.app.PendingIntent", "android.app.PendingIntent"))
However some numbers have the country code eg +3478...... and the SMS send fails.
How do you send SMS texts to mobile phones abroad?
Thanks.