What exactly are you trying to do? Unless you got and handled a corresponding key down, you should not be doing anything with key ups. Up events can be delivered very spuriously -- for example if a down causes focus to move somewhere, the up will be delivered to the new focus target.
On Thu, Dec 17, 2009 at 8:39 AM, sdphil <[email protected]> wrote: > 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. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

