Sky Infotech Introducing Android Emulator

18 0 0
                                    

Sky infotech with one more Android tutorial lets you know about android emulator. Theemulator lets you develop and test Android applications without using a physical device. Emulator lets you emulate the real device with all its functionalities without purchasing the real device. Android emulator lets you emulate different android configurations by creating android virtual devices.

In this chapter we will  explore different functionalities with sky infotech in the emulator that are present in the real android device.

Creating AVD

If you want to emulate a real device, first create an AVD with the same device configurations as real device, then launch this AVD from AVD manager.

Creating Snapshots

Creating snapshots mean saving an emulator state to a file that enables the emulator to be started quickly the next time you try to launch it. The one of the biggest advantage of creating snapshots is that it saves the boot up time.

In order to create snapshot, check mark the option of snapshot while creating your AVD. The first time you launch the emulator , it will take the usual time of loading. But when you close it and start it again, you will see a considerable amount of time reduction in appearing of emulator.

Changing Orientation

Usually by default when you launch the emulator , its orientation is vertical, but you can change it orientation by pressing Ctrl+F11 key from keyboard.Once it is launched, press Ctrl+F11 key to change its orientation

Emulator – Sending SMS

You can emulate sending SMS to your emulator. There are two ways to do that. You can do that from DDMS which can be found in Eclipse, or from Telnet.(Network utility found in windows).

SENDING SMS THROUGH TELNET.

Telnet is not enabled by default in windows. You have to enable it to use it. Once enabled you can go to command prompt and start telnet by typing telnet.

In order to send SMS , note down the AVD number which can be found on the title bar of the emulator. It could be like this 5554 e.t.c. Once noted , type this command in command prompt.

telnet localhost 5554

Press enter when you type the command. It is shown below in the figure.

You will see that you are now connected to your emulator. Now type this command to send message.

sms send +1234567 your sms goes here

Once you type this command , hit enter. Now look at the AVD. You will receive a notification displaying that you got a new text message. It is shown below:

You've reached the end of published parts.

⏰ Last updated: Sep 01, 2014 ⏰

Add this story to your Library to get notified about new parts!

Sky Infotech Introducing Android EmulatorWhere stories live. Discover now