发送mms失败,因为删除了startUsingNetworkFeature我找不到与此相关的任何内容。
protected int beginMmsConnectivity() throws IOException {
if (LOCAL_LOGV) Log.v(TAG, "beginMmsConnectivity");
// Take a wake lock so we don't fall asleep before the message is downloaded.
createWakeLock();
int result = mConnMgr.startUsingNetworkFeature(ConnectivityManager.TYPE_MOBILE, "enableMMS");
NetworkInfo info = mConnMgr.getNetworkInfo(ConnectivityManager.TYPE_MOBILE_MMS);
if (LOCAL_LOGV) Log.v(TAG, "beginMmsConnectivity: result=" + result);
switch (result) {
case PhoneConstants.APN_ALREADY_ACTIVE:
case PhoneConstants.APN_REQUEST_STARTED:
acquireWakeLock();
return result;
}
throw new IOException("Cannot establish MMS connectivity");
}