In previous article we successfully installed and configured Android Emulator . Now in this article we are going to playing with emulator. I will tell you some secret way into the emulator e.g How to send message from one emulator to another or how you are able to send different commands from PC to emulator.
Sending messages from one emulator to another :
In previous article you create some emulator , Now we launch these emulator and play with them to send messages from one to another. So lets Started…!!!
Here we are with both of our emulator , one has port 5556 and another has 5554
Image may be NSFW.
Clik here to view.
To see how they send message to each other , go to one emulator and double click on message icon as shown in figure ,
Image may be NSFW.
Clik here to view.Message window will appear , double click on “new message ” . Write Your message in ” Write Message ” Box and Send to other emulator .e. g i wish to send from 5556 to 5554 so write sender address as “5554″.
Image may be NSFW.
Clik here to view.
At receiving side , you will see the message in message window . This is how you can send message from one emulator to another . Now lets have a look that how to send command from your PC to emulator .
Sending Command From PC to Emulator
click Start
Type cmd in the search field.
Type Telnet localhost <port name >
Image may be NSFW.
Clik here to view.
Now by typing “Help ” you can explore different command .Following are some interesting commands that we have :
1) To send message from PC to emualtor
Type sms send <sender address> <message>.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.In this way PC and emulator talking to each other.
2) Changing Power of an emulator.
Type power capacity 0 to change battery to 0%
Image may be NSFW.
Clik here to view.
Another interesting command is to change size of emulator .
3) Change Emulator Size :
Type window scale 0.5 to make the size half from prevision one
Image may be NSFW.
Clik here to view.
Here was the small introduction that how you play with emulator .To explore more command type “help ” and see what the other commands do.