Created
March 28, 2011 13:34
-
-
Save mstefanko/890465 to your computer and use it in GitHub Desktop.
Android sending SMS/MMS programatically
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Uri smsUri = Uri.parse("tel:1234567"); | |
Intent intent = new Intent(Intent.ACTION_VIEW, smsUri); | |
intent.putExtra("sms_body", "Hello frend, How are you?"); | |
intent.setType("vnd.android-dir/mms-sms"); | |
startActivity(intent); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment