android聊天开源
① 实用的Android开源APP
从好的开源项目中可以学习到好的Android开发的最佳实践
这个工程实现了MVP架构,用到了 Dagger2 , GreenDao , Rxjava2 , Fast-Android-Networking , PlaceholderView
Google I/O 开发者大会使用的相关的例子工程,支持 Android 4.0+ , 对手机和平板做了很好的优化
这个框架提供很好的灵活性,让开发者决定怎么样组织自己的应用的框架,这个工程提供了一些策略来帮助你解决一些常见的问题
Telegram 是一款消息应用,主要关注速度和安全。
Plaid 是按照 Material Design 原则设计开发的,主要从 Designer News , Dribble , Proct Hunt , 获取相关的新闻和灵感
Wire 是一款聊天应用,支持图片、视频、GIFs、音乐、画图等多种多媒体格式,提供了端到端加密的应用
是 ribot 官方的Android 应用
展示如何实现Android MVP架构
② 基于Node.JS, MongoDB的开源IM聊天框架Spika
发现一款强大的开源聊天框架 Spika 。 它不仅提供iOS,Android,Web端的源码,还有后端的源码,都是开源的。Spika的提供者是来自克罗地亚的一家移动APP公司 Clover Studio 感谢他们的团队把这个项目从头到脚都开源了。
相对于传统的LAMP(LINUX, APACHE, MYSQL,PHP), Node.js + MongoDB 是一种比较新的后端组合。Google自己的聊天平台Google Messaging Cloud(GMC)就是基于Node.JS+MongoDB实现的。
废话不多说,开始使用吧!
安装服务器端
1.环境配置。 官网 上提供的是Ubuntu14.04版的配置过程。见下图:
由于我用的服务器是Amazon Linux,用yum来安装。
git clone git://github.com/nodejs/node.git
cd node
git checkout v4.4.7
./configure
make
sudo make install
sudo su
vi /etc/sudoers
:/usr/local/bin```
3.安装imagemagick
5.安装Spika
6.安装gulp
sudo npm install gulp -g
7.编写配置文件
把Config.host和port的值设为自己服务器的hostname和port, 把Config.chatDatabaseUrl的值改为mongoDB的路径。最好用1024以上的port。mongoDB如果没有修改安全选项的话,最好用127.0.0.1。
8 . 运行项目
这时候可能会报错
找不到jsdoc。 解决方法:
然后再次运行
开启服务器
node src/server/main.js
这个时候用浏览器登陆
主机号:端口号/spika
就可以开始聊天啦!
除了web版,它还有android和ios版,下次再尝试吧:)
③ Android的手机系统是开源的,开源到底是什么意思
开源,全称为开放源代码。市场上开源软件层出不穷,很多人可能认为开源软件最明显的特点是免费,但实际上并不是这样的,开源软件最大的特点应该是开放,也就是任何人都可以得到软件的源代码,加以修改学习,甚至重新发放,当然是在版权限制范围之内。
开源主要的目的就是允许任何一个人来修改和完善它,使用开源的软件都不需要缴纳费用,不想windows操作系统那样一套要两千块。
(3)android聊天开源扩展阅读
开源主要表现为管理成本、设计程序议题以及组织可信赖性等。首先就管理成本而言,主要是因为一旦计划发展到一定程度,其创新、修正的质量必然变大,参与人数众多,当然也会造成一定的管理成本,另外,整合、决策架构都会增高管理的成本。
其次就设计程序议题来看,其不断释出新版本,将造成消费者需要不断重新安装的困扰,并且由于其设计上通常较不关心友善的界面,会增加使用者的接近使用的难度。
④ 要做一个类似于微信或者QQ的Android、ios的聊天应用,请问服务器端用什么技术或开源框架比较好
即时聊天通用的协议是 XMPP,基于这个协议有一套java开源的服务端 openfire,可以快速的搭建一套即时聊天服务端。
但是现在有不少云即时通讯服务。例如
容联云通讯、云之讯、环信、融云
这些云服务提供了api,我们基于他的api开发很容易实现自己的即时聊天软件。服务端,服务器都不用我们自己管了,极大的节省了成本和开发周期。而且这些云服务基础服务都是免费的。
建议用第三方的云服务实现。
⑤ android上的socket通信的开源框架有哪些
xmpp协议的即时通讯方案,openfireandroidpn,等等。它们都是使用了apachemina开发,但是这些东西基本都需要二次改造开发。而且改动还很大,我也看过这些东西的源码,发现代码结构不太理想,耦合的情况太多,实在不好扩展。所谓XMPP协议。只不过是别人使用mina自定义了一个消息编码解码协议。通俗的讲就是,xml形式消息的编码与解码,我们完全没有必要在国外这套不成熟的openfire与xmpp上耗费过多的精力去研究,我们完全可以通过apachemina自定义自己的通讯协议,并可以为它使用自己的名字。我们不要盲目崇拜国外的有些东西,自己掌握原理,才是最重要的,各位切记~这套IM系统为我个人自主开发使用了apachemina,主要功能为服务端和客户端,客户端到客户端的即时通信,可以支持包括文字图片,语音等任何消息形式服务端使用的struts2+spring3和apacheminaandroid端也使用的apachemina。这套IM系统结构还是非常清晰合理的,非常容易扩展和改造,下面是android版本的demo的目的是只是一个演示,可以参照它的代码,使用这套系统开发自己的东西,核心价值是一套高灵活性,相对标准化的即时通讯解决方案,即时聊天只是它的一种运用途径!
⑥ Android平台有哪些开源的社交APP可供研究
如果想了解即时通讯相关东东的话可以看看蘑菇街的开源项目,它提供了一套完整的解决方案(服务器端+客户端)
mogutt/TTAndroidClient · GitHub
这个用了Netty的NIO框架,有发送语音的功能。
如果想要研究语音或者视频通讯的东西,WebRTC是少不了的了
WebRTC
基于地理位置的东西大部分依靠服务器端计算,mongodb的地理位置索引可以
开源社交软件可以参考一下,thinksns ,thinksns采用PHP+MySQL技术平台,以社交功能为核心+多应用+多插件机制。通过应用、插件、风格包等机制扩展功能,支持多种常见浏览器及移动客户端。拥有iPhone、Android客户端以及适合手机浏览的3G版界面;其轻量化的应用模式,稳固的底层架构支持二次开发。
⑦ 安卓第三方开源库
https://github.com/Snailclimb/JavaGuide
https://github.com/crossoverJie/JCSprout
https://github.com/yangchong211/YCBlogs
https://github.com/GcsSloop/AndroidNote
Android开源库V - Layout:淘宝、天猫都在用的UI框架,赶紧用起来吧!
安卓开发者不得不收藏的工具
安卓那些你不得不收藏的开源库
GitHub上受欢迎的Android UI Library
Android开源项目以及开源框架,各种UI实现效果
Github: https://github.com/fanhua1994/XBaseAndroid
Gituhb: https://github.com/white-cat/ThinkAndroid
Github: https://github.com/gdpancheng/LoonAndroid
http://www.52im.net/
http://blog.csdn.net/dong_18383219470/article/details/71101859
http://blog.csdn.net/dong_18383219470/article/details/77932822
https://github.com/robbiehanson/XMPPFramework Ios
http://www.igniterealtime.org/projects/smack/ Android
http://www.igniterealtime.org/projects/openfire/index.jsp Server
http://www.igniterealtime.org/projects/spark/index.jsp Client
开源中国官方安卓APP
https://gitee.com/oschina/android-app
安卓聊天APP
Gitee: https://gitee.com/735859399/weichat
Github: https://github.com/JackJiang2011/MobileIMSDK
tinker 补丁管理管理平台
https://github.com//tinker-manager
https://www.jianshu.com/p/e61a4d10e122
https://github.com/alibaba/AndFix 阿里系
ttps://github.com/dodola/HotFix 腾讯系
https://github.com/jasonross/Nuwa
https://github.com/bunnyblue/DroidFix
https://github.com/Tencent/tinker 微信
https://github.com/dodola/AnoleFix 仿美团
https://github.com/dodola/RocooFix
https://www.aliyun.com/proct/hotfix
https://github.com/Meituan-Dianping/Robust 美团系
https://github.com/meili/Aceso 蘑菇街
https://github.com/eleme/Amigo/ 饿了么
https://github.com/square/okhttp
Github: https://github.com/jeasonlzy/okhttp-OkGo 5.9K
github: https://github.com/siwangqishiq/ImageEditor-Android
github: https://github.com/Blizzard-liu/AndroidUtils
github: https://github.com/xiuweikang/IM
github: https://github.com/LaiFeng-Android/SopCastComponent
github: https://github.com/zhoubowen-sky/LingDong
github: https://github.com/cxmscb/android-MaterialEditText
GitHub: https://github.com/dmytrodanylyk/circular-progress-button
GitHub: https://github.com/johnkil/Android-AppMsg
GitHub: https://github.com/MrZhousf/EasyDB
GitHub: https://github.com/LineChen/FlickerProgressBar
GitHub:[ https://github.com/chrisbanes/Android-PullToRefresh 暂停维护]
Github: https://github.com/huxq17/XRefreshView
Github: https://github.com/scwang90/SmartRefreshLayout
Github: https://github.com/MarkMjw/PullToRefresh
Github: https://github.com/Yalantis/Phoenix
Github: https://github.com/liaohuqiu/android-cube-app
Github: https://github.com/lizhangqu/Camera
Github: https://github.com/mayubao/KuaiChuan
Github: https://github.com/greenrobot/EventBus
Github: https://github.com/stfalcon-studio/ChatKit
Github: https://github.com/Rance935/ChatUI
Github: https://github.com/qstumn/BadgeView
Github: https://github.com/bingoogolapple/BGAQRCode-Android
Github: https://github.com/dm77/barcodescanner
Github: https://github.com/googlesamples/easypermissions
Github: https://github.com/yanzhenjie/AndPermission
Github: https://github.com/nanchen2251/CompressHelper
Github: https://github.com/jeanboydev/Android-BitherCompress
Github: https://github.com/Curzibn/Luban (最接近朋友圈图片压缩的算法)
Github: https://github.com/Sunzxyong/Tiny (an image compression framework.)
Github: https://github.com/FinalTeam/RxGalleryFinal
Github: https://github.com/ValuesFeng/AndroidPicturePicker
Github: https://github.com/LuckSiege/PictureSelector
Github: https://github.com/crazycodeboy/TakePhoto
Github: https://github.com/jeasonlzy/NineGridView
Github: https://github.com/donglua/PhotoPicker
Github: https://github.com/jeasonlzy/ImagePicker (已停止维护)
Github: https://github.com/LuckSiege/PictureSelector
Github: https://github.com/FinalTeam/RxGalleryFinal
Gituhb: https://github.com/DroidNinja/Android-FilePicker
Github: https://github.com/HomHomLin/AdvancedPagerSlidingTabStrip
Github: https://github.com/yangfuhai/ASimpleCache
Gituhb: https://github.com/ikew0ng/SwipeBackLayout
Github: https://github.com/liuguangqiang/SwipeBack
[图片上传失败...(image-487509-1510123239039)]
[图片上传失败...(image-f75761-1510123239039)]
Github: https://github.com/Tamicer/JsWebView
Github: https://github.com/forezp/SpringCloudLearning
Gituhb: https://github.com/daimajia/NumberProgressBar
Github: https://github.com/LinHuanTanLy/Pay_Master
Gituhb: https://github.com/chrisbanes/PhotoView
Github: https://github.com/orhanobut/dialogplus
Gituhb: https://github.com/saiwu-bigkoo/Android-AlertView
Github: https://github.com/afollestad/material-dialogs
Github: https://github.com/pedant/sweet-alert-dialog
Github: https://github.com/JoanZapata/android-pdfview
Gituhb: https://github.com/hongyangAndroid/Highlight
Gituhb: https://github.com/xiaoyaoyou1212/BluetoothChat
Github: https://github.com/LillteZheng/ViewPagerHelper
Github: https://github.com/crazyandcoder/citypicker
Github: https://github.com/QMUI/QMUI_Android
MVP+RxJava2+Retrofit2+Glide+Rxbus,主要实现日报、新闻、干货、影视等资讯,个人项目
Github: https://github.com/Horrarndoo/YiZhi
Github: https://github.com/yangchong211/LifeHelper
A memory leak detection library for Android and Java.(用于Android和Java的内存泄漏检测库)
Github: https://github.com/square/leakcanary
Github: https://github.com/zerochl/FFMPEG-AAC-264-Android-32-64
Github: https://github.com/aesion/NodeProgressView
https://github.com/CarGuo/GSYVideoPlayer
Github: https://github.com/gjiazhe/WaveSideBar
Github: https://github.com/fanhua1994/WheelPicker
Gituhb: https://github.com/XXApple/AndroidLibs
Github: https://github.com/AigeStudio/WheelPicker
Github: https://github.com/scwang90/SmartRefreshLayout (最强)
Github : https://github.com/RawnHwang/SmartRefreshLayout
Github: https://github.com/anzewei/NestRefreshLayout
Github: https://github.com/lipangit/JiaoZiVideoPlayer
Github: https://github.com/ACRA/acra
Github: https://github.com/CarGuo/CustomActionWebView
Github: https://github.com/fanhua1994/FastVideoPlayer
轻松将相机功能集成到您的Android应用程序
Github: https://github.com/google/cameraview
Github: https://github.com/hongyangAndroid/AndroidAutoLayout
Github: https://github.com/JessYanCoding/AndroidAutoSize (今日头条)
视频录制 视频压缩
Github: https://github.com/zerochl/FFMPEG-AAC-264-Android-32-64
Github: https://github.com/WritingMinds/ffmpeg-android-java
Github : https://github.com/chenhui28/VideoRecorderAndCompressor
Weixin: https://mp.weixin.qq.com/s/7ffZB0_RB90i5c60bEYRWg
Github: https://github.com/bm-x/PhotoView
Github: https://github.com/chrisbanes/PhotoView
Github: https://github.com/jpush/aurora-imui
Github: https://github.com/MZCretin/WifiTransfer-master
Github: https://github.com/DuanJiaNing/Musicoco
Github: https://github.com/GitLqr/LQRWeChat
Github: https://github.com/hmkcode/Android
Github: https://github.com/TheFinestArtist/FinestWebView-Android
github: https://github.com/delight-im/Android-AdvancedWebView
一款新闻客户端, MVP + RxJava + Retrofit + Dagger2
Github: https://github.com/Will-Ls/WeiYue
Github: https://github.com/yaowen369/DownloadHelper
Github: https://github.com/SOFTPOWER1991/OpenCVCheck
Github: https://github.com/luozhanming/Captcha
Github: https://github.com/JesseFarebro/Android-Mqtt
Github: https://github.com/wenmingvs/AndroidProcess
Github: https://github.com/jaredrummler/AndroidProcesses
Github: https://github.com/daimajia/AndroidSwipeLayout
Github: https://github.com/norbsoft/android-typeface-helper
Github: https://github.com/zcweng/ToggleButton
Github: https://github.com/wangzailfm/WanAndroidClient (Kotlin)
Github: https://github.com/salecoding/WanAndroid (Java)
Github: https://github.com/zrunker/IbookerEditorAndroid/
Github: https://github.com/jfeinstein10/SlidingMenu
Github: https://github.com/SpecialCyCi/AndroidResideMenu
Github: https://github.com/totond/TextPathView
Github: https://github.com/DroidPluginTeam/DroidPlugin [360手机助手]
Github:[
⑧ 怎么开发简单的android即时聊天app,用哪些技术
sdk最简单。
想要自己写的话意味着要自己搭建服务器了。比较常见的XMPP协议也有开源的解决方案,安卓客户端可以用asmack,服务器用openfire
⑨ Android平台有哪些开源的社交APP可供研究
1.Google系应用:Google出品,你值得拥有!只要一个Google账号全部搞定!
2.Google Keep: 和Evernote是同一类,不过相对精简很多,可以在手机和chrome上同步
3.Play Books: 可以从Google Play上下载很多电子书不过大多是收费的,当一个阅读软件也不错,支持pdf和epub的阅读和上传
4.Play Newsstand: 有很多不错的新闻和网站信息可以订阅
5.QuickOffice: 免费的移动办公软件,感觉比WPS好用很多
6.Gmail,Chrome,Google Play(完整版)当然是必备的
工具类:一些必备的小工具
1.ES File Explorer: 必备!功能很强大实用,还可以用来管理云端的文件
2.Greenify; 利器,有没有root都可以用
3.Alarmy; 神级闹钟,麻麻再也不用担心我起不了床
4.豌豆荚:虽然建议应用尽量在Google Play下载,但在天朝混总得留点接地气的
5.Wunderlist: 用起来很舒服
6.Easy Voice Recorder: 手机没有自带录音软件,找到的这个是最好用的,练习口语的时候录音来听
7.fqrouter2: 翻墙神奇,速度也不错
8.触宝(TouchPal)输入法:最好用的输入法,中英文都很赞
新闻阅读类:手机是日常获取信息的重要途径
1.Flipboard: 最好用的,从手机到平板
2.Pocket: Read it later,蛮实用的,UI也做得不错
3.Quora和知乎:能学习到很多东西的地方,虽然app的UI做得都不是特别舒服
4.TheScore: 可以很方便的查看很多体育比赛的信息和新闻,而且会有提醒和文字直播
音乐视频类:
1.Poweramp: 很赞的音乐播放器
2.MX Player: 用过最好用、最简洁的视频播放器
3.Shazam: 可以通过音频识别歌曲,解决了一直以来听到好歌就是不知道曲名的困扰
4.虾米:虽然优化和界面不敢恭维,不过还是相当实用
游戏类:个人比较偏爱MUG
1.Cytus: Rayark出的音乐游戏,选曲超赞,良心作,支持正版
2.Deemo: 同样是Rayark出品,下落式音乐游戏,选曲和界面都很漂亮
3.O2Jam: 经典的下落式
⑩ Android平台有哪些开源的社交APP可供研究
Android4.0 Android 4.0将只提供一个版本,同时支持智能手机、平板电脑、电视等设备。至此Android系统设备将迎来统一,Android平板的窘迫现状将得到有效改善。另一方面包括三星、索尼在内的家电厂商日益发展的Smart TV也将迎来一次有价值的Android版本升级。 2、 全新设计的UI人性化体验界面 谷歌在经历了Android 2.3的版本更新之后,手机系统UI进行了不小的改进,而新的Android 3.1的用户界面也一改此前Android单调的风格。在经历了众多版本的演化之后,谷歌应该对于用户界面体验方面有所提升,新的UI设计很有可能会迎来成熟版。 3、回归原点 保持开源特性 此前Android 3.0曾一度宣布不采取开源措施,然而谷歌深知Android系统一大成功特性就是开源。平板上吃到的苦头势必在全新的Android 4.0上避免,用户为中心的刷机资源一定会让Android 4.0锦上添花。如果你是一个ROM的定制用户,那么你会对这条消息很开心,相信源码一旦发布,很快就能看到 CyanogenMod 9。 4、同步升级Linux内核 更新3.0以上版本 Android4.0 Android是Google自己研发的手机平台操作系统,该平台基于开源软件Linux,由操作系统、中间件、用户界面和应用软件组成,号称是首个为移动终端打造的真正开放和完整的移动软件 4.0的版本号就能告诉我们,这是一个大的升级版本。Linux刚刚发布Linux 3.0内核没多久,后来又更新到了3.0.1 。 5、音频、视频Android Market提供资源下载 谷歌已经试水性质的推出了Google Music Beta ,允许上传2万首音乐到Google的云端服务器,自动创建播放列表在任何支持flash的设备上回放,我们有理由相信这种在Appstore影响下的数字视频、音频服务内容的提供也将会出现在Android上。 6、针对多核处理器优化 随着越来越多的厂商都在推双核的智能手机,实际的效果如何我们不予评说,但Android 4.0将特别为使用双核乃至多核处理器的手机进行专门的优化,充分发挥双核的性能。 7、运行速度全面提升 虽然官方暂时并没有提及这个性能具体体现在什么方面,但是性能上的提升是势必会有的。 8、集成Google电视和Chrome OS的智能停放 Android4.0 除了在智能电视Google TV中进行融合,全新的Android 4.0也将有望借鉴Chrome OS系统的智能停放功能进行优化,这些功能有望帮助Android 4.0在多项设备终端进行整合。 9、为OEM提供了官方的主题引擎 有了这个引擎,便可通过Google的升级程序更新到这些第三方的主题。必须的,现在外观同质化这么严重,主题与内涵成为了手机的重点因素之一。 10、比拟GameCenter的游戏中心 Google收购和投资如LabPixies、Slide、Jambool、Zynga等公司,这些都将会是Google手机游戏社交网络的技术储备,而直接竞争对手会是苹果的Games Center。这些都预示着Android下一个版本将迎来一次整合高质量游戏应用的一个平台。