[android-developers] Problem in sending sms

2010-01-21 Thread Nemat
Hi.

I am trying to send sms using SmsManager class.Here is my code:

PendingIntent pi = PendingIntent.getActivity(this, 0,
new Intent(this, SMSSender.class), 0);
SmsManager sms = SmsManager.getDefault();
sms.sendTextMessage("9001100444", null, "This is test message", pi,
null);

SMS is sent successfully but it is sent two times on the same phone-
number and aving same content.

I dont get the problem.Can anyone describe me the reason of this
problem.??

Thanks in Advance
Nemat
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Problem in Sending Sms through telnet

2008-05-22 Thread juma

Hi,



   When i send sms through Telnet .I got error."Unknown
command"


Here my command
telnet localhost 5554 and i typed in telnet as below

   "sms send +5085551212 hello"

 Is i have to mention the port number in my code?

Can anybody please tell me the reason?

Thanks
judy





--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---