Using an Emulator Skin

Prerequisites

  • Android SDK

  • At least one platform installed in Android SDK > Platforms

  • Eclipse or Android Studio

  • Samsung Emulator Skins

Steps for Using Samsung Emulator Skins Using Eclipse

  1. 1.

    Download Samsung Emulator Skins, You can download from here.

  2. 2.

    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)

  3. 3.

    Launch Eclipse IDE Integrated with Android SDK.

  4. 4.

    In Eclipse IDE go to Window > Android SDK and AVD Manager.

     [Figure 1] Start screen of the example program (main menu) [Figure 1] Start screen of the example program (main menu)
  5. 5.

    You may also click on the shortcut icon in the menu bar.

     Figure 1.1: AVD shortcut icon Figure 1.1: AVD shortcut icon
  6. 6.

    In the AVD Manager, go to Device Definitions and click "Create Device"

     Figure 2: Android AVD Manager Figure 2: Android AVD Manager
  7. 7.

    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 Figure 3: Creating a device definition
  8. 8.

    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 4: Android Virtual Devices
    Figure 5: Android Virtual Devices Figure 5: Android Virtual Devices
  9. 9.

    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 Figure 6: Creating an AVD
  10. 10.

    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 Figure 7: Launch Skin
  11. 11.

    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 Figure 8: Launch options
  12. 12.

    The Android emulator takes a few minutes to start, then appears:

    Figure 9: Samsung Emulator 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.

Steps for Using Samsung Emulator Skins Using Android Studio

  1. 1.

    Download Samsung Emulator Skins, You can download from here.

  2. 2.

    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)

  3. 3.

    Launch Android Studio.

  4. 4.

    In Android Studio, go to Tools > Android > AVD Manager.

    Figure 1: Android Studio Window Figure 1: Android Studio Window
  5. 5.

    In the AVD Manager, click "Create Virtual Device"

    Figure 2: Creating a new virtual device Figure 2: Creating a new virtual device
  6. 6.

    In the Virtual Device Configuration, click "New Hardware Profile"

    Figure 3: Creating a new hardware profile Figure 3: Creating a new hardware profile
  7. 7.

    Fill in the specifications for the skin you would like to use.

    Figure 4: Configuring hardware profile Figure 4: Configuring hardware profile
  8. 8.

    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 Figure 5: Selecting the default skin
  9. 9.

    Select the system image you would like to use for your virtual device. Example: Lollipop

    Figure 6: Selecting a system image Figure 6: Selecting a system image
  10. 10.

    Verify all configurations are correct and click the finish button.

    Figure 7: Verifying configuration Figure 7: Verifying configuration
  11. 11.

    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 Figure 8: Launch virtual device
  12. 12.

    The Android emulator takes a few minutes to start, then appears:

    Figure 9: Samsung Emulator Figure 9: Samsung Emulator

Tips on Using Emulators

  • 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:

    • Android SDK Tools, Revision 17 or higher
    • Android SDK Platform API 15, Revision 3 or higher
  • 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.

Keyboard Shortcut Keys

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

Keyboard Shortcut 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(/)

Emulator Limitations

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