BluetoothClient.zip

上传者: 41937552 | 上传时间: 2021-09-07 09:02:41 | 文件大小: 1.46MB | 文件类型: ZIP
蓝牙客户端实现功能有: (1) 客户端手机主动发起与服务端手机蓝牙配对,并配对成功后 会主动发起与服务端的 蓝牙链接,若链接成功即可通信。 (2) 发送消息; (3) 监听本地Gsensor,坐标数据,并通过蓝牙传送给服务端; 蓝牙服务端实现功能有: (1) 自动处理 客户端发来的配对请求; (2) 监听客户端发来的链接; (3) 跟据客户端传来的 gsensor 信息 作相应处理。 (4) 发送消息给客户端

文件下载

资源详情

[{"title":"( 60 个子文件 1.46MB ) BluetoothClient.zip","children":[{"title":"BluetoothClient","children":[{"title":".project <span style='color:#111;'> 851B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"components","children":[{"title":"utils","children":[{"title":"ClsUtils.java <span style='color:#111;'> 3.49KB </span>","children":null,"spread":false}],"spread":true},{"title":"Broadcast","children":[{"title":"BluetoothPairingReceiver.java <span style='color:#111;'> 3.95KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bluetoothclient","children":[{"title":"MainActivity.java <span style='color:#111;'> 14.88KB </span>","children":null,"spread":false},{"title":"BluetoothSPPService.java <span style='color:#111;'> 17.94KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-ldpi","children":null,"spread":false},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 7.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"values-v11","children":[{"title":"styles.xml <span style='color:#111;'> 334B </span>","children":null,"spread":false}],"spread":true},{"title":"menu","children":[{"title":"main.xml <span style='color:#111;'> 263B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false}],"spread":true},{"title":"values-sw600dp","children":[{"title":"dimens.xml <span style='color:#111;'> 203B </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":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 12.22KB </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 232B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 697B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 220B </span>","children":null,"spread":false}],"spread":false},{"title":"values-sw720dp-land","children":[{"title":"dimens.xml <span style='color:#111;'> 277B </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":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 177B </span>","children":null,"spread":false},{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 55B </span>","children":null,"spread":false}],"spread":true},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"bluetoothclient","children":[{"title":"BuildConfig.java <span style='color:#111;'> 161B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'> 606.89KB </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 475B </span>","children":null,"spread":false},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"ic_launcher-web.png <span style='color:#111;'> 50.19KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"resources.ap_ <span style='color:#111;'> 40.42KB </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"components","children":[{"title":"utils","children":[{"title":"ClsUtils.class <span style='color:#111;'> 3.41KB </span>","children":null,"spread":false}],"spread":false},{"title":"Broadcast","children":[{"title":"BluetoothPairingReceiver.class <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"bluetoothclient","children":[{"title":"R$layout.class <span style='color:#111;'> 406B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 434B </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 464B </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 347B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 410B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 343B </span>","children":null,"spread":false},{"title":"BluetoothSPPService$ConnectThread.class <span style='color:#111;'> 3.13KB </span>","children":null,"spread":false},{"title":"MainActivity$ListenerThread.class <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 528B </span>","children":null,"spread":false},{"title":"BluetoothSPPService.class <span style='color:#111;'> 5.45KB </span>","children":null,"spread":false},{"title":"MainActivity$2.class <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 683B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 475B </span>","children":null,"spread":false},{"title":"MainActivity$1.class <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'> 391B </span>","children":null,"spread":false},{"title":"BluetoothSPPService$ConnectedThread.class <span style='color:#111;'> 3.02KB </span>","children":null,"spread":false},{"title":"MainActivity.class <span style='color:#111;'> 8.18KB </span>","children":null,"spread":false},{"title":"MainActivity$MySensorEventListener.class <span style='color:#111;'> 2.83KB </span>","children":null,"spread":false},{"title":"BluetoothSPPService$AcceptThread.class <span style='color:#111;'> 3.26KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"annotations-3ec12ad3703e3d8829113de12c21da66.jar <span style='color:#111;'> 943B </span>","children":null,"spread":false},{"title":"android-support-v4-41b2350380da997870924699bbb24a32.jar <span style='color:#111;'> 227.10KB </span>","children":null,"spread":false}],"spread":false},{"title":"jarlist.cache <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"crunch","children":[{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.82KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 17.47KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 9.14KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"BluetoothClient.apk <span style='color:#111;'> 281.31KB </span>","children":null,"spread":false},{"title":"classes.dex <span style='color:#111;'> 906.70KB </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

免责申明

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