mms

Sending an MMS with a vCard attachment on Android devices

喜你入骨 提交于 2019-12-21 05:24:09
问题 I'm trying to find a way to send a MMS message containing a vCard attachment . I thought this would be a fairly easy task, but I still haven't managed to come up with something that just works over a wide variety of Android phones. The first thing I tried was this : Define an intent showing a list of apps capable of sending the vCard Intent i = new Intent(Intent.ACTION_SEND); i.setType("text/x-vcard"); i.putExtra(Intent.EXTRA_TEXT,"MMS with vCard"); i.putExtra(Intent.EXTRA_STREAM, Uri.parse

Android: Send MMS Message With Picture on SDCard

自古美人都是妖i 提交于 2019-12-19 05:08:14
问题 Hi so I'm trying to send an image (png) from the sdcard in an MMS message. I'm using the ACTION_SEND intent, but it doesn't seem to be working. Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra("sms_body", "Sent using Spootur"); sendIntent.setType("image/png"); sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(imagePath)); startActivityForResult(sendIntent, SEND_ACTIVITY); I know that imagePath has a value of /mnt/sdcard/Spootur/Pictures/6799abd6-df22-4017-89e1

Override default android messaging application

旧城冷巷雨未停 提交于 2019-12-18 13:38:49
问题 I want to override the default android messaging application. If I receive a sms or mms I want to send that to email but i don't want any notification on phone. So basically I want to replace the default messaging application. How can I make my application the default one that receive the sms? Thanks a lot. That is exactly what I need. But I have one more problem. I used the receiver to get the message ... but I don't know how to find the message in the phone and mark it as read. public void

how to stream through mms://

不问归期 提交于 2019-12-18 13:38:46
问题 There are some posts about this, but so far, i haven't seen any good answer. Is there a way i can stream audio from mms:// uris with Android?. MediaPlayer seems not to like these streams. Also changing mms:// with http or rtsp doesn't work either. Did someone find a workaround to this?. Thanks! 回答1: Download Android NDK Then download modified libmms and libffmpeg at http://radiotime.com/apps/android.aspx basically you has to have 2 threads: 1st thread for downloading the audio data from mms

How to attach Image with message via iPhone application?

故事扮演 提交于 2019-12-17 10:35:12
问题 I want to send message with image data. So I used MFMessageComposeViewController . But that controller provide only SMS service. So I used UIPasteBoard attached an image data. But It doesn't work, either. There are no "Paste" button created when typing messages. Attaching image at UIPasteBoard was clearly success. I think using MFMessageComposeViewController doesn't solve my problem. How can I accomplish my goal? 回答1: This is not possible with the current MessageUI API: the

Android SDK MMS

混江龙づ霸主 提交于 2019-12-17 09:32:39
问题 Does anyone know how to programmatically send a MMS via the Android SDK? Any version of the SDK will do, just need to know where to get started. I know how to send / receive SMS, I now need to add a picture to the message before sending. 回答1: This worked for me. Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra("sms_body", "some text"); sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(url)); sendIntent.setType("image/png"); The url being passed to the Uri.parse method

How to send image via MMS in Android?

烈酒焚心 提交于 2019-12-16 19:46:28
问题 I am working on a multimedia application. I am capturing one image through the camera and want to send that image with a text to some other number. But I am not getting how to send the image via the MMS. 回答1: MMS is just a htttp-post request. You should perform the request using extra network feature : final ConnectivityManager connMgr = (ConnectivityManager)context.getSystemService(Context.CONNECTIVITY_SERVICE); final int result = connMgr.startUsingNetworkFeature( ConnectivityManager.TYPE

How to send image via MMS in Android?

戏子无情 提交于 2019-12-16 19:44:33
问题 I am working on a multimedia application. I am capturing one image through the camera and want to send that image with a text to some other number. But I am not getting how to send the image via the MMS. 回答1: MMS is just a htttp-post request. You should perform the request using extra network feature : final ConnectivityManager connMgr = (ConnectivityManager)context.getSystemService(Context.CONNECTIVITY_SERVICE); final int result = connMgr.startUsingNetworkFeature( ConnectivityManager.TYPE

Custom Android MMS/SMS application from source code?

只愿长相守 提交于 2019-12-14 01:19:03
问题 Okay here's the deal: I want to download the full source of the MMS/SMS application that ships with Android phones. I want to be able to modify it, and add a little custom functionality to it. I am developing using Eclipse, and I'm on Windows 7. I have noticed that there is now a Git for Windows, but I am pretty lost in it and not sure how to integrate everything with Eclipse. Basically, I want to just get it to the point where I have all the source code visible in Eclipse and be able to see

How to detect MMS fully downloaded in Android?

空扰寡人 提交于 2019-12-13 17:48:32
问题 I want to implement a BroadcastReceiver that is triggered after a MMS is fully downloaded . I already know about the android.provider.Telephony.WAP_PUSH_RECEIVED action but this is triggered when the first part of the message is received, not when the message is fully downloaded (which is when the new message indicator icon shows up). After some digging, I found an action called android.intent.action.TRANSACTION_COMPLETED_ACTION in the Messaging source code ( /src/com/android/mms/transaction