Thanks to the wonders of open source.... * ACTION_VIEW Specification taken from Android source code com.android.mms.ui.ComposeMessageActivity.initActivityState() * See line numbers between 2999 to 3004 in v1.0 * http://android.git.kernel.org/?p=platform/packages/apps/Mms.git;a=blob;f=src/com/android/mms/ui/ComposeMessageActivity.java * * KNOWN BUG: Android only supports a single recipient, comma separated lists are invalid */
public Intent getSmsIntent() { Intent intent = new Intent(Intent.ACTION_VIEW); if (recipient != null) { intent.putExtra("address", recipient); } else { return null; } if (body != null) { intent.putExtra("sms_body", body); } intent.setType("vnd.android-dir/mms-sms"); return intent; } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---