If the application using sms-sending and receiving how is it possible to test it within the emulator?
You can emulate sending SMS messages to the Android emulator using either the Dalvik Debug Monitor Service (DDMS) tool available in Eclipse, or the Telnet client.
Now You can send an SMS or make a call using Emulator Control . In Eclipse go to window->show views->other->Emulator control . That is for sending/receiving SMS between built-in messaging application of the Android OS.
Microsoft Telnet> (b)Assuming that your Emulator is already started.And while still on the CMD,type: o localhost 5554. this should open a connection to the emulator. (c)To Emulate an incoming sms from a number say 0123456 type: sms send 0123456 Your Message.
It is so simple first start the emulator and launch your application. now if you have another project(any) launch this in another emulator. On the other emulator start sms application and send sms to the emulator in which your app is running.The phone no. is simply the emulator number like 5556 or 5554.
Now You can send an SMS or make a call using Emulator Control
. In Eclipse go to window->show views->other->Emulator control
.
Now we can use emulator's extended control to send directly to the emulator.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With