File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Android and the fly likes Can I send MMS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "Can I send MMS " Watch "Can I send MMS " New topic

Can I send MMS

Pratik Goswami
Ranch Hand

Joined: Mar 02, 2009
Posts: 136

Hello community members,

Is there any possibilities to send MMS with programmatic way? I googled but didn't find any useful.

Thanks & Regards
Pratik Goswami

iOS * Android Developer
Prajkti Khadse
Ranch Hand

Joined: Apr 02, 2009
Posts: 52
Hello Pratik,

I tried to send MMS programmatically.
I googled and Came across this post.

According to that, i tried

but when i run the application, it gives me an Exception as No content provider: \sdcard\potrait.PNG

If you have Solved the Problem, Please Please let me Know.

Pratik Goswami
Ranch Hand

Joined: Mar 02, 2009
Posts: 136

Hi Prajkti
Thanks for response.
From your code I assume that passed content URI is wrong. So get right content URI from external media and then pass it to developed code.

I think we have already discussed about media content @ here

If you get success then share code. Best Luck.

Thanks & Regards
Pratik Goswami
Monu Tripathi

Joined: Oct 12, 2008
Posts: 1369

This could be unrelated but I thought of sharing nevertheless..If you type an SMS message in your emulator and it has more than (160 * 3) characters the message is automatically converted(or is it promoted) to MMS

[List of FAQs] | [Android FAQ] | [Samuh Varta]
I agree. Here's the link:
subject: Can I send MMS
jQuery in Action, 3rd edition