Android Instant Messaging (i)----environment construction

Source: Internet
Author: User

Recently, the brain is more chaotic, or calm down to get something in mind more practical.

In the previous company also had contact with the instant messaging, is implemented with the XMPP protocol, and then use the OpenFire server, get direct use, today to study the ring letter to achieve instant communication

1. Register the Ring Letter developer account and create the app

Click to register on the ring official website, jump to the Ring Management background registration page, such as:

Fill in the details on the registration page, such as:

Enterprise ID, limited to numbers, letters, horizontal lines, and cannot begin and end with a horizontal line. The enterprise ID will exist in the generated appkey, such as: Appkey is easemob-demo#chatdemoin the test demo, Easemob-demo is the enterprise ID that is filled in)

Note: If it is a personal app development, the enterprise ID can be written directly into its own defined ID


Click to register, after the successful registration, will send you to fill in the mailbox sent verification information, please go to the mailbox for account activation. Such as:

Fill in the name of the app you created (the content is limited to numbers, uppercase and lowercase letters), such as:

(The app name will exist in the appkey you generated, such as: Appkey is easemob-demo#chatdemoin the test demo, then Chatdemo is the name of the app that was filled in.) Registration authorization is optional on request)


Once you've filled out the app name, click OK, create a success, and the system will generate Appkey and related configuration information for you, such as:


The above steps the document content of the ring letter, download the SDK



Place the jar package in the SDK under lids, and say so file under Jnilibs


OK, the environment is easy to set up, the reference ring letter documents can be completed, follow-up continue to update ...


Android Instant Messaging (i)----environment construction

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.