資源簡介
內含可直接附加的項目,一個說明文檔,代碼中注釋齊全
程序功能:
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.xm
?????文件???????1291??2012-08-22?13:43??BluetoothChat\bin\AndroidManifest.xm
?????文件?????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$Button
?????文件???????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$st
?????文件????????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個文件信息
- 上一篇:計步器apk _StepCounting
- 下一篇:解決微信掃描二維碼APK問題
評論
共有 條評論