-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
无法搜索到可连接的蓝牙设备列表 #112
Comments
具体哪个APP? |
不是常用的 APP,连接 POS 机的,招钱进宝 |
VA的问题需要拦截 Bluetooth 相关service,个人没这个需求。你可以自己改。 |
能大概讲一下怎么处理么?非安卓工程师,万分感谢 |
com.lody.virtual.client.hook.proxies.bluetooth.BluetoothStub 这个类的相关方法需要代理掉 |
@Override
protected void onBindMethods() {
super.onBindMethods();
addMethodProxy(new GetAddress());
addMethodProxy(new ReplaceLastPkgMethodProxy("getAdapter"));
addMethodProxy(new ReplaceLastPkgMethodProxy("getConnectedDevices"));
addMethodProxy(new ReplaceLastPkgMethodProxy("getConnectionState"));
addMethodProxy(new ReplaceLastPkgMethodProxy("getDevicesMatchingConnectionStates"));
addMethodProxy(new ReplaceLastPkgMethodProxy("openGattServer"));
} 我对这里做了以上修改,但是没有生效 |
@Elric-pp 最终有解决蓝牙的问题么? |
请问这个要怎么实现啊, 可不可以帮忙实现一个栗子 谢谢 🙏 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
机型:坚果 Pro2
The text was updated successfully, but these errors were encountered: