Android

Samsung GALAXY Tab Emulator
May 5, 2011
18

The Tab emulator is a simple way to test your Android application on a simulated Galaxy Tab. The emulator does not simulate all features of an actual Tab, however. The emulator does however allow you to see how your application’s display scales to the Tab’s 7” screen.

Installing the Tab Emulator using Eclipse

The Android SDK must be installed first before the Galaxy Tab emulator can be added as an Android Virtual Device (AVD). The AVD Manager allows you to install the Galaxy Tab add on. To install and run the Galaxy Tab add on, perform the following steps:

  1. From the Android SDK and AVD Manager, select the following :
    Available packages => Third Party Add-ons => Samsung Electronics add-ons => GALAXY Tab by Samsung Electronics., Android API 8, revision 1
    Android SDK and AVD manager
  2. Check the box for the GALAXY Tab add-on, and press Install Selected.
    The Installation takes several minutes.

    If you attempt to install it a second time, it will do so. It does not check to see if you already have it installed.

  3. Go to Virtual Devices and press New.
  4. Enter a name for the virtual device in the Name field. Note that spaces are not allowed in the name.
  5. Select GALAXY Tab Addon from the drop down list in the Target field.
    Select GALAXY Tab Addon from the drop down list
  6. For SD card, enter the size of the memory. The minimum is 9MB. In this example, 18 MB is used.
    the image of  select SD card,18MB
  7. Press the Create AVD button.
  8. The following window appears, asking for the size you want:
    Launch Option image
    Select a screen size that fits on your monitor. Otherwise, you won’t be able to see the entire emulator window.
  9. The Tab emulator takes a few minutes to start, then appears:
    Tab emulator image
  10. To change the orientation to landscape, use either Ctrl-F12 or the number 9 on your keypad with Numlock turned off.
    the image of using either Ctrl+F12 or the number 9 on your keypad with Numlock turned off
  11. The buttons and other controls on the Tab emulator work as they would on the actual device, inasmuch as possible. For example, clicking on the Apps button will bring up the apps screen:
    the image of Tab emulator

Using the Emulator

The Tab Emulator has the same functionality as the Generic Android Emulator, but with the size and appearance of the Galaxy Tab. The following location on the Android developer site applies to the Samsung Galaxy Tab emulator as well:

http://developer.android.com/guide/developing/tools/emulator.html

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_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

Other Testing Methods Available Through Samsung

In order to provide developers with the most complete testing experience possible, Samsung also offers the following programs:

  • Remote Device Lab – Developers can log into a real device in our lab and test their applications remotely.
  • Device Loaner Program – Developers can borrow devices from Samsung to test their applications.
go to top
Revision history
REVISION HISTORY DATE
First update Sep 15, 2012