Chiggins
Chiggins

Reputation: 8397

Sending SMS and MMS

I'm looking at replacing the default Android text messing app with my own, but I don't exactly know how to send SMS and MMS text messages. I would like to at least get it so that I can send SMS first, since I would assume that sending MMS would be much more difficult.

So, what exactly should be done when sending messages of these types? Any code examples that would be easy enough to understand?

Thanks!

Upvotes: 1

Views: 2623

Answers (2)

Macarse
Macarse

Reputation: 93173

Check the android-smspopup source code.

Upvotes: 2

CommonsWare
CommonsWare

Reputation: 1007379

So, what exactly should be done when sending messages of these types? Any code examples that would be easy enough to understand?

Use SmsManager. Here is a sample project showing the basics of sending an SMS, either through the default client or by using SmsManager. I do not believe there is a public API to send MMS, though.

Upvotes: 0

Related Questions