Hi,
Google has changed its policy for SMS permission.
This thread is clear : SMS permissions
I have tried this code :
It works and launchs the default SMS App to send the message.
However this is not fully automatic s it is via the Activity of the default SMS App... I would like to find a way to send the SMS automatically and in the background.
Is there a trick or is it now definitively forbidden (unless your App is the default SMS App) ?
Thanks
Google has changed its policy for SMS permission.
This thread is clear : SMS permissions
I have tried this code :
B4X:
Dim In As Intent
Dim number = "0123456789" As String
In.Initialize(In.ACTION_VIEW, "sms:" & number)
In.PutExtra("sms_body", "this is the body")
StartActivity(In)
It works and launchs the default SMS App to send the message.
However this is not fully automatic s it is via the Activity of the default SMS App... I would like to find a way to send the SMS automatically and in the background.
Is there a trick or is it now definitively forbidden (unless your App is the default SMS App) ?
Thanks