mms

Android video stream mms and m3u8

给你一囗甜甜゛ 提交于 2019-12-01 05:40:43
问题 I am trying to play some video streams from mms and m3u8 inside my Android application. It seems that the MediaPlayer doesn't have support on this and from what I have read on FFMPEG it seems there isn't any easy way with that also. I am using Android 2.1 SDK. Any ideas on what I should in order to make this work? There are some apps there in the store that already do this, but I don't know how. 回答1: You may try the Vitamio library, http://vitamio.org Vitamio is a multimedia framework for all

Android: Send MMS Message With Picture on SDCard

做~自己de王妃 提交于 2019-12-01 01:51:48
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-d9e529790fd8.png, which points to an existing file. When the selection menu comes up, I select my messaging app

How can my app send MMS with a photo?

旧街凉风 提交于 2019-11-30 19:29:00
I would like to compose a message from my app which I can include a photo, for example: I entered my album in the IPhone and open a photo I can click on option and then on MMS tab and the photo will be added in a message and I can send it then to a whatever contact I want. what I want is that when I click on a button on my app, a message window will open with a photo from my resources in the XCode, how can I do that? This is not possible with the current MessageUI API. The MSMessageComposeViewController doesn't accept attachments like the Mail View controller. Manu's answer is good for iOS6,

Override default android messaging application

三世轮回 提交于 2019-11-30 10:25:30
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 onReceive(Context context, Intent intent) { // TODO Auto-generated method stub //---get the SMS message

how to stream through mms://

狂风中的少年 提交于 2019-11-30 10:23:01
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! hiennt 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 station then write to a wma file 2nd thread decode this wma to PCM data using the libffmpeg. To save

Sending MMS programmatically in iPhone

天涯浪子 提交于 2019-11-29 16:55:40
Is there any way to send MMS programmatically in iPhone? I don't believe there is, not with the current SDK anyways. You can only prefill SMS messages in the Messages app using UIApplication's openURL: method. mobilesubstrate + jailbreaking + .dylib = yes xcode + apple + .app = nope if you dont care that it is unapprovable and want to do something for cydia instead then go with the first part. if not, youre kinda at a loss, sorry. I Think sending MMS is now available for iPhone-3G and iPhone-3GS.older version of iPhone can only view MMS but can't Send MMS. 来源: https://stackoverflow.com

Streaming Audio MMS:// to the iPhone

不羁的心 提交于 2019-11-29 13:05:42
问题 I'd like to stream a mms:// url to my iPhone app, but so far information on the topic is hard to come by. I know there are a couple apps out there that can do it already (FStream, WunderRadio, Tuner), and I've read a few notes about them possibly using libmms and ffmpeg to accomplish this task. Does anyone know of a way to achieve this? Is there a library out there that I'm missing, or some example to do this already? I was hoping this was going to be as easy as a simple [someLibrary

Android: what to do with application/smil MIME type

↘锁芯ラ 提交于 2019-11-29 11:46:04
问题 I am using code similar to another SO post. But my MIME type for every MMS is "application/smil". How do I determine if the MMS contains a picture, audio, text, etc? Here is the code I am using at the moment: String selectionPart = "mid =" + id; Uri ur = Uri.parse("content://mms/part"); Cursor cur = getContentResolver().query(ur, null, selectionPart, null, null); if (cur.moveToFirst()) { do { String[] values = new String[cur.getColumnCount()]; for (int i = 0; i < cur.getColumnCount(); i++) {

Twilio MMS Send Local File

血红的双手。 提交于 2019-11-29 08:59:01
We can send MMS using Twilio api in Salesforce. As i know that using that code i can send MMS using Twilio in Salesforce. Sending a MMS properties.add(new TwilioNameValuePair('MediaUrl','https://www.twilio.com/packages/company/img/logos_downloadable_round.png')); But it's seams that we have need to pass media file url. But how can we take a input of file form Local machine and send them using Twilio MMS? Rajendra, hello! Megan from Twilio here. This sounds similar to what I ran into building an OpenCV MMS implementation in this blog post . The example there is in Python specifically, after

Save/Create MMS in inbox Android

馋奶兔 提交于 2019-11-28 22:55:26
I am working on an Application which needs to be able to Save/Create a new MMS in inbox or Sent folders but I cant figure out the way. I tried the following code but it gave me exception: ContentValues values = new ContentValues(); values.put("address", "xxxxxxxxxxx"); values.put("body", "body 3"); values.put("read", "0"); getContentResolver().insert(Uri.parse("content://mms/inbox"), values); And the Exception is: ERROR/Database(118): Error inserting read=0 body=body 3 msg_box=1 date=1306153444 address=xxxxxxxxxxx ERROR/Database(118): android.database.sqlite.SQLiteException: table pdu has no