Button - onKeyDown()

by redhatab » Wed, 25 Jun 2008 12:17:26 GMT

Sponsored Links

Is it possible to do something while a key is being clicked or is in
focus by the arrow keys.

For example, suppose there are multiple buttons on the screen. Now in
the keyDown event, can we change the text of the button. Or even if
the arrow keys are used to navigate through the buttons, and when this
particular button is in focus, can we make the changes to that
particular button.

And help is greatly appreciated.


Button - onKeyDown()

by Raj » Wed, 25 Jun 2008 15:21:20 GMT

 use OnFocusChangeListener interface and override its OnFocusChanged
method and set images to buttons it will work


Sponsored Links

Other Threads

1. Browser App: Soft Keyboard int

I have a web page specifically designed to be displayed on the Android

We would like to customize the soft keyboard or interact with the
keyboard. Is there any practices suggested in this scenario ?

We do not have access to the Java SDK because it is purely an web page
(not running inside WebView).

Any suggestions appreciated.



2. Question about Android framework compatibility Suite

Hi There,

I would like to know more about Android framework compatibility in bit
more details. As per my understanding this is used to check incase a
new application API's are not disturbing the existing codebase

Going ahead, I would also like to know how we can access Android
framework compatibility Suite source code, get compiled to make it
work, etc etc.

Note that my organization is NOT an OHA Member, and also we are not
and OEM.

Thanks in Advance.


3. Adding new Menu-Buttons to Youtube Application

4. SKIA archetectural and design docs

5. opencore PVPlayerEngine::SetPlaybackRate cannot work

6. Online Dating and friend finder

7. Random animation order question