관련 질문을 이미 읽었지만 대부분 SMS를 타겟팅하지 않았습니다. 내가 지금까지 발견 한 것은 :전화로 SMS를 보낼 수 있는지 확인하십시오.
TelephonyManager manager = (TelephonyManager) context
.getSystemService(Context.TELEPHONY_SERVICE);
if (manager.getPhoneType() == TelephonyManager.PHONE_TYPE_NONE) {
// I guess here are devices that are unable to send SMS
} else {
// can send SMS
}
가 TelephonyManager.PHONE_TYPE_NONE이 사실, 장치가되어 SMS를 보낼 수 없습니다? "Phone radio가 없습니다."라는 TelephonyManager.PHONE_TYPE_NONE에 대한 설명을 이해할 수 없습니다.
감사합니다.
에 체크 아웃 : HTTP : //stackoverflow.com/questions/3814258/what-is-the-procedure-to-detect-if-an-android-device-has-sms-send-capability –