1. Push
GCM Google Cloud messaging service. (Domestic situation)
Long connection, a communication connection is always established between the client and the server. Called Push
Short connection, pseudo push, called polling
Instant communication implemented by short connections is pseudo-instant communication,
Push difficulty: Concurrency, identity sound authentication, wire break re-connect, but no benefit to programmers. You can have one. The programmers who are pursuing it, still have to figure it out. Work is irreplaceable.
Third-party push platform: Aurora push, push, Baidu push, Xiaomi push send.
2. Aurora Push
1, is the Libs under the copy of everything under the Libs
2. Modify the XML file, replace the package name, replace the app key
Add code
The difference between notification and push.
3. There is also a receiver in the XML (the code here is advanced--receive push message receiver)
After the Registration ID client and Aurora Push establish a connection, the server side will give the client an ID
Setting aliases (alias)
Rich media seems to be charging for it.
android--message Push