Sunday, April 24, 2011

[android-developers] SMS -Sending

Hi,


In my application i need to send and receive sms programmatically . I have tried using this snippet , 

SmsManager smsManager = SmsManager.getDefault(); 

smsManager.sendTextMessage(destAddr, null, mMessageText, null, null); 

//exact example is 

SmsManager smsManager = SmsManager.getDefault(); 

smsManager.sendTextMessage("918147242231", null,"hello", null, null); 


but my application is crashing . Please help me in this its very urgent . 


Thanks in advance 



 -- 
Thanks&Regards
Kaushik Pendurthi

http://kaushikpendurthi.blogspot.com/

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate