- Forum posts: 77
Aug 11, 2016, 1:56:08 PM via Website
Aug 11, 2016 1:56:08 PM via Website
I need to send a message from my app to phone contact.
By using the following code i can pick the phone contact,
but message can't be send.. any threads??
Uri uri = Uri.parse("content://contacts");
Intent it = new Intent(Intent.ACTION_PICK, ContactsContract.CommonDataKinds.Phone.CONTENT_URI);
it.putExtra("sms_body", "The SMS text");
startActivity(it);
???
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.