Thanks for the replies!

Having no way to check seems unfortunate to me.  I mean, a lot of people
bemoan Android "fragmentation" and the need to check before you use a
feature (and to provide a fall-back if you can't).  I don't mind any of
that, but not even being able to check really takes the problem to the next
level ...

Sure, I let the user configure their controls - but if I can't tell what
buttons their device has I can't even give them a reasonable default.

On Thu, Sep 29, 2011 at 10:49 PM, Studio LFP <[email protected]> wrote:

> I'm not sure if there is a way to check if it has a hardware search key. I
> would have thought it would be in the
> PackageManager.getSystemAvailableFeatures(), but I checked it and it doesn't
> have any listing for it.
>
> Since the new ICS (Ice Cream Sandwich) version is based on Honeycomb and
> the hardware for that has no physical or touch keys for Back, Home, Menu and
> Search, you may just have to ask the user or allow the user to map whatever
> function you want to a specific key code.  The search key may be on the
> screen or on the hardware, but it should still fire the same key code event
> in an onKeyEvent.
>
> 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 [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

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