Android message push service, have been doing it for nearly a month, and I have forgotten a lot of the code I wrote before, let's take a look at the effect of pushing first!
(Screenshot of Xiaomi mobile phone, Samsung machine has also been tested)
Generally speaking, if you don't use a third party to implement Android push service!!! The principle is a long connection
.net services without using java some service frameworks.
Let's talk about the functions first: 1: Able to push messages according to device ID, alias, category, can push messages regularly and delayed, 2: Offline messages can be read, and the database stores the messages of successful and offline messages 3: Database timer to automatically delete spam messages. 4: Corner markers that can display messages.
Attach the stored procedure I wrote before!
Turn on the Android push service, and we can implement Android message push
Then, post a piece of JSON data to our webapi interface, and submit the rest to a message push service!!!
Finally, the process is roughly discussed.
In fact, without the help of Aurora, Baidu Cloud Push, Alibaba Mobile Push, you can also do your own push!
|