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