sendTextMessage(phoneNumber, null, message, null, null); always returns success even when message not sent

前端 未结 3 1043
走了就别回头了
走了就别回头了 2021-01-22 06:55

I tried sms activity using this link but the problem is that it always gives \"message sent\" how to know if the message is really sent!

here is code

try         


        
3条回答
  •  不要未来只要你来
    2021-01-22 07:27

    I also faced similar NPE scenario but problem at my end was due to wrong phone number.

    So you must also check if phone number was correct or not.

提交回复
热议问题