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
presses."

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?

tia.

--



Other Threads

1. How to connect Android Phone to Windows Laptop through bluetooth

Hi All,

I want to connect Android Phone to Windows Laptop through bluetooth. I
tried but it is not pairing.

Please let me know the steps to be followed to connect.

Thanks
Gururaja  B O

-- 

2. Video transition effects during Playback?

Is there an easy way to insert transitional effects during Video
playback from the available APIs? Or is this something that would have
to be done outside of Android (Native code implementation)?

Thanks,

Abhi

-- 

3. preventing orientation change during video playback

4. Saving ArrayList to .txt file

5. ListView items cut off in 1.5, but not 1.6+

6. Transparent Text Field?

7. Changing Launch activity seems to not work on Update