Android的 - 如何启用蓝牙永远吗? [英] Android - How to enable Bluetooth to be always on?

查看:86
本文介绍了Android的 - 如何启用蓝牙永远吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

关于Android的蓝牙发展的两个问题:

  1. 有没有一种方法,使蓝牙是始终打开(我会在我的应用程序很长的设备发现阶段)中的Andr​​oid?据我所看到的默认值是一个数,从120秒下降。

  2. 是否存在任何开源蓝牙API实现?

解决方案

蓝牙实现现在可在Android 2.0 API。 请参见和的这个

Two question on Bluetooth development on Android:

  1. Is there a way to enable Bluetooth to be always on (I might have a long device discovery phase in my application) in Android? As far as I can see the default value is a count down from 120s.

  2. Does it exist any open source Bluetooth API implementations?

解决方案

Bluetooth implementation is now available in the Android 2.0 API. See this and this.

这篇关于Android的 - 如何启用蓝牙永远吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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