我的移动电话有时是发送文字信息,但大多数电话都非常有用,但我开始接收一些用户的电子邮件,称这些电文是线索。 这里使用的是:
SmsManager sms = SmsManager.getDefault();
sms.sendTextMessage("+12223334444", null, "test sms", null, null);
I ve read somewhere that I should use the PendingIntent, so i tried it as follows:
PendingIntent sentPI = PendingIntent.getBroadcast(context, 0, new Intent("SMS_SENT"), 0);
PendingIntent deliveredPI = PendingIntent.getBroadcast(context, 0, new Intent("SMS_DELIVERED"), 0);
SmsManager sm = SmsManager.getDefault();
sm.sendTextMessage(number, null, message, sentPI, deliveredPI);
So far I have gotten emails from users of Samsung Galaxy S II, Sprint Evo Shift, Samsung Sidekick phones.
www.un.org/Depts/DGACM/index_spanish.htm 请铭记这部电话并不具体,即在其中两部电话(我的朋友)上测试了电灯,文本电文通常发送<>。