实例介绍
自己参考谷歌官方的蓝牙聊天代码编写的蓝牙串口调试助手,经过了很长时间N多次的修改,功能不断的增加和完善。该项目包含很多使用的代码,能够使初学者学习到很多使用的技能,例如基本的蓝牙通信的建立、仿QQ的手势解锁、本地文件的存储和读取、仿QQ好友的列表样式、后台QQ邮件的发送反馈信息、底部弹出菜单和右上角自定义菜单等等。程序还有不完善的地方,希望与大家共同进步。
【实例截图】
【核心代码】
412cf9ce-760a-43c4-b38b-a00271daae8e
└── 蓝牙串口助手工程源码
├── 123
├── 1234
├── AndroidManifest.xml
├── bin
│ ├── AndroidManifest.xml
│ ├── BluetoothCom.apk
│ ├── classes
│ │ ├── android
│ │ │ └── support
│ │ │ └── v7
│ │ │ └── appcompat
│ │ │ ├── R$anim.class
│ │ │ ├── R$attr.class
│ │ │ ├── R$bool.class
│ │ │ ├── R$color.class
│ │ │ ├── R$dimen.class
│ │ │ ├── R$drawable.class
│ │ │ ├── R$id.class
│ │ │ ├── R$integer.class
│ │ │ ├── R$layout.class
│ │ │ ├── R$string.class
│ │ │ ├── R$styleable.class
│ │ │ ├── R$style.class
│ │ │ └── R.class
│ │ └── com
│ │ └── Tongwang
│ │ └── BluetoothCom
│ │ ├── AboutActivity.class
│ │ ├── ActionSheet.class
│ │ ├── BaseOperations.class
│ │ ├── BluetoothChat$1$1.class
│ │ ├── BluetoothChat$10.class
│ │ ├── BluetoothChat$1.class
│ │ ├── BluetoothChat$2.class
│ │ ├── BluetoothChat$3.class
│ │ ├── BluetoothChat$4.class
│ │ ├── BluetoothChat$5$1.class
│ │ ├── BluetoothChat$5.class
│ │ ├── BluetoothChat$6.class
│ │ ├── BluetoothChat$7.class
│ │ ├── BluetoothChat$8.class
│ │ ├── BluetoothChat$9.class
│ │ ├── BluetoothChat$MyOnClickListener.class
│ │ ├── BluetoothChat$MyOnPageChangeListener.class
│ │ ├── BluetoothChat$MyPagerAdapter.class
│ │ ├── BluetoothChat.class
│ │ ├── BluetoothChatService$AcceptThread.class
│ │ ├── BluetoothChatService$ConnectedThread.class
│ │ ├── BluetoothChatService$ConnectThread.class
│ │ ├── BluetoothChatService.class
│ │ ├── BuildConfig.class
│ │ ├── DeviceListActivity$1.class
│ │ ├── DeviceListActivity$2.class
│ │ ├── DeviceListActivity$3.class
│ │ ├── DeviceListActivity$4.class
│ │ ├── DeviceListActivity$5.class
│ │ ├── DeviceListActivity$6.class
│ │ ├── DeviceListActivity$7.class
│ │ ├── DeviceListActivity.class
│ │ ├── EditKeybord$1.class
│ │ ├── EditKeybord$2.class
│ │ ├── EditKeybord$3.class
│ │ ├── EditKeybord$4.class
│ │ ├── EditKeybord.class
│ │ ├── EmailSender.class
│ │ ├── FeedBackActivity$1.class
│ │ ├── FeedBackActivity$2.class
│ │ ├── FeedBackActivity$3$1.class
│ │ ├── FeedBackActivity$3.class
│ │ ├── FeedBackActivity.class
│ │ ├── GestureLockView$1.class
│ │ ├── GestureLockView$OnGestureFinishListener.class
│ │ ├── GestureLockView.class
│ │ ├── MoreSetActivity.class
│ │ ├── MyCycle.class
│ │ ├── MyExpandableListAdapter.class
│ │ ├── MyFileManager.class
│ │ ├── MyLockerActivity$1.class
│ │ ├── MyLockerActivity.class
│ │ ├── R$anim.class
│ │ ├── R$attr.class
│ │ ├── R$bool.class
│ │ ├── R$color.class
│ │ ├── R$dimen.class
│ │ ├── R$drawable.class
│ │ ├── R$id.class
│ │ ├── R$integer.class
│ │ ├── R$layout.class
│ │ ├── R$menu.class
│ │ ├── R$string.class
│ │ ├── R$styleable.class
│ │ ├── R$style.class
│ │ ├── R.class
│ │ ├── StartActivity$1.class
│ │ ├── StartActivity.class
│ │ ├── Terminal$1.class
│ │ ├── Terminal$2.class
│ │ ├── Terminal$3.class
│ │ ├── Terminal$4.class
│ │ ├── Terminal$5.class
│ │ ├── Terminal$AutoSender.class
│ │ └── Terminal.class
│ ├── classes.dex
│ ├── dexedLibs
│ │ ├── activation-0b7781953baab4d7ca227be16a84fa60.jar
│ │ ├── additionnal-1e8d838fcaa8481dfc213efbb6b50a70.jar
│ │ ├── android-support-v4-d03e5fdd6ea817aab1f362b542db43e9.jar
│ │ ├── android-support-v7-appcompat-19df13bdd4c102b37480d42e1b9aa198.jar
│ │ ├── android-support-v7-appcompat-763dcd5ad47e8f2ee7695f3721577952.jar
│ │ └── mail-e5daa2d471a334f8949c17b5206807a5.jar
│ ├── jarlist.cache
│ ├── res
│ │ └── crunch
│ │ ├── drawable
│ │ │ └── btn_search_normal9.png
│ │ ├── drawable-hdpi
│ │ │ └── app_yunyi2.png
│ │ ├── drawable-ldpi
│ │ │ ├── app_yunyi3.png
│ │ │ └── logo_tw_0.png
│ │ └── drawable-xhdpi
│ │ ├── app_btcom.png
│ │ ├── btn_more_nor.png
│ │ ├── btn_more_pre.png
│ │ ├── file_s_r.png
│ │ ├── find_search.png
│ │ ├── friends_add.png
│ │ ├── headphone.png
│ │ ├── info_details.png
│ │ ├── logo_tw_pw.png
│ │ ├── machine.png
│ │ ├── menu_save.png
│ │ ├── money_get.png
│ │ ├── moreset.png
│ │ ├── mycheck_false.png
│ │ ├── mycheck_true.png
│ │ ├── myswitch_off.png
│ │ ├── myswitch_on.png
│ │ ├── notebook.png
│ │ ├── oldphone.png
│ │ ├── onright.png
│ │ ├── pc_ic.png
│ │ ├── phone.png
│ │ ├── pwd_login.png
│ │ ├── scan_ic.png
│ │ ├── talk_group.png
│ │ └── watch.png
│ ├── resources.ap_
│ └── R.txt
├── gen
│ ├── android
│ │ └── support
│ │ └── v7
│ │ └── appcompat
│ │ └── R.java
│ └── com
│ └── Tongwang
│ └── BluetoothCom
│ ├── BuildConfig.java
│ └── R.java
├── libs
│ ├── activation.jar
│ ├── additionnal.jar
│ └── mail.jar
├── project.properties
├── res
│ ├── anim
│ │ ├── actionsheet_in.xml
│ │ ├── actionsheet_out.xml
│ │ ├── pop_dismiss.xml
│ │ └── pop_show.xml
│ ├── drawable
│ │ ├── btn_bg_popmor.xml
│ │ ├── btn_bg.xml
│ │ ├── btn_normal.9.png
│ │ ├── btn_pressed.9.png
│ │ ├── btn_search_normal9.png
│ │ ├── ex_list_bg_parent.xml
│ │ ├── ezm.9.png
│ │ ├── ffpj.9.png
│ │ ├── img_null.9.png
│ │ ├── item_bg_bottom.xml
│ │ ├── item_bg_leftbottom.xml
│ │ ├── item_bg_middle.xml
│ │ ├── item_bg_pressed.9.png
│ │ ├── item_bg_rightbottom.xml
│ │ ├── item_bg_single.xml
│ │ ├── item_bg_top.xml
│ │ ├── mycheckbox.xml
│ │ ├── mycheck_switch.xml
│ │ └── sd.9.png
│ ├── drawable-hdpi
│ │ └── app_yunyi2.png
│ ├── drawable-ldpi
│ │ ├── app_yunyi3.png
│ │ └── logo_tw_0.png
│ ├── drawable-xhdpi
│ │ ├── app_btcom.png
│ │ ├── btn_more_nor.png
│ │ ├── btn_more_pre.png
│ │ ├── dotted_line_gray.xml
│ │ ├── editbox_bg.9.png
│ │ ├── ex_list_bg_down.9.png
│ │ ├── ex_list_bg_right.9.png
│ │ ├── file_s_r.png
│ │ ├── find_search.png
│ │ ├── friends_add.png
│ │ ├── gnl.9.png
│ │ ├── headphone.png
│ │ ├── info_details.png
│ │ ├── item_bg_bottom_pressed.9.png
│ │ ├── item_bg_leftbottom_pressed.9.png
│ │ ├── item_bg_middle_pressed.9.png
│ │ ├── item_bg_rightbottom_pressed.9.png
│ │ ├── item_bg_single_pressed.9.png
│ │ ├── item_bg_top_pressed.9.png
│ │ ├── line.xml
│ │ ├── logo_tw_pw.png
│ │ ├── machine.png
│ │ ├── menu_save.png
│ │ ├── money_get.png
│ │ ├── moreset.png
│ │ ├── mycheck_bg.9.png
│ │ ├── mycheck_false.png
│ │ ├── mycheck_true.png
│ │ ├── my_menu_bg.9.png
│ │ ├── myswitch_off.png
│ │ ├── myswitch_on.png
│ │ ├── notebook.png
│ │ ├── oldphone.png
│ │ ├── onright.png
│ │ ├── pc_ic.png
│ │ ├── phone.png
│ │ ├── pop_bg_0.9.png
│ │ ├── pop_bg_1.9.png
│ │ ├── pwd_login.png
│ │ ├── scan_ic.png
│ │ ├── startimage.9.png
│ │ ├── talk_group.png
│ │ ├── txt_bg.9.png
│ │ └── watch.png
│ ├── layout
│ │ ├── about.xml
│ │ ├── a.xml
│ │ ├── button_editer.xml
│ │ ├── b.xml
│ │ ├── cmain.xml
│ │ ├── device_list.xml
│ │ ├── deviceslist_item.xml
│ │ ├── exitdialog.xml
│ │ ├── feedback.xml
│ │ ├── gesturelock.xml
│ │ ├── list_item_childen.xml
│ │ ├── list_item_parent.xml
│ │ ├── message.xml
│ │ ├── moreset.xml
│ │ ├── my_menu.xml
│ │ ├── pop_menu.xml
│ │ └── start.xml
│ ├── menu
│ │ └── option_menu.xml
│ ├── values
│ │ ├── colors.xml
│ │ ├── mystyle.xml
│ │ ├── strings.xml
│ │ └── styles.xml
│ └── values-zh-rCN
│ └── strings.xml
└── src
└── com
└── Tongwang
└── BluetoothCom
├── AboutActivity.java
├── ActionSheet.java
├── BaseOperations.java
├── BluetoothChat.java
├── BluetoothChatService.java
├── DeviceListActivity.java
├── EditKeybord.java
├── EmailSender.java
├── FeedBackActivity.java
├── GestureLockView.java
├── MoreSetActivity.java
├── MyCycle.java
├── MyExpandableListAdapter.java
├── MyFileManager.java
├── MyLockerActivity.java
├── StartActivity.java
└── Terminal.java
40 directories, 250 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论