Sorry, no there is not.  Especially since a lot of these screens can be used
with both a finger or a stylus, this kind of fine-grained thing would
probably cause more trouble than it would help.  This is already becoming an
issue with the existing resource qualifiers with the growing ability to plug
in and pair with keyboards etc.

On Tue, Oct 25, 2011 at 2:16 PM, ashughes <[email protected]> wrote:

> With the addition of active pen support in Android 4.0, is there a way to
> detect if the current device *supports* a stylus (has an active pen
> digitizer)? I noticed there is a touchscreen type resource qualifier called
> "stylus" included since API level 1, but it's supposed to identify resistive
> touchscreens. Will this same qualifier work for devices supporting an active
> pen digitizer? I would like to use different layout resources depending on
> if a device supports an active stylus as well as query programmatically if
> the device supports an active stylus.
>
> P.S. I'm really happy to see active pen support in ICS! My masters thesis
> was adding active pen support to Gingerbread (
> https://github.com/ashughes/ActivePenInputAndroidInputFramework).
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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

Reply via email to