Код: Выделить всё
public void sendInvite(ContactRow c) {
String message = "Here's the link: https://example.com/i5dLLe";
Intent sendIntent = new Intent(Intent.ACTION_VIEW, Uri.fromParts("sms", c.getPhoneNo(), null));
sendIntent.putExtra("sms_body", message);
startActivityForResult(sendIntent, Statics.REQ_CODE_SMS_INVITE);
}
Подробнее здесь: https://stackoverflow.com/questions/358 ... w-nexus-6p