ciginfo Well-Known Member Licensed User Longtime User May 7, 2013 #1 Hello, I have to open the resident appli "Messagerie" and put automatically a predefined message in the text field. An Idea? Thank you
Hello, I have to open the resident appli "Messagerie" and put automatically a predefined message in the text field. An Idea? Thank you
Erel B4X founder Staff member Licensed User Longtime User May 7, 2013 #2 Is this a standard application? Upvote 0
ciginfo Well-Known Member Licensed User Longtime User May 7, 2013 #3 Yes it is. It's the android standard application "messagerie" to send and receive SMS. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User May 7, 2013 #4 Try this: B4X: Dim i As Intent i.Initialize(i.ACTION_VIEW,"") i.SetType("vnd.android-dir/mms-sms") i.PutExtra("address", "1234") i.PutExtra("sms_body", "test") StartActivity(i) Upvote 0
Try this: B4X: Dim i As Intent i.Initialize(i.ACTION_VIEW,"") i.SetType("vnd.android-dir/mms-sms") i.PutExtra("address", "1234") i.PutExtra("sms_body", "test") StartActivity(i)
ciginfo Well-Known Member Licensed User Longtime User May 7, 2013 #5 Oh yes it works fine. But where have you found these characteristics for mms/sms. Where can I find for others applications as Email appli? Upvote 0
Oh yes it works fine. But where have you found these characteristics for mms/sms. Where can I find for others applications as Email appli?
Erel B4X founder Staff member Licensed User Longtime User May 8, 2013 #6 For email you can use Email object from the Phone library. Some of the intents are available in Android documentation. Sms is not documented. Upvote 0
For email you can use Email object from the Phone library. Some of the intents are available in Android documentation. Sms is not documented.