Android project configuration#
public class HTConstant {
//IM服务器相关
public static final String HOST_IM = "xxx.xxx.xxx.xxx";//示例ip: 119.125.523.153 此IP不可用
//api服务器
public static final String HOST_API = "http://xxx.xxx.xxx.xxx/api/";//示例ip: 119.125.523.153 此IP不可用
//阿里云OSS信息配置
public static final String endpoint = "oss-cn-hangzhou.aliyuncs.com";
public static final String accessKeyId = "xxxxxxxx";
public static final String accessKeySecret = "xxxxxxxxxxxx";
.....
}
Related projects
#The most sincere open source IM system YiChat#
- github address: https://github.com/YiChat
- Open source Chinese address: https://git.oschina.net/zhangfeng_tech ##Open source content of this project## ###All source codes that have been open source:###
- IM server (responsible for instant messaging messages) - direct deployment, no need to modify parameters
- api server (other business logic related to non-IM module) - modify one parameter, see the documentation under the project for details
- Android client-configuration parameters, connect to your own server IP. See the engineering documentation for details
###Project source code to be open source:###
- iOS client: The first three projects will be open source as soon as their github stars exceed 3,000
##The significance of this open source project is##
- Having your own IM server is no longer subject to the restrictions of third-party communication clouds.
- Provides a complete and optimized client source code, please see the experience package for details:
- Android: https://www.pgyer.com/YiChatLite
- iOS: https://www.pgyer.com/9sVQ
##QQ:84543217 (Please submit an issue for technical related matters, and for business cooperation, please contact QQ)