Android 蓝牙触摸板仿真
我正在考虑是否可以将我的 Android 设备用作普通计算机的触摸板(无需计算机端的特殊软件)。
你认为可以将安卓手机识别为电脑的蓝牙鼠标吗?我是否需要root我的手机或者Android SDK/蓝牙堆栈允许我做类似的事情吗?
我对这个话题很了解。有人可以给我提供一些有用的链接/信息吗?
I was thinking about the possibility to use my Android device as a touchpad with usual computers (without the need of special software on the computer's side).
Do you think it's possible to identify the android phone as a bluetooth mouse against a computer? Do I need to root my phone or does the Android SDK/bluetooth stack allows me something like that?
I'm knew to this topic. Does anybody can provide me some useful links / information ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
http://code.google.com/p/android-bluetooth-touchpad/
这正是我所做的。这是我的学士论文。你需要有 root 权限的手机和电脑端的 Linux。您不必在计算机上安装任何东西。它使用 HID 类驱动程序。
http://code.google.com/p/android-bluetooth-touchpad/
This is exactly what I have done. It is my bachelor thesis. You need a rooted phone and Linux on the computer side. You do not have to install anything on your computer. It uses the HID class drivers.
您需要在 Android 手机上支持蓝牙 HID 配置文件,并且还需要让手机充当 HID 设备,即支持蓝牙 HID 设备角色。
Honeycomb 正式支持 HID。请参阅此 - Android 蓝牙功能
我认为当前的支持仅适用于 HID 主机角色,即键盘/鼠标等与手机连接和输入。
此外,目前还没有公开 API 供应用程序访问。
You will need is Bluetooth HID profile support on the android phone, and also for the phone to act as a HID device i.e support the Bluetooth HID device role.
HID is officially supported in honeycomb. See this - Android Bluetooth Features
I think the current support is only for HID host role , i.e. for keyboards / mice etc to connect with and input to the phone.
Also currently there are no APIs exposed for applications to access.
检查此应用无服务器蓝牙键盘和PC/Phone鼠标及相关介绍文章如何将 Android 手机用作蓝牙鼠标或键盘
Check this app Serverless Bluetooth Keyboard & Mouse for PC/Phone and the related introduction post How to Use Your Android Phone as a Bluetooth Mouse or Keyboard
是的,可以做到,它通常被称为 HID 优于 GATT。
Play 商店中至少有一款应用可以实现此目的< /a>.无需root,PC端无需安装任何软件。
我可以找到两个实现此类解决方案的 GitHub 存储库:
虽然它们都没有维护多年,所以公平地说假设它们不会编译并开箱即用。
Yes it can be done, it is often referred to as HID over GATT.
There is at least one app on the Play Store that does that. No root needed, no software on the PC side to install.
I could find two GitHub repositories implementing such solutions:
Though neither of them have been maintained in years so it is fair to assume they won't compile and work out of the box.