Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can I send MMS

 
Pratik Goswami
Ranch Hand
Posts: 136
Android Chrome Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Prajkti Khadse
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
com.google.android.mms.MmsException: No content provider: \sdcard\potrait.PNG

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

Regards,
Prajkti
 
Pratik Goswami
Ranch Hand
Posts: 136
Android Chrome Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic