You can simulate an incoming sms in an Android Virtual Device Emulator in two ways.
- Command Prompt (Windows)
- Eclipse
1. Command Prompt
- Open Command Prompt
- Type telnet
- Then type o localhost 5554
- Finally type sms send 123456 Hello
2. Eclipse
- Go to Debug mode when the Emulator is running ( Debug button is available at the top right corner of the Eclipse Window )
- Go to Window -> Show View -> Other -> Android -> Emulator Control
| Emulator Control |
- Now type the number in the Incoming number field, select SMS radio button and click on Send button to simulate the sms.
