Logo Icon Logo
A Crowd-sourced Cookbook on Writing Great Android® Apps
GitHub logo Twitter logo OReilly Book Cover Art
Using Emulator Controls to Send SMS Messages to the EmulatorBack to Android Cookbook Home | Up to Chapter: Telephone Applications

Author: Rachee Singh ('racheesingh')
In Published Edition? Yes
FormatLanguage: WikiFormat

Using Emulator Controls to Send SMS Messages to the Emulator

Problem

For testing SMS based applications sending SMS to the emulator.

Solution

Emulator Control in the DDMS perspective of Eclipse allows the functionality of sending SMSs to the emulator.

Discussion

To test if your application responds to incoming SMSs, we require to send SMS to teh emulator. The DDMS perspective of Eclipse provides this function. In the Emulator Control tab, go to 'Telephony Actions' and provide a phone number. This number is any random number you would want to send an SMS. Select the SMS radio button. The messgae content that you wish to send can be typed in the message box.

See Also