Samsung GALAXY Tab Emulator
[Android] May 5, 2011
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:
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
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.
- Go to Virtual Devices and press New.
- Enter a name for the virtual device in the Name field. Note that spaces are not allowed in the name.
Select GALAXY Tab Addon from the drop down list in the Target field.
For SD card, enter the size of the memory. The minimum is 9MB. In this example, 18 MB is used.
- Press the Create AVD button.
The following window appears, asking for the size you want:
The Tab emulator takes a few minutes to start, then appears:
To change the orientation to landscape, use either Ctrl-F12 or the number 9 on your keypad with Numlock turned off.
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:
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:
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.
|Emulated Device Key||Keyboard Key|
|Menu (left softkey)||F2 or Page-up button|
|Star (right softkey)||Shift-F2 or Page Down|
|Hangup/end call button||F4|
|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 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
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.