KeyEvent and GLSurfaceView

by Mike » Sat, 28 Nov 2009 07:30:43 GMT


Sponsored Links
 Hi,

as soon as there's a GLSurfaceView in use, no other views receive any
KeyEvents.
MotionEvents however, are still working as expected.
Is there a way to prevent GLSurfaceView from swallowing all KeyEvents?

--



KeyEvent and GLSurfaceView

by Jack Palevich » Sat, 28 Nov 2009 09:10:47 GMT


 I don't think you have fully identified the problem you are
experiencing. If you read the source for GLSurfaceView, you will see
that it does nothing special to handle KeyEvents. So the problem you
are having is probably unrelated to GLSurfaceView.




--


Sponsored Links


KeyEvent and GLSurfaceView

by Lance Nanek » Sat, 28 Nov 2009 09:59:24 GMT


 Are you sure that the view you are expecting to receive key events has
focus?




--



KeyEvent and GLSurfaceView

by sixones » Sat, 28 Nov 2009 21:53:36 GMT


 If your catching the events on GLSurfaceView then return false to
indicate that the event has not been handled yet (otherwise the event
wont bubble), if not try disabling focusable and focusableInTouchMode.






--



Other Threads

1. SpinnerTest from SDK is green but doesn't work proper

Hi all,

The example unit test SpinnerTest returns green in the test process
but when I try debug this I recognized that the states of activity are
not called. I would like to know if some one test this too and debug.
Please inform me if this is some know bug in SDK examples or no one
have the same experience.

Thanks,
UnitTest fun.

-- 

2. Tombol quit

Hi android users,

Pertanyaan dasar: saya baru seminggu pake samsung spica. Kok sampe sekarang
blm nemu tombol quite, close atau exit yah? Bahkan diopera browser yg dihp
lain ada tombol quitnya tapi diandroid ga ada juga. Mohon penjelasannya..

BestRegards,

-- 
"Indonesian Android Community [id-android]" 

3. Sharing SQLite Database between activities

4. ota update

5. Contact manager

6. Help - Kernel branches omap, common branches are not syncing for fresh downloads?

7. Package com.google.android.gtalkservice importing problem