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. Build for 32bit

How can I make sure that android is built for 32bit on my 64bit
machine? I guess my previous problem to run the installer on a Geode
GX1 machine came from the fact that the installer has been built for
64 bit and not 32. I tried to send CFLAGS=-m32 LDFLAGS=-m32 to the
build command together with the target arch and so. But will this
work?

Thanks,
Dani


--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Can I use string begin with '@' in XML

Hello All,

In android resource, prefix '@' is used to reference another resource.
But I want to set an attribute with a string begin with '@', instead
of reference resource.
For example <position value="@home"/>
How can I escaping the '@'?

yours,
Oxygen

--~--~---------~--~----~------------~-------~--~----~

3. HelloWorld] Could not find HelloWorld.apk!

4. email adresses from Contacts.ContactMethods

5. Issue regarding Changing textColor

6. Market Limitation

7. How to get all list of running applications onto the emulator.