By setting the action to ACTION_VIEW and type to "vnd.android-dir/mms- sms" on the calling intent, multiple phone numbers can be passed via the address attribute using a semi-colon delimited list:
<a href="http://andmobidev.blogspot.com/2010/01/launching-smsmessages- activity-using.html" target="_blank">http://andmobidev.blogspot.com/ 2010/01/launching-smsmessages-activity-using.html</a> Don't know if this will work for you. On Jan 17, 4:42 pm, Steve <[email protected]> wrote: > On Jan 14, 9:22 am, Dianne Hackborn <[email protected]> wrote: > > > The stockSMS/MMS application handles the SENDTO action with ansms:, > > smsto:, mms:, or mmsto: URI. I can't guarantee that devices shipping with a > > custom MMS app will also handle these, though. > > After experimenting with the SENDTO action and mms: URIs, I think an > extra intent filter is needed in the stockSMS/MMS application. > > Currently the ComposeMessageActivity intent filter for the SENDTO > action and "mms" scheme is as follows: > > <intent-filter> > <actionandroid:name="android.intent.action.VIEW" /> > <actionandroid:name="android.intent.action.SENDTO" /> > <categoryandroid:name="android.intent.category.DEFAULT" /> > <categoryandroid:name="android.intent.category.BROWSABLE" /> > <dataandroid:scheme="mms" /> > <dataandroid:scheme="mmsto" /> > </intent-filter> > > Notice that there is currently no provision for mimeType. This means > that I can't specify the mimeType of the attachment in the intent when > I try to launch the mms app via SENDTO. The result of this is that any > image I specify via intent.putExtra(Intent.EXTRA_STREAM, imageUri) > gets ignored. The messing app opens but with no attachment. > > If I specify both the URI scheme ("mms") and the Mime Type ("image/ > jpeg") via intent.setDataAndType() with action SENDTO, the intent does > not resolve to anyactivity. > > It seems a bit pointless offering support for the "mms" scheme, but > providing no way to provide an attachment. To fix this I suggest that > a new intent filter be added to ComposeMessageActivity as follows: > > <intent-filter> > <actionandroid:name="android.intent.action.SENDTO" /> > <categoryandroid:name="android.intent.category.DEFAULT" /> > <dataandroid:scheme="mms" /> > <dataandroid:scheme="mmsto" /> > <dataandroid:mimeType="image/*" /> > <dataandroid:mimeType="video/*" /> > <dataandroid:mimeType="audio/*" /> > </intent-filter> > > If that is a workable solution, any chance of including this in the > next release of the stockSMS/MMS application? > > Is there a more appropriate forum to make requests forAndroid > platform enhancements? > > Cheers > Steve
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

