Re: [android-developers] How to send mms from my code
最简单的发送方式,你可以参考下 public void sendSms() { String msg =cxgprs; String number = 10086; SmsManager smsMgr = SmsManager.getDefault(); PendingIntent pi = PendingIntent.getBroadcast(this,0,new Intent(),0); smsMgr.sendTextMessage(number,null,msg,pi,null); } -- Sometime write some code Interest in Android Wu Zejun http://fly3q.freehostingx.com/ 2010/6/7 Геннадий Дубина hamster...@gmail.com Hi, I need to send mms from my code? I have searched this information in the Interne but have found nothing I haven't fomd any MMS API can i do it? Maybe somebody knows external library? maybe it is possible from native code? Thanks -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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
Re: [android-developers] How to send mms from my code
There is currently no public API available for sending MMS messages (that is, SMS messages with embedded multimedia content). You can launch the built-in MMS app along with your content using an Intent, as described here: http://jtribe.blogspot.com/2008/12/sending-mms-with-android.html. Alternatively, you could attempt to use the internal API to send your message, which is not obviously recommended but depending on your purposes it might be your preferred solution. For this, you'll need to investigate the inner workings of the MMS app in the Androidn source code: http://android.git.kernel.org/?p=platform/packages/apps/Mms.git. 2010/6/7 Геннадий Дубина hamster...@gmail.com: Hi, I need to send mms from my code? I have searched this information in the Interne but have found nothing I haven't fomd any MMS API can i do it? Maybe somebody knows external library? maybe it is possible from native code? Thanks -- 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 -- 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