1.remove a .apk from emulator

ganquan@debian:~$ adb shell
# ls
sqlite_stmt_journals
cache
sdcard
etc
system
sys
sbin
proc
init.rc
init.goldfish.rc
init
default.prop
data
root
dev
# cd data
# ls
misc
local
data
app-private
app
property
anr
dalvik-cache
system
lost+found
# cd app
# ls
com.example.now.apk
com.android.hello.apk
com.example.helloandroid.apk
com.android.demo.notepad1.apk
# rm com.android.hello.apk
# exit

2.use my keyboard to operate emulator:

ganquan@debian:~/android-sdk-linux_x86-1.5_r2/tools$ emulator -help-keys
 
When running the emulator, use the following keypresses:
 
HOME                    Home button
F2, PAGEUP              Menu (Soft-Left) button
Shift-F2, PAGEDOWN      Star (Soft-Right) button
ESCAPE                  Back button
F3                      Call/Dial button
F4                      Hangup/EndCall button
F7                      Power button
F5                      Search button
KEYPAD_PLUS, Ctrl-F5    Volume up button
KEYPAD_MINUS, Ctrl-F6   Volume down button
Ctrl-KEYPAD_5, Ctrl-F3  Camera button
KEYPAD_7, Ctrl-F11      switch to previous layout
KEYPAD_9, Ctrl-F12      switch to next layout
F8                      toggle cell network on/off
F9                      toggle code profiling
Alt-ENTER               toggle fullscreen mode
F6                      toggle trackball mode
DELETE                  show trackball
KEYPAD_5                DPad center
KEYPAD_4                DPad left
KEYPAD_6                DPad right
KEYPAD_8                DPad up
KEYPAD_2                DPad down
KEYPAD_MULTIPLY         increase onion alpha
KEYPAD_DIVIDE           decrease onion alpha
 
note that NumLock must be deactivated for keypad keys to work