Android 蓝牙4.0 ble 官方绿色源码 demo

上传者: lqw770737185 | 上传时间: 2019-12-21 20:13:17 | 文件大小: 1.37MB | 文件类型: zip
android系统4.3以上,手机支持蓝牙4.0,搜索,配对,连接,发现服务及特征值,断开连接等功能,参考官网地址:http://developer.android.com/guide/topics/connectivity/bluetooth-le.html

文件下载

资源详情

[{"title":"( 74 个子文件 1.37MB ) Android 蓝牙4.0 ble 官方绿色源码 demo","children":[{"title":"Bluetooth4_3","children":[{"title":".project <span style='color:#111;'> 848B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Bluetooth4_3.apk <span style='color:#111;'> 230.07KB </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"jarlist.cache <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"android-support-v4-bcd3d5a754016d41cbb9ebf6ce42c0af.jar <span style='color:#111;'> 206.37KB </span>","children":null,"spread":false},{"title":"android-support-v4-4e494c5f0857e7bb4b0c8a78d4113ce9.jar <span style='color:#111;'> 206.35KB </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 723B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 573B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 878B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false}],"spread":true},{"title":"crunch","children":[{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 723B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 573B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 878B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"resources.ap_ <span style='color:#111;'> 11.43KB </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"example","children":[{"title":"bluetooth","children":[{"title":"le","children":[{"title":"DeviceControlActivity$1.class <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"DeviceControlActivity$4.class <span style='color:#111;'> 931B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 1024B </span>","children":null,"spread":false},{"title":"DeviceControlActivity$3.class <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 569B </span>","children":null,"spread":false},{"title":"BluetoothLeService$LocalBinder.class <span style='color:#111;'> 703B </span>","children":null,"spread":false},{"title":"BluetoothLeService.class <span style='color:#111;'> 8.01KB </span>","children":null,"spread":false},{"title":"MainActivity.class <span style='color:#111;'> 829B </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 479B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 425B </span>","children":null,"spread":false},{"title":"DeviceControlActivity.class <span style='color:#111;'> 10.75KB </span>","children":null,"spread":false},{"title":"DeviceControlActivity$2.class <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'> 443B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 733B </span>","children":null,"spread":false},{"title":"DeviceScanActivity$1.class <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 449B </span>","children":null,"spread":false},{"title":"DeviceScanActivity$2.class <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 357B </span>","children":null,"spread":false},{"title":"DeviceScanActivity.class <span style='color:#111;'> 6.42KB </span>","children":null,"spread":false},{"title":"DeviceScanActivity$LeDeviceListAdapter.class <span style='color:#111;'> 2.97KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 358B </span>","children":null,"spread":false},{"title":"DeviceScanActivity$ViewHolder.class <span style='color:#111;'> 517B </span>","children":null,"spread":false},{"title":"BluetoothLeService$1.class <span style='color:#111;'> 2.85KB </span>","children":null,"spread":false},{"title":"SampleGattAttributes.class <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"DeviceScanActivity$1$1.class <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 738B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"classes.dex <span style='color:#111;'> 634.22KB </span>","children":null,"spread":false}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 55B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 177B </span>","children":null,"spread":false}],"spread":true},{"title":"ic_launcher-web.png <span style='color:#111;'> 5.32KB </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'> 543.16KB </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"example","children":[{"title":"bluetooth","children":[{"title":"le","children":[{"title":"SampleGattAttributes.java <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"DeviceScanActivity.java <span style='color:#111;'> 8.89KB </span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'> 576B </span>","children":null,"spread":false},{"title":"DeviceControlActivity.java <span style='color:#111;'> 13.44KB </span>","children":null,"spread":false},{"title":"BluetoothLeService.java <span style='color:#111;'> 12.66KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"project.properties <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"values","children":[{"title":"styles.xml <span style='color:#111;'> 697B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 220B </span>","children":null,"spread":false}],"spread":true},{"title":"values-sw720dp-land","children":[{"title":"dimens.xml <span style='color:#111;'> 277B </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"listitem_device.xml <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'> 658B </span>","children":null,"spread":false},{"title":"gatt_services_characteristics.xml <span style='color:#111;'> 3.31KB </span>","children":null,"spread":false},{"title":"actionbar_indeterminate_progress.xml <span style='color:#111;'> 942B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 642B </span>","children":null,"spread":false}],"spread":false},{"title":"values-v11","children":[{"title":"styles.xml <span style='color:#111;'> 334B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 510B </span>","children":null,"spread":false}],"spread":false},{"title":"values-sw600dp","children":[{"title":"dimens.xml <span style='color:#111;'> 203B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 809B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false}],"spread":false},{"title":"menu","children":[{"title":"gatt_services.xml <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"main.xml <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false}],"spread":false},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'> 391B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":".classpath <span style='color:#111;'> 475B </span>","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"example","children":[{"title":"bluetooth","children":[{"title":"le","children":[{"title":"R.java <span style='color:#111;'> 3.99KB </span>","children":null,"spread":false},{"title":"BuildConfig.java <span style='color:#111;'> 166B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":false}],"spread":true}]

评论信息

  • ksdc0155485 :
    不能用啊,是啥原因
    2021-03-29
  • aini10011 :
    小修改,可以直接用,
    2021-01-27
  • tslids :
    下载后没试过
    2021-01-22
  • android超级兵 :
    可能是我自己的原因,或者当前版本不匹配,我的as是4.1的运行不起来,用它的apk,也搜索不到我的蓝牙设备,可能是协议不同吧..
    2021-01-19
  • cccccyyyyyywwwwww :
    资源可用,可运行,有参考价值
    2020-10-10

免责申明

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