how to attach a Audio file to the MFMessage Composer - iphone

I an new to Iphone developing now i have a problem with MFMessageComposer how to attach a audio file with message like MMS .I knew how to attach attachments to MFMailComposeViewController but i want for MFMessageComposeViewController please help...
Thanks in Advance

No ,you just can't share images,video or audio file s from your app in iOS
This is perhaps because of the infringement issues

MFMessageComposeViewController has a couple of addAttachment... methods that should be useful for what you are trying to do.

Related

How to stream out video from iphone?

I want to make an application to stream out a UIVIEW. So it can be watch from a webplayer for example Flash or HTML 5. But I am really lost how to start. Any Idea would be appreciated.
I've also been working on such a project recently and I found the help of these websites very useful: http://www.html5rocks.com/en/tutorials/getusermedia/intro/, http://davidwalsh.name/browser-camera, or https://simpl.info/getusermedia/sources/
It can be done via HTML5 and Javascript and it's relatively easy to do.
Hope they help!
EDIT: Maybe I misinterpreted your question. Do you want to stream the camera from the iPhone, or do you want to stream the screen of the iPhone?

Send image in text message on ios

I'm trying to figure out how some apps send images attached to text messages. I don't see anything in MFMessageComposeViewController so ... any idea ?
it is not currently possible;
Is it possible to send a picture message using iPhone SDK?
however there are alternatives;
alternative for MFMessageComposeViewController

auto answer the phone and play a pre-recorded sound file.in iphone?

HI,
i want to create an iphone.
The app should be able to auto answer the phone and play a pre-recorded sound file.
Can it be done without using private frameworks??
if yes, than any suggestions, how can i do this?
Thanks
No, it can not be done with out private frameworks.

MMS Streaming in iPhone Application

hope you all are fine and also in one of your best of moods!!
I have a query to ask you.
I have few mms at server side. I want to stream those mms clips and want to open in my Application.
anybody has any idea how to do this??
kindly share your knowledge...
Looking forwards!!
Regards,
Arun Thakkar
You can either open your MMS url directly in a UIWebView or in a MPMoviePlayerController.
Properly encode your MMS file, so that can be played in iPhone.
e.g. http://ec2-174-129-153-104.compute-1.amazonaws.com:1935/vod/smil:BigBuckBunny.smil/playlist.m3u8

Record and email audio files on the iPhone?

is it possible to record the sound in iPhone 2.1 and then attache it in mail? I have to record any sound on one button click. Please help for that.
I believe that the iPhone 2.1 SDK does not have any APIs to attach an audio clip in mail.
I believe you could do this if you wrote your own email app and were able to properly encode the data from our audio file as an attachment. From what I have read the current sandbox environment for the Mail is only allowed to look into pictures for attachments.