Android SDK
At least one platform installed in Android SDK > Platforms
Eclipse or Android Studio
Samsung Emulator Skins
Download Samsung Emulator Skins, You can download from here.
After downloading, extract the zip file and copy it in the path Android SDK > Platforms > android-x > skins. (where x is the platform version number)
Launch Eclipse IDE Integrated with Android SDK.
In Eclipse IDE go to Window > Android SDK and AVD Manager.
[Figure 1] Start screen of the example program (main menu)
You may also click on the shortcut icon in the menu bar.
Figure 1.1: AVD shortcut icon
In the AVD Manager, go to Device Definitions and click "Create Device"
Figure 2: Android AVD Manager
Fill in the specifications of the device such as the resolution, screen size and RAM and then click "Create Device"
Figure 3: Creating a device definition
Select the newly created device definition and click on the “Create AVD” button, as shown in figure 4 below. Alternately, you may go back to the Android Virtual Device tab and click the create button, as shown in figure 5.
Figure 4: Android Virtual Devices
Figure 5: Android Virtual Devices
Add the name of the AVD in the Name field. In the device dropdown list, select your newly created device definition. You may also use an existing device definition that has the same specifications as the skin that you want to use. In the Target Field select Android API level (Android API level must be same where the skin has been copied) from the drop down list available. In the Skin dropdown list, select the Samsung emulator skin you downloaded.
Figure 6: Creating an AVD
The new skin is created in the list of virtual devices. Select the new skin created and click on start button to launch the new Samsung emulator. Example: GalaxyS6.
Figure 7: Launch Skin
The following window appears, asking for the display size. Select a screen size that fits on your monitor. Otherwise, the entire emulator window will not be visible.
Figure 8: Launch options
The Android emulator takes a few minutes to start, then appears:
Figure 9: Samsung Emulator
The Samsung Emulator has the same functionality as the Generic Android Emulator, but varies with the size and appearance of the device.
Download Samsung Emulator Skins, You can download from here.
After downloading, extract the zip file and copy it in the path Android Studio > plugins > android > lib > device-art-resources. (where x is the platform version number)
Launch Android Studio.
In Android Studio, go to Tools > Android > AVD Manager.
Figure 1: Android Studio Window
In the AVD Manager, click "Create Virtual Device"
Figure 2: Creating a new virtual device
In the Virtual Device Configuration, click "New Hardware Profile"
Figure 3: Creating a new hardware profile
Fill in the specifications for the skin you would like to use.
Figure 4: Configuring hardware profile
In the Default skin, select the folder of the zip file you extracted in the device-art-resources folder.
Figure 5: Selecting the default skin
Select the system image you would like to use for your virtual device. Example: Lollipop
Figure 6: Selecting a system image
Verify all configurations are correct and click the finish button.
Figure 7: Verifying configuration
The newly created virtual device appears on the AVD manager. To launch, select the virtual device and click the play icon.
Figure 8: Launch virtual device
The Android emulator takes a few minutes to start, then appears:
Figure 9: Samsung Emulator
To change the orientation to landscape, press either Ctrl-F12 or the number 9 on your keypad with numLock turned off.
Pressing F6 starts track ball emulation.
You can enable or disable the Emulator Network by pressing F8.
The buttons and other controls on the emulator work as they would on the actual device. For example, clicking on the home button will bring up the home screen.
Make your emulator faster by using Host GPU. To use this, you will need the following versions of the Android development tools installed:
Tweak the AVD hardware configuration to speed up your emulator. Increasing the memory and setting the screen to a small size gives a minor performance increase.
When starting an AVD, you may select a screen size suitable to your computer to enlarge or reduce the size of the emulator.
The table below summarizes the mappings between the emulator keys and the keys of your keyboard. Note that you must have number lock (Num Lock) disabled in order to use the KEYPAD_# keys
| Emulated Device Key | Keyboard Key |
|---|---|
| Home | HOME |
| Menu (left softkey) | F2 or Page-up button |
| Star (right softkey) | Shift-F2 or Page Down |
| Back | ESC |
| Call/dial button | F3 |
| Hangup/end call button | F4 |
| Search | F5 |
| Power button | F7 |
| Audio volume up button | KEYPAD_PLUS or Ctrl-5 |
| Audio volume down button | KEYPAD_MINUS or Ctrl-F6 |
| Camera button | Ctrl-KEYPAD_5 or Ctrl-F3 |
| Switch to previous layout orientation (for example, portrait, landscape) | KEYPAD_7 or Ctrl-F11 |
| Switch to next layout orientation (for example, portrait, landscape) | KEYPAD_9 or Ctrl-F12 |
| Toggle cell networking on/off | F8 |
| Toggle code profiling | F9 (only with -trace startup option) |
| Toggle fullscreen mode | Alt-Enter |
| Toggle trackball mode | F6 |
| Enter trackball mode temporarily (while key is pressed) | Delete |
| DPad left/up/right/down | KEYPAD_7 or Ctrl-F11 |
| Switch to next layout orientation(for example, portrait, landscape) | KEYPAD_4/8/6/2 |
| DPad center click | KEYPAD_5 |
| Onion alpha increase/decrease | KEYPAD_MULTIPLY(*) / KEYPAD_DIVIDE(/) |
In this release, the emulator lacks support for the following features:
Placing or receiving actual phone calls. You can simulate phone calls (placed and received) through the emulator console, however.
USB connections
Camera/video capture (input).
Device-attached headphones
Determining connected state
Determining battery charge level and AC charging state
Determining SD card insert/eject
Bluetooth