I'm having a similar issue.  I guess you could set up listeners for
key up/down (and/or scroll), and check to see where the focus is.
It's tacky, but I think it would work for a simple scroll list.  Not
sure if this would work for all phones though, and it would definitely
be a good thing to have.


On Dec 26, 11:46 am, blindfold <seeingwithso...@gmail.com> wrote:
> In other words, what is the rationale behind Android lacking something
> like an android.view.MenuItem.OnFocusChangeListener, while there does
> exist an android.view.View.OnFocusChangeListener? After all, the
> ListView - which is functionally not all that different from a Menu -
> supports both a setOnFocusChangeListener() and a setOnItemClickListener
> (). Why was Menu not designed as a subclass of View such that it would
> have naturally inherited the listeners? Android currently seems to
> lack some key functionality for accessibility.
>
> Regards
>
> On Dec 26, 11:39 am, blindfold <seeingwithso...@gmail.com> wrote:
>
> > How can one track menu navigation events, that is, changes in focus as
> > the user moves from menu item to menu item, i.e., yet without
> > selecting (clicking) a menu item? The
> > android.view.Menu.OnSelectionListener, which seemed to fit the bill,
> > has been dropped from earlier versions of the Android SDK. Unlike for
> > instance Button or ImageButton, Menu is not a subclass of
> > android.view.View (which holds listeners) but of android.view, and I
> > do not see how I can make OnFocusChangeListener() work with menu
> > navigation?
>
> > Tracking menu navigation events is required for making Android
> > accessible to the blind through associated audio feedback, for
> > instance by invoking the TTS-for-Android library to speak the menu
> > items.
>
> > The earlier android.view.Menu.OnSelectionListener was described as
> > "onSelection(Item item, boolean selected) called when the selection
> > state of a menu item changes, due to the user moving in or out of it".
> > How can one implement this same functionality with the current SDK 1.0
> > r2?
>
> > Thanks
>
> > The vOICe for Androidhttp://www.seeingwithsound.com/android.htm

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to