3

I want to make Android apps for sending images using MMS. Here is the problem:

final ConnectivityManager connMgr = 
         (ConnectivityManager)context.getSystemService(Context.CONNECTIVITY_SERVICE);
final int result = 
         connMgr.startUsingNetworkFeature( ConnectivityManager.TYPE_MOBILE, 
                                           Phone.FEATURE_ENABLE_MMS);

Phone.FEATURE_ENABLE_MMS feature is not available.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Asshwani Singh
  • 171
  • 2
  • 11

2 Answers2

2

Just use enableMMS instead of the above constant. If you donwload the complete Android code you can get the above data.

JJJ
  • 32,902
  • 20
  • 89
  • 102
Pulkit
  • 21
  • 2
0

you can used this. Android:How to send a voice as mms attachment?

just change set type with image/png or your image path.

Community
  • 1
  • 1
Harshid
  • 5,701
  • 4
  • 37
  • 50