2011-09-08 27 views
3

我想製作使用MMS發送圖像的Android應用程序。這裏是問題:如何以編程方式在Android中的MMS中發送圖像

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功能不可用。

+0

您是否使用內置功能發送彩信? –

+0

我在做類似的事情! http://stackoverflow.com/questions/14452808/sending-and-receiving-mms-in-android – toobsco42

回答

2

只需使用enableMMS,而不是上述常量。如果你下載完整的Android代碼,你可以獲得上述數據。

相關問題