android 4.0(ble) 蓝牙开发demo 可用

上传者: orainingnight | 上传时间: 2021-04-07 21:06:40 | 文件大小: 111KB | 文件类型: RAR
ble
谷歌官方提供的Android平台上的关于低功耗蓝牙开发的示例代码,该示例包含了Android低功耗蓝牙开发的完整过程:(低功耗蓝牙可简称“BLE”) 1、声明蓝牙权限 2、设置BLE 3、扫描BLE 4、连接到GATT服务器(即低功耗蓝牙设备) 5、读写BLE属性(即收发数据) 6、接收GATT通知 7、关闭GATT客户端

文件下载

资源详情

[{"title":"( 36 个子文件 111KB ) android 4.0(ble) 蓝牙开发demo 可用","children":[{"title":"Ble","children":[{"title":"b","children":[{"title":"gradlew.bat <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"gradlew <span style='color:#111;'> 4.96KB </span>","children":null,"spread":false},{"title":"packaging.yaml <span style='color:#111;'> 496B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 31.52KB </span>","children":null,"spread":false},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.jar <span style='color:#111;'> 48.73KB </span>","children":null,"spread":false},{"title":"gradle-wrapper.properties <span style='color:#111;'> 232B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"CONTRIBUTING.md <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"Application","children":[{"title":"src","children":[{"title":"main","children":[{"title":"res","children":[{"title":"values-v11","children":[{"title":"template-styles.xml <span style='color:#111;'> 726B </span>","children":null,"spread":false}],"spread":true},{"title":"menu","children":[{"title":"main.xml <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"gatt_services.xml <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.05KB </span>","children":null,"spread":false},{"title":"tile.9.png <span style='color:#111;'> 196B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 7.06KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 12.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"template-dimens.xml <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"template-styles.xml <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"base-strings.xml <span style='color:#111;'> 985B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.95KB </span>","children":null,"spread":false}],"spread":false},{"title":"values-sw600dp","children":[{"title":"template-dimens.xml <span style='color:#111;'> 802B </span>","children":null,"spread":false},{"title":"template-styles.xml <span style='color:#111;'> 876B </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"gatt_services_characteristics.xml <span style='color:#111;'> 3.31KB </span>","children":null,"spread":false},{"title":"listitem_device.xml <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"actionbar_indeterminate_progress.xml <span style='color:#111;'> 942B </span>","children":null,"spread":false}],"spread":false},{"title":"values-v21","children":[{"title":"base-colors.xml <span style='color:#111;'> 658B </span>","children":null,"spread":false},{"title":"base-template-styles.xml <span style='color:#111;'> 768B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"example","children":[{"title":"android","children":[{"title":"bluetoothlegatt","children":[{"title":"DeviceControlActivity.java <span style='color:#111;'> 13.41KB </span>","children":null,"spread":false},{"title":"DeviceScanActivity.java <span style='color:#111;'> 9.05KB </span>","children":null,"spread":false},{"title":"SampleGattAttributes.java <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"BluetoothLeService.java <span style='color:#111;'> 12.62KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"build.gradle <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false}],"spread":true},{"title":"CONTRIB.md <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 22B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 10B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • syn2203 :
    根本不能用,骗子
    2018-10-22
  • LOVEFOREVE :
    很好的 ,学习一下
    2018-06-22
  • kttle6 :
    很好,可以用,可以学习用
    2018-01-13

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明