SmsManager sm = SmsManager.getDefault();
sm.sendTextMessage("5556", null, "msgText", null, null);5556 represents the emulator instance On Wed, Dec 3, 2008 at 12:27 PM, javame_android <[EMAIL PROTECTED]> wrote: > > Hi, > > I have written a code for sending SMS using SMSManager. But I am > finding it difficult to test on emulator. I have set the permission > for sending the sms in androidmanifest.xml file. I have only used > sendTextMessage method of SmsManager. In that method only phone number > and text to be send are provided rest of parameters are kept null. > > Can someone provide me details for testing the code of sending SMS > through emulator. One more thing I use eclipse as IDE. > > Thanks in advance > Sunil > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

