I am developing one application that has many controls to format the text.The controls are like colors,Font Style,Border,Giving Background to Text,and even animations.
My Question is can I send this formatted text through SMS and MMS to my friends?is apple support this?
please give me any link or any reference where i can study this and implement it in my project.
thanx in Advance....
As far as I know its not possible, I have seen SO many of these apps on the store that basically just save as a picture and send as a picture.
As of now... in the SDK MFMessageComposeViewController doesn't support MMS.
Although you can render an image and send it.
HOW DO THEY DO IT????
They might send a request back to their server which sends an mms from there?
Here are some options:
This is not possible with the current MessageUI API: the MSMessageComposeViewController doesn't accept attachments like the MFMailComposeViewController does.
The only way to do this currently is to use an external service that allows you to send mms via a REST call for example.
GSMA defines a REST specification for exactly this purpose: http://www.gsmworld.com/oneapi/reference_documentation-version_1.html (multiple pdf's on this page)
Try to find a local service provider that implements this specification and you're good to go.
Just to add the direct wiki link to the OneAPI MMS spec: http://gsma.securespsite.com/access/Access%20API%20Wiki/MMS%20RESTful%20API.aspx and a link to the PHP/Java sandbox https://github.com/OneAPI/GSMA-OneAPI where MMS can be tested locally . Cheers.
Apple only supports sending of SMS text messages, use the MFMessageComposeViewController.
Since sms only supports sending plain text you can't set any format.
MFMessageComposeViewController does not support MMS, which would allow you to send formated messages.
Related
I am trying to implement an MMS functionality in my app. Because I need
to send text and two images at the same time and I already have an email functionality.
Unfortunately, the current SDK does not allow sending MMS yet.
What is the easiest and cheapest way to create add an MMS functionality to my app?
There is no way to this in the current version of the iPhone SDK.
You will need use your own MMS server and create your own API to talk to that server.
I'd like to be able to send text messages in my app on iOS. I know that I have to use the MessageUI framework. My question is if it is possible to automate the process, of sending, say 100 text messages at once, while modifying the message ever
iPhone apps have absolutely no access whatsoever to SMS (without using private auto-reject calls), no sending, no intercepting received messages, no reading what messages on on the device. You can set up messages for the user to send, but you can't send anything automatically.
I wouldn't advise doing so.
But if you did, I would advise doing it through your own SMTP client, as opposed to using the Messaging UI.
SMTP is a very simple protocol, or you can use an existing library, like http://code.google.com/p/skpsmtpmessage/
Is there an API in the iOS SDK that deals with text messaging?
MessageUI.framework is what you are looking for.
You can use MFMessageComposeViewController to show system composer for sms.
The MFMessageComposeViewController class presents a standard system interface for composing SMS text messages. You use this class to configure the initial recipients and body of the message and to configure a delegate to respond to the final result.
Yes:
http://developer.apple.com/library/ios/#documentation/MessageUI/Reference/MessageUI_Framework_Reference/_index.html
However, as stated in the iOS documentation:
Important: If an iOS-based device is
not configured to send a given type of
message, you should avoid displaying
the corresponding composition
interface. The view controllers in
this framework provide methods for
determining if support is available
for a given message type.
MessageUI.framework will work, and give you SMS and Email message capabilities
BUT
Note that this only works in iOS 4.0. Which means it will not work (currently) on the iPad.
MessageUI.framework will give you ability to compose and send SMS and Emails from iphone, but as per my knowledge there is no way to access SMS or Email from you native app to your app.
I'm trying to implement an app that can read received SMS and email out. I mean convert the text content to voice. So I need to access to SMS and email first. As far as I know, there is no such API provided in the default SDK. Is there any other way to realize it?
Are the SMS messages stored in database(sms.db)? How to access to them? Is it only possible on jailbroken iphones?
And what about emails? Are they only stored in mail servers? How can I get them in my app?
Sorry for asking so many questions. I have spent many days on this problem, but havn't found any solutions...
You can't. According to the Device Features Programming Guide: Sending an SMS Message:
In iPhone OS 4.0 and later, you can send text messages from within your application. This feature is strictly for sending messages. Incoming SMS messages go to the built-in Messages app.
There are serious privacy and security concerns with enabling app access to emails and SMS, and I am glad Apple choose not to do it.
Yes, you can, (at least with SMS) but only in a jailbreak app (which you suggest is ok in your comments).
The sms.db file can be read by apps that aren't sandboxed.
See my answer to a similar question for how to get SMS content. That answer just shows how to get the most recent SMS, but if you just use the commented out while loop, you can iterate through all SMS.
i have implemening image sharing functionality in my application.
I have implemented email sharing functionality but i dont know MMS functionality.Please advice me how to implement MMS functionality.
It's impossible with current API.
I've seen a workaround in SMS-box application: it copies text and image to clipboard and then asks user to paste it in standard sms app.
You can see it in http://www.youtube.com/watch?v=M2gY5w1QUnY (from 2:15)