I am working on a Android application. In this application I am connect inbuild messaging. In this messaging, statically pass the number and text in my app.
Is this possible?
String number = "12345678";
startActivity(new Intent(Intent.ACTION_VIEW, Uri.fromParts("sms", number, null)));
or
Intent intent = new Intent(Intent.ACTION_SENDTO,
Uri.fromParts("sms", phone_number, null));
startActivity(intent);