Previously the enter key only worked after the trackball had been
clicked at least once. Fixed by calling setFocibleInTouchMode.
Fix bug where control keys didn't work with the soft keyboard.
Fix some warnings reported by Eclipse IDE. (Missing @Overrides, needless
imports, unused variables.)
+ Makes the "Enter" key work again.
+ Makes the "Delete" key delete just one character each time you press it
instead of two.
Original author: jackpal
Merged from: //branches/cupcake/...
Automated import of CL 143272