• 大小: 696KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-06-10
  • 语言: Java
  • 标签: 蓝牙  android  聊天  

资源简介

内含可直接附加的项目,一个说明文档,代码中注释齐全 程序功能: 1.一台手机运行程序后选择服务端,自动打开蓝牙及蓝牙被发现(手机的打开蓝牙被发现功能需要人工确认),等待被连接 2.另一台手机运行程序后选择客户端,自动搜索选择了服务端的手机,进行自动配对(第一次手机之间的配对需要人工确认,后面不需要),并自动连接。这时在两台手机上均可看见连接成功,然后可以互发消息进行聊天 3.程序退出后自动关闭蓝牙 PS:谁有蓝牙快速连接的例子(根据蓝牙波段进行连接,无需配对,直接连接,类似蓝牙耳机)请与作者联系,谢谢

资源截图

代码片段和文件信息

/** Automatically generated file. DO NOT MODIFY */
package com.ljj.bluetoothchat;

public final class BuildConfig {
    public final static boolean DEBUG = true;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        364  2012-08-22 13:41  BluetoothChat\.classpath

     文件        849  2012-08-22 13:41  BluetoothChat\.project

     文件       1291  2012-08-22 13:43  BluetoothChat\AndroidManifest.xml

     文件       1291  2012-08-22 13:43  BluetoothChat\bin\AndroidManifest.xml

     文件     164404  2012-08-22 14:02  BluetoothChat\bin\BluetoothChat.apk

     文件        351  2012-08-22 13:41  BluetoothChat\bin\classes\com\ljj\bluetoothchat\BuildConfig.class

     文件       2938  2012-08-22 13:51  BluetoothChat\bin\classes\com\ljj\bluetoothchat\ClientActivity$1.class

     文件       1875  2012-08-22 13:51  BluetoothChat\bin\classes\com\ljj\bluetoothchat\ClientActivity$2.class

     文件       3053  2012-08-22 13:51  BluetoothChat\bin\classes\com\ljj\bluetoothchat\ClientActivity.class

     文件       1316  2012-08-22 13:50  BluetoothChat\bin\classes\com\ljj\bluetoothchat\MainActivity$ButtonclickListener.class

     文件       1211  2012-08-22 13:50  BluetoothChat\bin\classes\com\ljj\bluetoothchat\MainActivity.class

     文件        349  2012-08-22 14:15  BluetoothChat\bin\classes\com\ljj\bluetoothchat\R$attr.class

     文件        484  2012-08-22 14:15  BluetoothChat\bin\classes\com\ljj\bluetoothchat\R$dimen.class

     文件        456  2012-08-22 14:15  BluetoothChat\bin\classes\com\ljj\bluetoothchat\R$drawable.class

     文件        799  2012-08-22 14:15  BluetoothChat\bin\classes\com\ljj\bluetoothchat\R$id.class

     文件        472  2012-08-22 14:15  BluetoothChat\bin\classes\com\ljj\bluetoothchat\R$layout.class

     文件        406  2012-08-22 14:15  BluetoothChat\bin\classes\com\ljj\bluetoothchat\R$menu.class

     文件        487  2012-08-22 14:15  BluetoothChat\bin\classes\com\ljj\bluetoothchat\R$string.class

     文件        404  2012-08-22 14:15  BluetoothChat\bin\classes\com\ljj\bluetoothchat\R$style.class

     文件        703  2012-08-22 14:15  BluetoothChat\bin\classes\com\ljj\bluetoothchat\R.class

     文件       2259  2012-08-22 13:50  BluetoothChat\bin\classes\com\ljj\bluetoothchat\ServerActivity$1.class

     文件       1875  2012-08-22 13:50  BluetoothChat\bin\classes\com\ljj\bluetoothchat\ServerActivity$2.class

     文件       3076  2012-08-22 13:50  BluetoothChat\bin\classes\com\ljj\bluetoothchat\ServerActivity.class

     文件       2167  2012-08-22 14:05  BluetoothChat\bin\classes\com\ljj\bluetoothUtil\BluetoothClientConnThread.class

     文件       2099  2012-08-22 14:17  BluetoothChat\bin\classes\com\ljj\bluetoothUtil\BluetoothClientService$1.class

     文件       2906  2012-08-22 14:17  BluetoothChat\bin\classes\com\ljj\bluetoothUtil\BluetoothClientService$2.class

     文件       1960  2012-08-22 14:17  BluetoothChat\bin\classes\com\ljj\bluetoothUtil\BluetoothClientService$3.class

     文件       4008  2012-08-22 14:17  BluetoothChat\bin\classes\com\ljj\bluetoothUtil\BluetoothClientService.class

     文件       2364  2012-08-22 13:48  BluetoothChat\bin\classes\com\ljj\bluetoothUtil\BluetoothCommunThread.class

     文件       2362  2012-08-22 14:09  BluetoothChat\bin\classes\com\ljj\bluetoothUtil\BluetoothServerConnThread.class

............此处省略85个文件信息

评论

共有 条评论