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下一個版本將迎來一次整合高質量游戲應用的一個平台。