Thursday, December 9, 2010

[android-developers] Retrieving Input Device Capabilities - pre 2.3

Hi all. I am working on an app that will be processing touch inputs,
and was wondering if there is a way to programatically retrieve
information about the touch input device, specifically the number of
multi-touches it supports. Typically this will be about the touch
screen, but in theory, could be any device that sends inputs.

I see in the now released 2.3, there are classes such as InputDevice
that seem to give a little more insight into the particular input
device, but nothing that I can see relating to multi-touch support:

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

I am assuming that the simple answer would be no, there isn't a way,
other than listening to MotionEvent and determining while the user is
interacting with the app if there are multi-touch inputs streaming in,
but would be nice to know on launch as well.

Thanks for any direction,

Paul

--
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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate