开发者

Sending any SMS message displays an icon to display the message is "pending to networks" and "delivered to network" in Andorid

Sending any SMS message displays an icon to display the message is "pending to networks" and "delivered to network" but never displays the "delivered to handset" (or "delivered upstream") SMS status.

What is problem ? i am unable to simulate this issue ? please hel开发者_StackOverflow社区p ....


you need to setup broadcast receivers and also declare them in your manifest file. The Sms Manager has two places where the broad cast receiver works

SmsManager sms = SmsManager.getDefault();
sms.sendTextMessage(phoneNumber, null, message, sentPI, deliveredPI);

SentPI and delivered PI will do the intended work that you want.


i think the following link solve your problem,

http://mobiforge.com/developing/story/sms-messaging-android

use your code instead of Toast message.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜