WX_Mars | WeChat mars source code analysis

 by   kingsunc C++ Version: Current License: Non-SPDX

kandi X-RAY | WX_Mars Summary

kandi X-RAY | WX_Mars Summary

WX_Mars is a C++ library. WX_Mars has no bugs, it has no vulnerabilities and it has low support. However WX_Mars has a Non-SPDX License. You can download it from GitHub.

WeChat mars source code analysis
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              WX_Mars has a low active ecosystem.
              It has 2 star(s) with 5 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              WX_Mars has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of WX_Mars is current.

            kandi-Quality Quality

              WX_Mars has no bugs reported.

            kandi-Security Security

              WX_Mars has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              WX_Mars has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              WX_Mars releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of WX_Mars
            Get all kandi verified functions for this library.

            WX_Mars Key Features

            No Key Features are available at this moment for WX_Mars.

            WX_Mars Examples and Code Snippets

            No Code Snippets are available at this moment for WX_Mars.

            Community Discussions

            No Community Discussions are available at this moment for WX_Mars.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install WX_Mars

            Choose Android or iOS/OS X or Windows. You can use either mars-wrapper or mars-core. We recommend you to use mars-wrapper when you just wanna build a sample or demo, while mars-core is preferred to be used in your APP. Add dependencies by adding the following lines to your app/build.gradle. Add dependencies by adding the following lines to your app/build.gradle. If you read here, make sure you have added dependencies of mars-wrapper or mars-core. Initialize Xlog when your APP starts. Remember to use an exclusive folder to save the log files, no other files are acceptable in the folder since they would be removed by the cleansing function in Xlog automatically. When multiple processes is used in your app, make sure that each process owns its exclusive log file. Uninitialized Xlog when your app exits. If you add dependencies of mars-core to your project, you need to initialize and release STN. Initialize STN before you use it. Firstly, you should call the setCallBack interface, and secondly, the Mars.init. Then, to initialize the Mars, there is to need to strictly follow the orders of the four commands. Finally, after Mars are initialized, onForeground and makesureLongLinkConnect can be called.
            Add mars.framework as a dependency of your project.
            Rename files with .rewriteme extension to .cc extension.
            Add header files and source files into your project.
            Add mars.lib as a dependency of your project.
            Rename files with .rewriteme extension to .cc extension.
            Add header files and source files into your project.
            接入 Android 或者 iOS/OS X 或者 Windows 。. gradle 接入我们提供了两种接入方式:mars-wrapper 或者 mars-core。如果你只是想做个 sample 推荐使用 mars-wrapper,可以快速开发;但是如果你想把 mars 用到你的 app 中的话,推荐使用 mars-core,可定制性更高。. 在 app/build.gradle 中添加 mars-wrapper 的依赖:. 在 app/build.gradle 中添加 mars-core 的依赖:. 接着往下操作之前,请先确保你已经添加了 mars-wrapper 或者 mars-core 的依赖. 在程序启动加载 Xlog 后紧接着初始化 Xlog。但要注意如果你的程序使用了多进程,不要把多个进程的日志输出到同一个文件中,保证每个进程独享一个日志文件。而且保存 log 的目录请使用单独的目录,不要存放任何其他文件防止被 xlog 自动清理功能误删。. 如果你是把 mars-core 作为依赖加入到你的项目中的话,你需要显式的初始化和反初始化 STN. 初始化顺序不一定要严格遵守上述代码的顺序,但在初始化时首先要调用 setCallBack 接口 (callback 文件的编写可以参考 demo),再调用 Mars.init,最后再调用 onForeground 和 makesureLongLinkConnect,中间顺序可以随意更改。注意:STN 默认是后台,所以初始化 STN 后需要主动调用一次BaseEvent.onForeground(true). 如果你是把 mars-wrapper 作为依赖加入到你的项目中,你只需要显式的初始化 STN,不需要反初始化(因为 mars-wrapper 会进行反初始化). 不管你是使用 mars-wrapper 还是 mars-core,你都需要特别注意以下事件:. 把 mars.framework 作为依赖加入到你的项目中,把和 mars.framework 同目录的后缀名为 rewriteme 的文件名删掉".rewriteme"和头文件一起加入到你的项目中。. 在程序启动加载 Xlog 后紧接着初始化 Xlog。但要注意保存 log 的目录请使用单独的目录,不要存放任何其他文件防止被 xlog 自动清理功能误删。. 在函数 "applicationWillTerminate" 中反初始化 Xlog. 初始化顺序不一定要严格遵守上述代码的顺序,但在初始化时首先要调用 setCallBack 接口 (callback 文件的编写可以参考 demo),再调用 Mars.init,最后再调用 onForeground 和 makesureLongLinkConnect,中间顺序可以随意更改。注意:STN 默认是后台,所以初始化 STN 后需要主动调用一次BaseEvent.onForeground(true). 把 mars.lib作为依赖加入到你的项目中,把和 mars.lib 同目录的后缀名为 rewriteme 的文件名删掉".rewriteme"和头文件一起加入到你的项目中。. 在程序启动加载 Xlog 后紧接着初始化 Xlog。但要注意保存 log 的目录请使用单独的目录,不要存放任何其他文件防止被 xlog 自动清理功能误删。. 初始化顺序不一定要严格遵守上述代码的顺序,但在初始化时首先要调用 setCallBack 接口 (callback 文件的编写可以参考 demo),再调用 Mars.init,最后再调用 onForeground 和 makesureLongLinkConnect,中间顺序可以随意更改。注意:STN 默认是后台,所以初始化 STN 后需要主动调用一次BaseEvent.onForeground(true).

            Support

            Learn more from mars/sample.Read the source code.Read the wiki or FAQ for help.Contact us for help.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/kingsunc/WX_Mars.git

          • CLI

            gh repo clone kingsunc/WX_Mars

          • sshUrl

            git@github.com:kingsunc/WX_Mars.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link