Skip to content

Commit

Permalink
v3.0发布!
Browse files Browse the repository at this point in the history
  • Loading branch information
JackJiang2011 committed Jun 30, 2017
1 parent 58db25a commit 6c7aa94
Show file tree
Hide file tree
Showing 1,084 changed files with 30,185 additions and 19,618 deletions.
21 changes: 13 additions & 8 deletions ABOUT.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
MobileIMSDK, a cross-device Instant Messaging library.
Author: Jack Jiang
QQ: 413980957
Skype: hellojackjiang
Mail: [email protected] or [email protected]
Homepage: https://github.com/JackJiang2011/MobileIMSDK/
Discuss: 即时通讯网(http://www.52im.net/) - 即时通讯技术社区!
QQ Group: 215891622
【工程名称】:MobileIMSDK v3, a cross-device Instant Messaging library
【新版动态】: MobileIMSDK最新v3.0版首次发布于2017年06月25日
【作者】: Jack Jiang
【QQ】: 413980957
【Mail】: [email protected] or [email protected]
【Skype】: hellojackjiang
【讨论区】: http://www.52im.net/forum-89-1.html
【工程主页】: https://github.com/JackJiang2011/MobileIMSDK/
【IM技术交流群】: 320837163

【重要说明】:请优先阅读文件“[请读我]目录内容说明.txt”中的内容。


36 changes: 32 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
* 客户端支持iOS、Android、标准Java平台;
* 可应用于跨设备、跨网络的聊天APP、企业OA、消息推送等各种场景。

> MobileIMSDK工程始于2013年10月,起初用作某产品的即时通讯底层实现,完全从零开发。<br>
> MobileIMSDK工程始于2013年10月(2017年06月26日发布了最新版v3.0),起初用作某产品的即时通讯底层实现,完全从零开发。<br>
MobileIMSDK现已公开并免费供开发者使用,希望对需要的人有所启发和帮助。

:point_right: 您可能需要:[查看更多关于MobileIMSDK的疑问及解答](http://www.52im.net/thread-60-1-1.html)
Expand Down Expand Up @@ -145,7 +145,7 @@ MobileIMSDK现已公开并免费供开发者使用,希望对需要的人有所
# 十三、联系方式
* 讨论学习和资料区::earth_americas: [点此进入](http://www.52im.net/forum-89-1.html)
* 移动端即时通讯学习交流群:`215891622` <a target="_blank" href="http://shang.qq.com/wpa/qunwpa?idkey=4cc788473d261129ab3ded26fbb22168d0fa52c799d28f92a8f193dc36865bcb"><img border="0" src="http://pub.idqqimg.com/wpa/images/group.png" alt="移动端即时通讯/IM开发" title="移动端即时通讯/IM开发"></a> ([更多QQ群点此进入](http://cngeeker.com/portal.php?mod=topic&topicid=2));
* 移动端即时通讯学习交流群:`320837163` <a target="_blank" href="http://shang.qq.com/wpa/qunwpa?idkey=347e290d9cc726233b8c106272c100c8b56c366914452ebcd577f520e3617649"><img border="0" src="http://pub.idqqimg.com/wpa/images/group.png" alt="即时通讯(IM/推送)开发2" title="即时通讯(IM/推送)开发2"></a> ([更多QQ群点此进入](http://cngeeker.com/portal.php?mod=topic&topicid=2));
* bug和建议请发送至::love_letter: `[email protected]`
* 技术支持、技术合作或咨询请联系作者QQ::penguin: `413980957`、微信:`hellojackjiang`

Expand All @@ -154,18 +154,46 @@ MobileIMSDK现已公开并免费供开发者使用,希望对需要的人有所
* 博客地址:[点击入进](http://www.52im.net/space-uid-1.html)
* Github主页:[点击进入](https://github.com/JackJiang2011)

# 附录1:Demo截图
# 附录1:官方Demo截图
### :triangular_flag_on_post: Android和iOS运行效果:
> <code>安装和使用:</code>[进入Android版Demo帮助页](http://www.52im.net/thread-55-1-1.html)[进入iOS版Demo帮助页](http://www.52im.net/thread-54-1-1.html)
![](https://github.com/JackJiang2011/MobileIMSDK/raw/master/preview/more_screenshots/others/ios_android_real_run.jpg)
![](https://github.com/JackJiang2011/MobileIMSDK/raw/master/preview/ios_demo_main.png)

### :triangular_flag_on_post: Windows 运行效果:
> <code>安装和使用:</code>[进入Java版Demo帮助页](http://www.52im.net/thread-56-1-1.html)
![](https://github.com/JackJiang2011/MobileIMSDK/raw/master/preview/java_demo_main.png)
![](https://github.com/JackJiang2011/MobileIMSDK/raw/master/preview/more_screenshots/others/windows_real_run.png)

### :triangular_flag_on_post: Mac OS X 运行效果:
> <code>安装和使用:</code>[进入Java版Demo帮助页](http://www.52im.net/thread-56-1-1.html)
![](https://github.com/JackJiang2011/MobileIMSDK/raw/master/preview/more_screenshots/others/mac_real_run.png)
![](https://github.com/JackJiang2011/MobileIMSDK/raw/master/preview/more_screenshots/others/mac_real_run.png)

### :triangular_flag_on_post: MobileIMSDK-Web版客户端Demo运行效果:
> <code>如何获取MobileIMSDK-Web版:</code>请联系作者。
![](https://github.com/JackJiang2011/MobileIMSDK/raw/master/preview/web_demo_20170630.jpg)

# 附录2:基于MobileIMSDK的全功能IM【案例】
> <code>关于RainbowChat的更多资料请见:</code>[全功能移动端即时通讯/IM系统:RainbowChat前端APP功能截图](http://www.52im.net/thread-20-1-1.html)
![](https://github.com/JackJiang2011/MobileIMSDK/raw/master/preview/more_products/rainbowchat_v4_20170626.jpg)

# 附录3:基于MobileIMSDK的某云客服IM子系统【案例】
> <code>下图为某云客服产品IM子系统-Web版访客端:</code>
![](https://github.com/JackJiang2011/MobileIMSDK/raw/master/preview/more_products/cs-im-visitor-web.jpg)

> <code>下图为某云客服产品IM子系统-Web版客服后台端:</code>
![](https://github.com/JackJiang2011/MobileIMSDK/raw/master/preview/more_products/cs_im_servicer_web_20161227.jpg)

> <code>下图为某云客服产品IM子系统-Android版访客端:</code>
![](https://github.com/JackJiang2011/MobileIMSDK/raw/master/preview/more_products/cs-im-visitor-ios_20170509.jpg)

> <code>下图为某云客服产品IM子系统-iOS版客服后台端:</code>
![](https://github.com/JackJiang2011/MobileIMSDK/raw/master/preview/more_products/cs-im-servicer-ios_20170509.jpg)

> <code>下图为某云客服产品IM子系统-Android版客服后台端:</code>
![](https://github.com/JackJiang2011/MobileIMSDK/raw/master/preview/more_products/cs-im-servicer-android_20170509.jpg)
12 changes: 6 additions & 6 deletions [请读我]目录内容说明.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
/demos Ŀ¼��
����õĿ�ִ��Demo��ֱ�Ӱ�װ���ֻ���˫�����м��ɡ�
ں�����õĿ�ִ��Demo��ֱ�Ӱ�װ���ֻ���˫�����м��ɡ�

/dist Ŀ¼��
����õ�MobileIMSDK���Ŀ�lib�������߿�ֱ�����õ����ѵĹ����У�����һ����Ҫ��Դ�뿽��ȥ���á�
ں�����õ� MobileIMSDK v3.x ���Ŀ�lib�������߿�ֱ�����õ����ѵĹ����У�����һ����Ҫ��Դ�뿽��ȥ���á�

/docs Ŀ¼��
api�ĵ���
�ں�api�ĵ���

/preview Ŀ¼��
Demo�����н�ͼ��
�ں�Demo��һЩ��Ʒ���������н�ͼ�������ο���

/release_notes Ŀ¼��
���ΰ汾�������ݼ�¼��
ں����ΰ汾�������ݼ�¼��

/src_all Ŀ¼��
MobileIMSDK��DemoԴ��ͺ��Ŀ�Դ�롣
�ں� MobileIMSDK v3.x ���DemoԴ��ͺ��Ŀ�Դ�롣



Binary file modified demos/client/MobileIMSDKDemo-Android.apk
Binary file not shown.
Binary file modified demos/client/MobileIMSDKDemo-Java.jar
Binary file not shown.
Binary file removed demos/client/MobileIMSDKDemo-iOS.ipa
Binary file not shown.
3 changes: 3 additions & 0 deletions demos/client/MobileIMSDKDemo-iOS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

【关于MobileIMSDK的iOS版Demo的编译和安装】
因Demo程序很难上苹果的App商店,目前无法直接安装MobileIMSDK的iOS版,请至目录:/src_all/demos/MobileIMSDK4iDemo_x,用Xcode打开后自行编译安装即可,谢谢。
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
11 changes: 11 additions & 0 deletions demos/server/MobileIMSDKServerDemoX_deploy_v3.0b20170626/run.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
@echo off

@echo 欢迎使用 MobileIMSDK v3 服务端(build20170626)
@echo.
@echo IM核心服务器正在运行中...
@echo.

"%JAVA_HOME%/bin/java" -cp lib/gson-2.7.jar;lib/log4j-1.2.17.jar;lib/slf4j-api-1.7.21.jar;lib/slf4j-log4j12-1.7.21.jar;lib/MobileIMSDKServerX.jar;lib/MobileIMSDKServerX_meta.jar;lib/MobileIMSDKX_MQ.jar;lib/rabbitmq-client.jar;"%JAVA_HOME%/lib/tools.jar;classes/.;lib/mina-core-2.0.14.jar;" net.openmob.mobileimsdk.server.demo.ServerLauncherImpl %1

@echo.
pause
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
11 changes: 0 additions & 11 deletions demos/server/MobileIMSDKServerDemo_deploy_v2.1.1b20151104/run.bat

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
11 changes: 0 additions & 11 deletions demos/server/MobileIMSDKServerDemo_deploy_v2.1.9b20170308/run.bat

This file was deleted.

2 changes: 1 addition & 1 deletion demos/说明.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
此目录下为MobileIMSDK已编译好的可执行Demo,MobileIMSDK的源码,请至目录/src_all下查看。
此目录下为 MobileIMSDK v3 版已编译好的可执行Demo,MobileIMSDK的源码请至目录/src_all下查看。
Binary file modified dist/client/android/MobileIMSDK4a.jar
Binary file not shown.
Binary file added dist/client/android/MobileIMSDKServerX_meta.jar
Binary file not shown.
Binary file removed dist/client/android/MobileIMSDKServer_meta.jar
Binary file not shown.
Binary file added dist/client/ios/libMobileIMSDK4iX_common.a
Binary file not shown.
Binary file removed dist/client/ios/libMobileIMSDK4i_common.a
Binary file not shown.
17 changes: 11 additions & 6 deletions dist/client/ios/usr/local/include/AutoReLoginDaemon.h
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
// ----------------------------------------------------------------------
// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project.
// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang.
// The MobileIMSDK_X (MobileIMSDK v3.x) Project.
// All rights reserved.
// Project URL: https://github.com/JackJiang2011/MobileIMSDK
//
// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
// > Github地址: https://github.com/JackJiang2011/MobileIMSDK
// > 文档地址: http://www.52im.net/forum-89-1.html
// > 即时通讯技术社区:http://www.52im.net/
// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html)
//
// You can contact author with [email protected] or [email protected].
// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。
//
// 如需联系作者,请发邮件至 [email protected][email protected].
// ----------------------------------------------------------------------
//
// AutoReLoginDaemon.h
// MobileIMSDK4i
// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017)
//
// Created by JackJiang on 14/10/24.
// Copyright (c) 2014年 openmob.net. All rights reserved.
// Copyright (c) 2017年 52im.net. All rights reserved.
//

#import <Foundation/Foundation.h>
Expand Down
17 changes: 11 additions & 6 deletions dist/client/ios/usr/local/include/CharsetHelper.h
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
// ----------------------------------------------------------------------
// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project.
// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang.
// The MobileIMSDK_X (MobileIMSDK v3.x) Project.
// All rights reserved.
// Project URL: https://github.com/JackJiang2011/MobileIMSDK
//
// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
// > Github地址: https://github.com/JackJiang2011/MobileIMSDK
// > 文档地址: http://www.52im.net/forum-89-1.html
// > 即时通讯技术社区:http://www.52im.net/
// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html)
//
// You can contact author with [email protected] or [email protected].
// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。
//
// 如需联系作者,请发邮件至 [email protected][email protected].
// ----------------------------------------------------------------------
//
// CharsetHelper.h
// MobileIMSDK4i
// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017)
//
// Created by JackJiang on 14/10/22.
// Copyright (c) 2014年 openmob.net. All rights reserved.
// Copyright (c) 2017年 52im.net. All rights reserved.
//

#import <Foundation/Foundation.h>
Expand Down
20 changes: 12 additions & 8 deletions dist/client/ios/usr/local/include/ChatBaseEvent.h
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
// ----------------------------------------------------------------------
// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project.
// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang.
// The MobileIMSDK_X (MobileIMSDK v3.x) Project.
// All rights reserved.
// Project URL: https://github.com/JackJiang2011/MobileIMSDK
//
// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
// > Github地址: https://github.com/JackJiang2011/MobileIMSDK
// > 文档地址: http://www.52im.net/forum-89-1.html
// > 即时通讯技术社区:http://www.52im.net/
// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html)
//
// You can contact author with [email protected] or [email protected].
// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。
//
// 如需联系作者,请发邮件至 [email protected][email protected].
// ----------------------------------------------------------------------
//
// ChatBaseEvent.h
// MobileIMSDK4i
// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017)
//
// Created by JackJiang on 14/10/21.
// Copyright (c) 2014年 openmob.net. All rights reserved.
// Copyright (c) 2017年 52im.net. All rights reserved.
//

#import <Foundation/Foundation.h>
Expand All @@ -33,10 +38,9 @@
/*!
* 本地用户的登陆结果回调事件通知。
*
* @param dwUserId 当回调参数dwErrorCode=0时,本回调参数值表示登陆成功后服务端分配的用户id,否则本回调参数值无意义
* @param dwErrorCode 服务端反馈的登录结果:0 表示登陆成功,否则为服务端自定义的出错代码(按照约定通常为>=1025的数)
*/
- (void) onLoginMessage:(int)dwUserId withErrorCode:(int) dwErrorCode;
- (void) onLoginMessage:(int) dwErrorCode;

/*!
* 与服务端的通信断开的回调事件通知。
Expand Down
21 changes: 13 additions & 8 deletions dist/client/ios/usr/local/include/ChatTransDataEvent.h
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
// ----------------------------------------------------------------------
// Copyright (C) 2015 Jack Jiang The MobileIMSDK Project.
// Copyright (C) 2017 即时通讯网(52im.net) & Jack Jiang.
// The MobileIMSDK_X (MobileIMSDK v3.x) Project.
// All rights reserved.
// Project URL: https://github.com/JackJiang2011/MobileIMSDK
//
// openmob.net PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
// > Github地址: https://github.com/JackJiang2011/MobileIMSDK
// > 文档地址: http://www.52im.net/forum-89-1.html
// > 即时通讯技术社区:http://www.52im.net/
// > 即时通讯技术交流群:320837163 (http://www.52im.net/topic-qqgroup.html)
//
// You can contact author with [email protected] or [email protected].
// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。
//
// 如需联系作者,请发邮件至 [email protected][email protected].
// ----------------------------------------------------------------------
//
// ChatTransDataEvent.h
// MobileIMSDK4i
// MibileIMSDK4i_X (MobileIMSDK v3.0 at Summer 2017)
//
// Created by JackJiang on 14/10/21.
// Copyright (c) 2014年 openmob.net. All rights reserved.
// Copyright (c) 2017年 52im.net. All rights reserved.
//

#import <Foundation/Foundation.h>
Expand All @@ -37,10 +42,10 @@
* 应用层可以将此消息进一步按自已的IM协议进行定义,从而实现完整的即时通信软件逻辑。
*
* @param fingerPrintOfProtocal 当该消息需要QoS支持时本回调参数为该消息的特征指纹码,否则为null
* @param dwUserid 消息的发送者id(RainbowCore框架中规定发送者id=0即表示是由服务端主动发过的,否则表示的是其它客户端发过来的消息)
* @param userid 消息的发送者id(RainbowCore框架中规定发送者id=“0”即表示是由服务端主动发过的,否则表示的是其它客户端发过来的消息)
* @param dataContent 消息内容的文本表示形式
*/
- (void) onTransBuffer:(NSString*)fingerPrintOfProtocal withUserId:(int)dwUserid andContent:(NSString*)dataContent;
- (void) onTransBuffer:(NSString*)fingerPrintOfProtocal withUserId:(NSString*)userid andContent:(NSString*)dataContent andTypeu:(int)typeu;

/*!
* 服务端反馈的出错信息回调事件通知。
Expand Down
Loading

0 comments on commit 6c7aa94

Please sign in to comment.