Hi, Thanks for replying.
You are saying to add permission for internet but I am not using anything related to internet. I have written a simple application that just sends message. That is working fine but this problem has come when trying to implement with GUI. I have added the permission for sending sms. I want to send SMS on the click event of button. When I click the button then it gives the error as could not connect to client socket : connection refused. Any help would be appreciated. Thanks & Regards Sunil On Dec 31, 11:15 am, "Shazia Naz" <[email protected]> wrote: > Hi, > > In AndroidManifest.xml add the permission to connect to the internet. > Then it will work. > > Regards, > Shazia. > > On Wed, Dec 31, 2008 at 11:36 AM, javame_android <[email protected]>wrote: > > > > > Hi, > > > I am trying to write a simple application for sending SMS. In that one > > needs to enter a number and after fetching that number from the > > textbox sms should be send to that number. I have tried to implement > > that code on emulator. It gives could not connect to client socket: > > Connection refused. What is it? Am I missing something? > > > Hope to get a reply soon. > > > Thanks & Regards > > 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 -~----------~----~----~----~------~----~------~--~---

