Scenario:
You start your program and you are not in Touchmode.
You open the options menu by clicking on the "menu" hard-key (so you
are still not in Touchmode).
Now, instead of using the Dpad to select a specific option, you
<finger-touch> or <mouse-touch> the option you wish to select.  Now
you are in TouchMode.  However, there is an issue as to when Android
recognizes that you are in TouchMode.  If you perform an isInTouchMode
() query in the code for the option you have selected, it returns
false (i.e. "nope, not in TouchMode yet"). Even if you perform an
isInTouchMode() query in the code for onOptionsMenuClosed(), Android
still returns false (i.e. "nope, not in TouchMode yet").  But after
the app returns from the OptionsMenu, it is in fact in  TouchMode.

I don't think this is proper behavior, since I need to know at the end
of my OptionsMenu whether or not I will be returning to my activity in
TouchMode or not in TouchMode, so I can take appropriate action.  Is
there another method that runs after onOptionsMenuClosed() that will
register the proper TouchMode behavior?

thanks
Jim
--~--~---------~--~----~------------~-------~--~----~
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