How to simulate an incoming call to an emulator OR Send an SMS to an emulator in ANDROID ?

By | April 12, 2011

Hello everyone……
Of course for the above question there are other ways to do it.

This is one simple method
Start two emulators and call each other, but the problem is it will be time consuming and memory will be consumed.

Another method
1. First start your emulator and make sure it’s running.
2. Then go to command prompt in windows by hitting CTRL+r and typing the cmd command in
the run window.
3. Type telnet and press enter
(If it is not working in Windows 7 then see this article to how to enable telnet in Windows7)

4. Type o localhost 5554 and press enter.(if your emulator serial number is 5554)

5. To call use gsm call phone_number

Now to accept the call use

6. gsm accept phone_number

7. To cancel the call use this
gsm cancel phone_number

Now how to send SMS to the emulator
8. sms send emulator_serial_number

However you can type help on the prompt for checking out more options
Or type help gsm etc, you will get help regarding gsm

To exit the android console type exit.
To exit telnet type quit.
Enjoy……..

Please leave comments if you found this tutorial useful or if you have any doubt.

6 thoughts on “How to simulate an incoming call to an emulator OR Send an SMS to an emulator in ANDROID ?

  1. Pingback: Simulating a call or SMS in your ANDROID Emulator, A simple Method. | Coderz Heaven

  2. Pingback: How to get the SMS sent to your emulator within your application? OR Get notified when an SMS arrives to your phone. | Coderz Heaven

  3. Pingback: How to get notified during an incoming call and get that number inside your program in ANDROID? | Coderz Heaven

  4. Sneha

    how can we connect to a different emulator located at different ip Address instead of localhost??

    Reply
  5. Pingback: How to get the SMS sent to your emulator within your application? OR Get notified when an SMS arrives to your phone. | Coderz Heaven

  6. Pingback: How to send an SMS from an android application? | Coderz Heaven

Leave a Reply

Your email address will not be published. Required fields are marked *