mms

Differentiate MMS and SMS via MMS/SMS listeners in Android

我的未来我决定 提交于 2019-12-07 03:35:36
问题 Is there any ways to differentiate MMS and SMS messages by using a MMS/SMS listener before they hit the inbox ? 回答1: The first indicator of an MMS message is a WAP-push with the MIME-type "application/vnd.wap.mms-message", so you could register a receiver for "android.provider.Telephony.WAP_PUSH_RECEIVED": <receiver android:name=".SomeReceiverName" android:permission="android.permission.BROADCAST_WAP_PUSH"> <intent-filter> <action android:name="android.provider.Telephony.WAP_PUSH_RECEIVED" />

Android telephony MMS 学习笔记

余生长醉 提交于 2019-12-06 19:34:23
本文主要从以下几个方面来学习MMS在android系统中的处理:MMS初始化、MMS发送、MMS接收(包括push MMS接收和从MMSC中提取MMS内容)、MMS存储/删除等数据操作。 Android MMS基本知识点 一、MMS概述 MMS是在短消息业务基础上发展起来的一种消息业务,它可以用于传送文字、图片、动画、音频和视频等多媒体信息。MMS采用"存储转发"的技术,用户创建的信息能够自动、快速的在手机和手机之间传送;信息的传送仍然按接收方手机号码进行定位;当接收方关机或暂时不在服务区的情况下,信息将存储在多媒体消息中心(MMSC),直到能够正确送达为止。MMS消息服务要求一个WAP网关,一个数据传输网如电路交换网、GPRS或WCDMA网络,和一个多媒体消息中心(MMSC)。在目前,MMS业务主要是以WAP作承载,以短消息作提示通知,由MMS手机自动到多媒体消息中心(MMSC)去提取来实现的。 在android中,MMS主要的处理都在app层,在framework层中主要涉及MMS pdu包的解析处理和发送和接受MMS时的网络处理。 MMS会使用telephony framework部分的类,详细信息请参考《Android_telephony_framework》系列文档。 二、MMS相关Service 1. TransactionService

How to put a hyperlink into an MMS message?

假装没事ソ 提交于 2019-12-06 16:21:36
What language is used to insert hyperlinks into an MMS message? I'm sending MMS messages to my cellphone, from my computer, but don't know how to include a link. I'm using php to send emails to the MMS service. Images and plain text show up just fine. You should probably just include the link in plaintext. However, there is another way detailed here: http://discussion.forum.nokia.com/forum/showthread.php?193656-Invoking-Browser-from-MMS 来源: https://stackoverflow.com/questions/4264118/how-to-put-a-hyperlink-into-an-mms-message

In the iOS SDK, how can I help my users send MMS intermixed with SMS from my app?

只愿长相守 提交于 2019-12-06 15:23:07
问题 An app that I am developing relies on the ability to help users send a mixture of images and text to their friends in one go. I was hoping that MFMessageComposeViewController would offer some way to provide the user with an image in the body of the message, but evidently I can only suggest NSString for the body. Alternatively, I could render the text into the image and then send that as well, but I still haven't found a way to suggest that the user send an image via MMS. Is there a way to do

MMS CONTENT PROVIDER ISSUE (Samsung Galaxy S3)

北慕城南 提交于 2019-12-06 15:17:58
问题 We run into the following crash when we attempt to query "content://mms-sms/conversations/" on a Samsung Galaxy S3 (Android 4.0.4) running on the Sprint network. Our calling code: Uri uri = Uri.parse("content://mms-sms/conversations/"); Log.e("IL", "CONTENT MIME " + context.getApplicationContext().getContentResolver().getType(uri)); // The next call crashes... Cursor cursor = context.getApplicationContext().getContentResolver().query(uri, null, null, null, null); The interesting fact is that

Attaching images to MMS

纵饮孤独 提交于 2019-12-06 15:07:41
问题 I am trying to attach an image that is picked from the image gallery to a MMS. I am using the following code public void onActivityResult(int requestCode, int resultCode, Intent data) { if (resultCode == RESULT_OK) { if (requestCode == SELECT_PICTURE) { Uri selectedImageUri = data.getData(); selectedImagePath = getPath(selectedImageUri); Uri uri = Uri.parse(selectedImagePath); Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra("sms_body", "some text"); sendIntent.putExtra

sending an image with mms on iphone programmatically?

自闭症网瘾萝莉.ら 提交于 2019-12-06 11:07:59
问题 Searched the whole web for this with no solution... I want to take a picture with the iphone camera and then be able to send it out via MMS/E-Mail. This doesn't have to happen in my app, but at least I'd like to be able to call the MMS/E-Mail app and make it select the taken (and stored) picture. When I use the built-in Photo-Album app, every picture has a button on the lower left corner which let's me share/print the actual photo... So I kinda hope I'll be able to build something like that

Where is com.google.android.mms.*? [closed]

主宰稳场 提交于 2019-12-06 10:49:02
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I am writting an application that will send MMS messages from an android phone and I am trying to follow the instructions on this post: How to send image via MMS in Android? My problem now is I can't find the libraries used there, like com.google.android.mms.* Can anyone point me to that? Is there any MMS

How can I send vcard/contacts/?vcf var SMS or MMS in Android?

懵懂的女人 提交于 2019-12-06 07:07:55
问题 I want to modify the Android source code that can send (contacts/vcard/.vcf file) by mms or SMS, the Android default way is through Bluetooth. I find a lot of ways, but it all doesn't work. I know the vcf format is like this: BEGIN:VCARD VERSION:2.1 N:;lybeen;;; FN:lybeen TEL;CELL; PREF:1-123-234-1234 TEL;CELL:000-111-1111 END:VCARD I send this string by SMS as plain message. Some Android phone can recoginse this as a contact, however most of the Android phone can not recoginse, but I don't

Receive MMS messages in Android KitKat

拥有回忆 提交于 2019-12-05 16:39:47
So this video Android 4.4 SMS APIs from #DevBytes explains the recent changes to the SMS APIs in KitKat. They also provide a link with a sample project. http://goo.gl/uQ3Nih They suggest that you handle the receive of an MMS in a service. Which all looks fine, except they neglect to mention the most undocumented piece. How to actually handle an incoming MMS. Here is the sample from the project https://gist.github.com/lawloretienne/8970938 I have tried to "handle the MMS" https://gist.github.com/lawloretienne/8971050 I can get the extras from the intent but the only meaningful thing that I can