2
내 앱에서 5 자리의 휴대 전화 번호를 사용하는 서버로 SMS를 보내고 있습니다. 4.2.2 OS에서에서 smsManager.sendTextManager를 사용하여 SMS를 보낼 때 문제가 발생합니다.
, 얼마나/OK 버튼을 취소 처리 할 수
Q. 편집 팝업
아래 나 한테 물어?
내 앱에서 5 자리의 휴대 전화 번호를 사용하는 서버로 SMS를 보내고 있습니다. 4.2.2 OS에서에서 smsManager.sendTextManager를 사용하여 SMS를 보낼 때 문제가 발생합니다.
, 얼마나/OK 버튼을 취소 처리 할 수
Q. 편집 팝업
아래 나 한테 물어?
이 작동합니다 ...
switch (getResultCode()) {
// if cancel pressed then result code is 5
case 5:
System.out.println("Message cancelled........");
break;
// else if send pressed then result code will be one of these below cases
case Activity.RESULT_OK:
break;
case SmsManager.RESULT_ERROR_GENERIC_FAILURE:
break;
case SmsManager.RESULT_ERROR_NO_SERVICE:
break;
case SmsManager.RESULT_ERROR_NULL_PDU:
break;
case SmsManager.RESULT_ERROR_RADIO_OFF:
break;
}
무슨 wrrong 그것? Wheres 오류 ?? –
내 질문에 취소/확인 버튼을 처리하는 방법은 무엇입니까? –