Sorry to double post...

I swear what I described before (setting just an OnKeyListener)
worked... but trying again today it did not. I tried to add an
OnFocusChangedListener and just calling myViewName.requestFocus();
which quite oddly worked once... but then never again...

I'm quite puzzled by this behavior. What's even more puzzling, is that
I'm trying to pick up the letter G being pressed and it seems to be
suggesting kanji (hiragana or katakana, I'm not sure which)...

Numbers work fine... why does pressing a letter steal focus away from
the GLSurfaceView?

On Nov 30, 12:18 pm, Jeremiah Sellars <[email protected]> wrote:
> Following the samples and examples, I've successfully been able to
> load a model on screen and rotate it with the DPAD keys and overriding
> the onKeyDown method of the GLSurfaceView.
>
> Trying to use a letter though, causes a small box to appear at the
> bottom accepting the text that is being typed.
>
> What I'm not entirely clear on, is since I don't have a listener
> defined in the main Activity, why those key letter key presses are
> being intercepted by some other inherent listener(?). I setup an
> OnKeyListener for the view to call my own method and that does work...
> but I'm wondering if there is perhaps a better way to handle it.

-- 
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

Reply via email to