ivanomonti Expert Licensed User Longtime User Nov 11, 2014 #1 function calls and always intent !! (map, mail, other)
cirollo Active Member Licensed User Longtime User Nov 11, 2014 #2 me too, need to convert to b4i this b4a code to send sms from my app Code: Copy Sub Button1_Click Dim i As Intent i.Initialize(i.ACTION_VIEW, "sms:"&EditText2.Text) i.PutExtra("sms_body", "Gentile Cliente, la chiave di attivazione del suo software: " &EditText1.Text) StartActivity(i) End Sub Upvote 0
me too, need to convert to b4i this b4a code to send sms from my app Code: Copy Sub Button1_Click Dim i As Intent i.Initialize(i.ACTION_VIEW, "sms:"&EditText2.Text) i.PutExtra("sms_body", "Gentile Cliente, la chiave di attivazione del suo software: " &EditText1.Text) StartActivity(i) End Sub
I inakigarm Well-Known Member Licensed User Longtime User Nov 11, 2014 #3 See http://www.b4x.com/android/forum/threads/mails-and-sms-messages.46131/#content (I've tested the mail composer and works ok) For other functions, maybe nativeobject will help Upvote 0
See http://www.b4x.com/android/forum/threads/mails-and-sms-messages.46131/#content (I've tested the mail composer and works ok) For other functions, maybe nativeobject will help
Erel B4X founder Staff member Licensed User Longtime User Nov 12, 2014 #4 NativeObject will not help here as it is not possible to programmatically send sms messages without the user approving it. The only way to send is described in the tutorial. Upvote 0
NativeObject will not help here as it is not possible to programmatically send sms messages without the user approving it. The only way to send is described in the tutorial.
I inakigarm Well-Known Member Licensed User Longtime User Nov 12, 2014 #5 Yes,that's why I said "for other functions" after attach the link to mail and sms examples Upvote 0