Tip

The Power On/Off, Volume Up, and Volume Down buttons are slightly hidden to the sides of the virtual device. They identify themselves when you hover the mouse pointer over them.

injK.i

Power on/off -

Full telephone keypad ■

Volume up

Volume up

C3

<X

1

abc

ghi

jkl

mno

pqrs

tuv

9 wjtyz

*

0

Volume down

Full QWERTY keyboard

1

2

I

4

5 6

7

S 9

0

q

N

E

R

HH

U

I 0

P

A

5

D

F

ü H

J

HH

DIL OD

-s-'

1

X

c

V B

N

M

«J

VIM

@

! H

End call

Power on/off -

Left, right, up, down, and Select pad

Figure 4-1 Navigating with the Android Emulator

Given that many higher-end phones now include a touch screen, the second input choice you have when using the emulator is a simulated touch screen. You use your mouse as a stylus. The objects on the emulator's screen can be interacted with using the mouse.

adb.exe

Another tool that will become very useful to you when you are using command-line programming is Android Debug Bridge or adb (adb.exe). This tool allows you to issue commands to the Emulator.exe tool. When you are working in a command-line environment, the adb tool allows you to do the following:

• Start and stop the server

• Install and uninstall applications

• Move files to and from the emulator

MKSDCARD.exe

MKSDCARD.exe is a very useful tool if you are testing an application that will need to read or write files to or from an SD Memory Card inserted into the mobile device. MKSDCARD.exe creates a small partition drive on your drive that will hold and retain the test files. The emulator will treat this partition like an SD Memory Card.

DX.exe

DX.exe is the compiler of the Android SDK. When run against your Java files, DX.exe will create files with .dex extensions—Dalvik executable format. These files are in the correct format to be understood by, and run on, an Android device.

0 0

Post a comment