2 messages in com.googlegroups.android-beginnerskeyDown event on a gridview
FromSent OnAttachments
hars...@gmail.com25 Jan 2008 02:05 
hars...@gmail.com25 Jan 2008 02:35 
Subject:keyDown event on a gridview
From:hars...@gmail.com (hars@gmail.com)
Date:01/25/2008 02:05:53 AM
List:com.googlegroups.android-beginners

Hello,

Please let me know how to implement the onKeyDown event in a gridview. I have overriden the onKeyDown(configured the arrow keys) method of Activity class but it is behaving very strangely. When I press the arrow keys for my application, it shifts the focus from one component to another component in the gridview rather than performing the user- defined task.

I am using KEYCODE_DPAD_DOWN, KEYCODE_DPAD_UP, KEYCODE_DPAD_RIGHT, KEYCODE_DPAD_LEFT codes which are correct for the application.