onKeyUp in 2.0 gets called even when focus is in a TextView

by sdphil » Fri, 18 Dec 2009 00:39:16 GMT

Sponsored Links
 according to the documentation --

 http://developer.android.com/reference/android/app/Activity.html #onKeyUp%28int,%20android.view.KeyEvent%29

"Called when a key was released and not handled by any of the views
inside of the activity. So, for example, key presses while the cursor
is inside a TextView will not trigger the event (unless it is a
navigation to another object) because TextView handles its own key

My activity's onKeyUp should not be getting called when the cursor is
inside a TextView.  This is the behavior I see in Android 1.5 and 1.6,
but in 2.0 my activity's onKeyUp is still getting called when the
cursor is inside a TextView -- am I mis-interpreting this?



Other Threads

1. Learn Android Online

Hello Everyone.

If you're interested in learning how to develop top class games and
applications for the iPhone, HTC Touch (Android), Instinct, WinMobile,
or any other mobile device or platforms - then you should definitely
have a look at what they offer...  http://www.***.com/ .

The classes are taught as a combination of various online modules and
you get the ability to work on live industry projects, alongwith an
opportunity to be placed in top mobile {*filter*} and mobile application
development software companies.

Register today .. http://www.***.com/ 

Let me know how it goes, and if you need anything else.

Dushaynt Tomar
unsubscribe: android-porting+unsubscr...@googlegroups.com
website:  http://www.***.com/ 

2. failed to install applications on G1 through USB

There may be your previous application exist in the device

search by

adb ls /data/app

it will list all the applications installed in  your device

Try to uninstall by using command

adb uninstall

if problem exists then try to rename your package, compile sign and try to

if you change your package name then it don't show any error

Dilli Rao. M
+91 - 9703073540


3. how to share or pass data across two projects

4. Scrollview scrolling

5. For Androip Queries

6. Do we need UAProf/x-wap-profile in Android.

7. Not able to connect to internet through proxy