登录
首页 » Android » 基于安卓的蓝牙聊天

基于安卓的蓝牙聊天

于 2022-08-11 发布 文件大小:1.01 MB
0 142
下载积分: 2 下载次数: 1

代码说明:

本项目是一个基于安卓的蓝牙聊天项目源码也是本站分享的第三个蓝牙聊天项目源码(前两个自行在本站搜索),原理是两个设备想要通信的前提是要知道对方的存在,在普通的Socket开发中,只要一台设备上线,直接发送个广播,在线设备收到这个广播后在向该广播的源地址发送个单播,两个设备就可以聊天。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • android仿淘宝,自动获取短信验证码 例子
    android仿淘宝,自动获取短信验证码 例子
    2014-09-13下载
    积分:1
  • 使用 AChartEngine 库在安卓Android中创建图表
    翻译  maninwest@Codeforge 作者:Azim Zahir@CodeProject 这里将介绍如何使用适用于安卓的 AChartEngine图表库来在安卓平台上创建图表。AChartEngine 库是开源的安卓图表库,支持1.6 之后的所有安卓版本。这里的项目是基于1.1.0 版的 AChartEnginelibrary。背景 要演示此项目,需要创建可以绘制正弦、余弦和正切图的项目。我在虚拟机上运行 Android X86 仿真器并在上面安装的 AIDE 内创建项目。AIDE 可在任何安卓手机或平板上运行,也可以安装在虚拟机的仿真器上。这个开发方式也可以用于开发使用传统eclipse 的项目。 要使用 AChartEngine,主库(achartengine-1.1.0.jar) 要复制到安卓项目的 lib 文件夹中。AChartEngine 支持 3 种图表:XY 图 - 这种图表使用 X和Y 轴显示数据,如线、区域、条、散点。圆形图- 圆形的图,如饼、圆环、刻度盘。组合图表- 显示几种 XY 图表的组合图使用代码主布局文件有一个线性布局, id 为 "@+id/chart".以下是布局 XML文件:
    2023-01-12 02:30:04下载
    积分:1
  • VLC android
    vlc android 通过VLC在android 上播放rtmp流文件和rtsp流文件,和普通的视频播放,支持多屏播放。支持单一播放,支持画中画播放
    2022-03-23 04:11:08下载
    积分:1
  • Android应用源码之Android电子麦克风.zip
    【实例简介】
    2021-09-07 00:31:14下载
    积分:1
  • 微博客户端及服务器
    一个完整的微博系统,包括服务器端和客户端两个部分,客户端可以实现当前社交网络的基本功能,是基于android系统的客户端。服务器使用tomcat,使用javascript语言开发。
    2022-03-06 17:29:44下载
    积分:1
  • android 音乐播放器
    很好的代码。 欢迎下载。定能帮助你很快的学以只用,拿来练手。简单而健全。
    2022-02-10 05:49:12下载
    积分:1
  • 闹钟实现
    闹钟实现
    2021-02-20 10:39:43下载
    积分:1
  • http+gson封装
    对http请求和返回的json数据解析进行了一次封装   可以很方便的 进行网络请求和json数据的解析。里面有很详细的注释。希望大神继续完善 ,求教!
    2023-07-15 04:35:04下载
    积分:1
  • android
    说明:  使用Eclipse和java语言实现Android物联网开发(Implementation of Android Internet of Things Development with Eclipse and Java Languag)
    2019-06-18 09:17:19下载
    积分:1
  • android 异步 执行 任务 例子 附讲解
    Rules::The AsyncTask instance must be created in UI thread. .execute must be invoked on the UI thread.Never call  objMyTask.onPreExecute(), objMyTask.doInBackground(), objMyTask.onProgressUpdate(),  objMyTask.onPostExecute manually.The AsyncTask can be executed only once (an exception will be thrown if a second execution is attempted.)AsyncTask have Four Main Method... onPreExecute()  doInBackground() onProgressUpdate() onPostExecute()  onPreExecute-This method is called first when you start AsyncTask using objAsync.execute().And mostly this method is use for initializing dialog(ProgressDialog,CustomDialog) and showing. doInBackground-The main purpose of AsyncTask is accomplished by this method.Any non-UI thread process is running in this method.Such as Rss Feed Reader,Image and video Uploading and Downloading.You cant handle your View in this method.Because this method is non-UI thread.While any background process is running if you want to handle UI therea are  onProgressUpdate method. after completion of process this method send result to OnPostExecute. onProgressUpdate-While backgrounding task is running ,you can handle your UI using this method .Such as status of downloading or uploading task.and this method is called from  doInBackground.Using publishProgress() you can call onProgressUpdate method to update UI while process is running. onPostExecute -This method is called after the background computation finishes.The result of background process in passed in this method as parameters.And now you can dismiss progress dialog ,to indicate that background task is completed. You can cancel AsyncTask using objAsyncTask.cancel().then you just check in doInBackground, if (isCancelled()) { break; } else {        //continue... } See this Image For more Clear.
    2013-07-05下载
    积分:1
  • 696516资源总数
  • 106415会员总数
  • 3今日下载