![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android
HideUnderShadow
在西北工业大学攻读微电子硕士学位
展开
-
Android Studio 导入Eclips 安卓项目
1. 在eclips中导出项目如下图所示:在导出的项目中选择:【Generate Gradle build files】一路next向下,导出项目。2. 在Android Studio 中导入项目打开AS,首先关闭当前项目,然后选择【import project】选项,选择之前导出项目的位置。如下图所示: 点击【ok】即可导入项目。原创 2016-08-26 11:31:51 · 687 阅读 · 0 评论 -
Android ble开发中遇到的问题
1.在工厂中生产了很多设备一起堆放时应用会可能发生ANR,原因是设备很多时会不停的调用onLeScan()方法,在BluetoothAdapter.startLeScan()的时候,在BluetoothAdapter.LeScanCallback.onLeScan()中不能做太多事情。2.使用 BluetoothDevice.connectGatt()或者 BluetoothGatt.conn转载 2016-10-18 18:30:53 · 1868 阅读 · 0 评论 -
Android 蓝牙开发中的问题
android.bluetooth 包中的类即可用于通用蓝牙也可用于低功耗蓝牙。android.bluetooth.le 包中的API只是适用于ble。startDiscovery() 可以发现常规蓝牙、低功耗蓝牙;而startleScan()只能够发现低功耗蓝牙。原创 2016-10-18 21:20:08 · 398 阅读 · 0 评论