文件名称:myBluetoothChat
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2014-08-30
- 文件大小:
- 696kb
- 下载次数:
- 0次
- 提 供 者:
- d**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
内含可直接附加的项目,一个说明文档,代码中注释齐全
程序功能:
1.一台手机运行程序后选择服务端,自动打开蓝牙及蓝牙被发现(手机的打开蓝牙被发现功能需要人工确认),等待被连接
2.另一台手机运行程序后选择客户端,自动搜索选择了服务端的手机,进行自动配对(第一次手机之间的配对需要人工确认,后面不需要),并自动连接。这时在两台手机上均可看见连接成功,然后可以互发消息进行聊天
3.程序退出后自动关闭蓝牙
PS:谁有蓝牙快速连接的例子(根据蓝牙波段进行连接,无需配对,直接连接,类似蓝牙耳机)请与作者联系,谢谢收起-Additional items can be directly embedded, a documentation, code comments complete program features: Select the service side 1. a mobile phone to run the program, automatically turn on Bluetooth and Bluetooth are found (the phone' s open Bluetooth function was found to require manual confirmation) , waiting to be connected to 2 to select another phone after running the client program automatically searches chose the service side of the phone, automatic pairing (between the first paired phones require manual confirmation, behind not need), and automatically connect. Then the phone can be seen on both the connection is successful, then you can chat with each other a message 3 program automatically shut down after exiting Bluetooth PS: Who Bluetooth fast connection example (based band Bluetooth connection, no pairing, direct connection, similar to a Bluetooth headset), please contact the author, thank Collapse
程序功能:
1.一台手机运行程序后选择服务端,自动打开蓝牙及蓝牙被发现(手机的打开蓝牙被发现功能需要人工确认),等待被连接
2.另一台手机运行程序后选择客户端,自动搜索选择了服务端的手机,进行自动配对(第一次手机之间的配对需要人工确认,后面不需要),并自动连接。这时在两台手机上均可看见连接成功,然后可以互发消息进行聊天
3.程序退出后自动关闭蓝牙
PS:谁有蓝牙快速连接的例子(根据蓝牙波段进行连接,无需配对,直接连接,类似蓝牙耳机)请与作者联系,谢谢收起-Additional items can be directly embedded, a documentation, code comments complete program features: Select the service side 1. a mobile phone to run the program, automatically turn on Bluetooth and Bluetooth are found (the phone' s open Bluetooth function was found to require manual confirmation) , waiting to be connected to 2 to select another phone after running the client program automatically searches chose the service side of the phone, automatic pairing (between the first paired phones require manual confirmation, behind not need), and automatically connect. Then the phone can be seen on both the connection is successful, then you can chat with each other a message 3 program automatically shut down after exiting Bluetooth PS: Who Bluetooth fast connection example (based band Bluetooth connection, no pairing, direct connection, similar to a Bluetooth headset), please contact the author, thank Collapse
(系统自动生成,下载前可以参看下载内容)
下载文件列表
myBluetoothChat\.classpath
...............\.project
...............\AndroidManifest.xml
...............\bin\AndroidManifest.xml
...............\...\BluetoothChat.apk
...............\...\classes\com\ljj\bluetoothchat\BuildConfig.class
...............\...\.......\...\...\.............\ClientActivity$1.class
...............\...\.......\...\...\.............\ClientActivity$2.class
...............\...\.......\...\...\.............\ClientActivity.class
...............\...\.......\...\...\.............\MainActivity$ButtonClickListener.class
...............\...\.......\...\...\.............\MainActivity.class
...............\...\.......\...\...\.............\R$attr.class
...............\...\.......\...\...\.............\R$dimen.class
...............\...\.......\...\...\.............\R$drawable.class
...............\...\.......\...\...\.............\R$id.class
...............\...\.......\...\...\.............\R$layout.class
...............\...\.......\...\...\.............\R$menu.class
...............\...\.......\...\...\.............\R$string.class
...............\...\.......\...\...\.............\R$style.class
...............\...\.......\...\...\.............\R.class
...............\...\.......\...\...\.............\ServerActivity$1.class
...............\...\.......\...\...\.............\ServerActivity$2.class
...............\...\.......\...\...\.............\ServerActivity.class
...............\...\.......\...\...\.........Util\BluetoothClientConnThread.class
...............\...\.......\...\...\.............\BluetoothClientService$1.class
...............\...\.......\...\...\.............\BluetoothClientService$2.class
...............\...\.......\...\...\.............\BluetoothClientService$3.class
...............\...\.......\...\...\.............\BluetoothClientService.class
...............\...\.......\...\...\.............\BluetoothCommunThread.class
...............\...\.......\...\...\.............\BluetoothServerConnThread.class
...............\...\.......\...\...\.............\BluetoothServerService$1.class
...............\...\.......\...\...\.............\BluetoothServerService$2.class
...............\...\.......\...\...\.............\BluetoothServerService.class
...............\...\.......\...\...\.............\BluetoothTools.class
...............\...\.......\...\...\.............\TransmitBean.class
...............\...\classes.dex
...............\...\res\drawable-hdpi\ic_action_search.png
...............\...\...\.............\ic_launcher.png
...............\...\...\.........ldpi\ic_launcher.png
...............\...\...\.........mdpi\ic_action_search.png
...............\...\...\.............\ic_launcher.png
...............\...\...\.........xhdpi\ic_action_search.png
...............\...\...\..............\ic_launcher.png
...............\...\resources.ap_
...............\gen\com\ljj\bluetoothchat\BuildConfig.java
...............\...\...\...\.............\R.java
...............\ic_launcher-web.png
...............\libs\android-support-v4.jar
...............\proguard-project.txt
...............\project.properties
...............\res\drawable-hdpi\ic_action_search.png
...............\...\.............\ic_launcher.png
...............\...\.........ldpi\ic_launcher.png
...............\...\.........mdpi\ic_action_search.png
...............\...\.............\ic_launcher.png
...............\...\.........xhdpi\ic_action_search.png
...............\...\..............\ic_launcher.png
...............\...\layout\activity_main.xml
...............\...\......\client.xml
...............\...\......\server.xml
...............\...\menu\activity_main.xml
...............\...\values\dimens.xml
...............\...\......\strings.xml
...............\...\......\styles.xml
...............\...\......-large\dimens.xml
...............\...\.......v11\styles.xml
...............\...\.........4\styles.xml
...............\src\com\ljj\bluetoothchat\ClientActivity.java
...............\...\...\...\.............\MainActivity.java
...............\...\...\...\.............\ServerActivity.java
...............\...\...\...\.........Util\BluetoothClientConnThread.java