Re: [android-developers] Keys don't work with SurfaceView

2010-01-13 Thread Dianne Hackborn
Key input and focus handling occurs exactly the same as a regular view -- really all SurfaceView is, is just a regular view that draws a transparent area for itself, and creates and display a (non-input-receiving) window behind its own window. On Wed, Jan 13, 2010 at 11:41 AM, guiha...@gmail.com w

[android-developers] Keys don't work with SurfaceView

2010-01-13 Thread guiha...@gmail.com
Hi, I have this View: public class Launcher4A extends SurfaceView implements SurfaceHolder.Callback, OnKeyListener { public Launcher4A(Context context) { super(context); System.loadLibrary("tcvm"); instance = this; surfHolder = getHolder(); surfHolder.addCallba