안드로이드 개발 질문/답변
(글 수 45,052)
sms관련 어플을 제작중입니다.
SmsManager를 사용하려는데, 받는 사람 전화번호로만 보낼 수 있고
보내는 사람 전화번호를 적을 수가 없더라구요.
어플 특성상 보내는 사람 전화번호가 변경 가능해야 하는데...
SmsManager 말고 다른걸 이용해야 할까요.
SmsManager를 사용하려 했더니 이클립스에서
Multiple markers at this line
- The type SmsManager is deprecated
- The method getDefault() from the type SmsManager is
deprecated
- The type SmsManager is deprecated
경고가 나오더라구요.
-----
SmsManager sms = SmsManager.getDefault(); sms.sendTextMessage("01011112222", null, "문자내용", sentIntent, deliveryIntent)