蓝牙Demo(Android)

上传者: l471979773 | 上传时间: 2022-10-02 19:05:38 | 文件大小: 1.3MB | 文件类型: GZ
一个特别简单的收发蓝牙数据的demo,蓝牙需要先打开并绑定,再次点击是停止发送数据,客户要求比较简单,搜索蓝牙和切换绑定设备发送数据都没做,可以去我博客直接复制代码,代码很少,https://blog.csdn.net/l471979773/article/details/84892662。

文件下载

资源详情

[{"title":"( 72 个子文件 1.3MB ) 蓝牙Demo(Android)","children":[{"title":"BluethTest","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 636B </span>","children":null,"spread":false}],"spread":true},{"title":"values-w820dp","children":[{"title":"dimens.xml <span style='color:#111;'> 373B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-ldpi","children":null,"spread":false},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"values-v11","children":[{"title":"styles.xml <span style='color:#111;'> 321B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 7.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 12.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'> 378B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 24.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 167B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 213B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 682B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"example","children":[{"title":"bluethtest","children":[{"title":"MainActivity.java <span style='color:#111;'> 12.12KB </span>","children":null,"spread":false},{"title":"MainActivity1.java <span style='color:#111;'> 11.22KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"classes","children":[{"title":"com","children":[{"title":"example","children":[{"title":"bluethtest","children":[{"title":"MainActivity1.class <span style='color:#111;'> 7.59KB </span>","children":null,"spread":false},{"title":"R$bool.class <span style='color:#111;'> 745B </span>","children":null,"spread":false},{"title":"MainActivity$1.class <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"MainActivity1$MyHandler$1.class <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false},{"title":"MainActivity1$AcceptThread.class <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"R$color.class <span style='color:#111;'> 576B </span>","children":null,"spread":false},{"title":"MainActivity1$1.class <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"R$styleable.class <span style='color:#111;'> 6.55KB </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 353B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 931B </span>","children":null,"spread":false},{"title":"MainActivity.class <span style='color:#111;'> 7.07KB </span>","children":null,"spread":false},{"title":"R$anim.class <span style='color:#111;'> 611B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 9.41KB </span>","children":null,"spread":false},{"title":"MainActivity1$MyHandler.class <span style='color:#111;'> 2.41KB </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 2.54KB </span>","children":null,"spread":false},{"title":"R$integer.class <span style='color:#111;'> 427B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"MainActivity$3.class <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 5.09KB </span>","children":null,"spread":false},{"title":"MainActivity$AcceptThread.class <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"MainActivity$2.class <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"android","children":[{"title":"support","children":[{"title":"v7","children":[{"title":"appcompat","children":[{"title":"R$bool.class <span style='color:#111;'> 763B </span>","children":null,"spread":false},{"title":"R$color.class <span style='color:#111;'> 594B </span>","children":null,"spread":false},{"title":"R$styleable.class <span style='color:#111;'> 6.39KB </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 1015B </span>","children":null,"spread":false},{"title":"R$anim.class <span style='color:#111;'> 629B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 5.02KB </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 9.36KB </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"R$integer.class <span style='color:#111;'> 445B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 5.07KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"dexedLibs","children":[{"title":"appcompat_v7-b66c5fb83e445c0abfc798e60a2327e5.jar <span style='color:#111;'> 166B </span>","children":null,"spread":false}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"crunch","children":[{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.82KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 9.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 17.47KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"BluethTest.apk <span style='color:#111;'> 417.00KB </span>","children":null,"spread":false},{"title":"jarlist.cache <span style='color:#111;'> 381B </span>","children":null,"spread":false},{"title":"R.txt <span style='color:#111;'> 29.41KB </span>","children":null,"spread":false},{"title":"classes.dex <span style='color:#111;'> 56.15KB </span>","children":null,"spread":false},{"title":"resources.ap_ <span style='color:#111;'> 376.62KB </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 533B </span>","children":null,"spread":false},{"title":"assets","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 607B </span>","children":null,"spread":false},{"title":"ic_launcher-web.png <span style='color:#111;'> 50.19KB </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 173B </span>","children":null,"spread":false}],"spread":true},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'> 740.94KB </span>","children":null,"spread":false}],"spread":true},{"title":".project <span style='color:#111;'> 813B </span>","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"example","children":[{"title":"bluethtest","children":[{"title":"R.java <span style='color:#111;'> 173.93KB </span>","children":null,"spread":false},{"title":"BuildConfig.java <span style='color:#111;'> 164B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"android","children":[{"title":"support","children":[{"title":"v7","children":[{"title":"appcompat","children":[{"title":"R.java <span style='color:#111;'> 40.12KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

免责申明

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