Вы находитесь на странице: 1из 9

Samsung Galaxy Tab Emulator

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 applications display scales to the Tabs 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

2. Check the box for the GALAXY Tab add-on, and press Install

Selected.

The Installation takes several minutes. NOTE: 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.

6. For SD card, enter the size of the memory. The minimum is 9MB. In this

example, 18 MB is used.

7. Press the Create AVD button.

8. The following window appears, asking for the size you want:

Select a screen size that fits on your monitor. Otherwise, you wont be able to see the entire emulator window.

9. The Tab emulator takes a few minutes to start, then appears:

10. To change the orientation to landscape, use 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:

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. Emulated Device Key Home Menu (left softkey) Star (right softkey) Back Call/dial button Hangup/end call button Search Power button Audio volume up button Audio volume down button Camera button Switch to previous layout orientation (for example, portrait, landscape) Switch to next layout orientation (for example, portrait, landscape) Toggle cell networking on/off Toggle code profiling Toggle fullscreen mode Toggle trackball mode Enter trackball mode temporarily (while key is pressed) DPad left/up/right/down DPad center click Onion alpha increase/decrease Keyboard Key HOME F2 or Page-up button Shift-F2 or Page Down ESC F3 F4 F5 F7 KEYPAD_PLUS or Ctrl-5 KEYPAD_MINUS or Ctrl-F6 Ctrl-KEYPAD_5 or Ctrl-F3 KEYPAD_7 or Ctrl-F11 KEYPAD_9 or Ctrl-F12 F8 F9 (only with -trace startup option) Alt-Enter F6 Delete KEYPAD_4/8/6/2 KEYPAD_5 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.

Вам также может понравиться