Sending SMS to android simulator

Recently i was working on application that sends SMS to mobile device, I used Twillio for sending the SMS to real device but i wanted to test sending of SMS on Android simulator so i followed these steps
  1. First thing that i had to do was to start the Android emulator
  2. Once the emulator was started connect to it on telnet by executing telnet localhost 5554 command
  3. Then on the telnet send it command to send sms using following syntax sms send <senderphoneno> <SMS text>
Now i can see the SMS in my Android emulator like this

No comments: