-1
I’m trying to send a text message via Whatsapp to a previously selected number. The contact chat opens, but the message contained in Extras
does not appear in the text box. See:
var uri = Android.Net.Uri.Parse("smsto:" + "55" + (number));
Intent i = new Intent(Intent.ActionSendto, uri);
i.PutExtra("sms_body", "Instale meu novo aplicativo!");
i.SetPackage("com.whatsapp");
StartActivity(i);
PS.: no exception is thrown.