Monday, October 3, 2011

Re: [android-developers] Re: ListView and MotionEvent

The HTC Hero has a little ball that can go any direction. So it will work left/right and up/down.

With the keyboard, you should be getting onKeyEvents. Override that and watch for different keycodes and events.

http://developer.android.com/reference/android/view/KeyEvent.html

I think disable fields may still be able to receive focus for things like copy and paste. Even in desktop OSes, you can usually focus and highlight disabled fields for things like copy and paste, but just can't edit or activate them.

Try using setVisibility( View.GONE ) if you want windows to be non-accessible.

A lot of these questions seem to be not related to Android, are you trying to do things cross platform or they just an FYI type of thing? Most (if not all) Android devices will usually provide ample control. Even the upcoming (a few current) Google TVs that don't have a touch screen (one of the reason you would still support touch events for fake touch) will have plenty of control mechanisms like keyboard, directional pads, mice and touchpads.

Unless someone else that watches this group can let us know, I'm not sure there are any Android devices that work like a Blackberry with only one degree of movement type control.

Steven
Studio LFP
http://www.studio-lfp.com

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment