有没有办法检测手机上是否有硬件键盘? [英] Is there any way to detect if there's a hardware keyboard on the phone?

查看:25
本文介绍了有没有办法检测手机上是否有硬件键盘?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我见过其他问题,例如 硬件键盘事件

I've seen other questions like Hardware Keyboard Event

但在 Mango 上没有看到这个...有没有办法找出手机是否有硬件键盘?

But not seen this for Mango... is there any way to find out if the phone has a hardware keyboard?

推荐答案

使用 DeviceStatus.IsKeyboardPresent 属性

DeviceStatus.IsKeyboardPresent
指示设备是否包含物理硬件键盘.

DeviceStatus.IsKeyboardPresent
Indicates whether the device contains a physical hardware keyboard.

这篇关于有没有办法检测手机上是否有硬件键盘?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆