Trackball button highlighting?

by Sundog » Fri, 31 Oct 2008 00:34:15 GMT

Sponsored Links
 Hello all, I'm the author of Nitoware Mahjongg Solitaire. The game
uses many small ImageButtons, and I expected the trackball to "just
work" as an alternative to touching them, but although it SEEMS to be
working, the user can't see any feedback that lets them know where the
trackball is so they can use it.

Does anyone know a way around this?


Trackball button highlighting?

by zl25drexel » Fri, 31 Oct 2008 04:54:48 GMT

 You are looking for onFocused(), I believe there's a onFocuseListener
you can set.


Sponsored Links

Trackball button highlighting?

by Sundog » Fri, 31 Oct 2008 23:23:39 GMT

 Thank you very much. I should have seen that myself.


Other Threads

1. lightweight minimalist hardware for android

I suspect android MAY be overkill, but are there any lightweight/
inexpensive hardware that will do the minimal functionality etc? I'd
like to see about the viability of using android in small, low power
embedded devices that dont need 3d etc.

I'd LIKE the following
Basic display, no need for video, no need for 3d
basic sound (playing sound  effects)
wifi at very most as far as network goes
serial/usb input.

If this is the wrong place to ask, please let me know where would be a
better place so I can quit bothering you folks.


2. Which Intent Flags when setting PendingIntents in multiple app widget scenario?

Try FLAG_ACTIVITY_SINGLE_TOP and then override onNewIntent() in your
activity -- you should get the extra that way.

Mark Murphy (a Commons Guy) |

Android Training in US: 14-18 June 2010:


3. Prescale Background Example / Speeding up WebViews

4. Problem in renaming file in Sdcard

5. Listen to the CheckBox event in a ListActivity

6. accessing and changing Sync setting for android 1.5, 1.6 and more

7. Something wrong here, didn't expect to be resumed