C
C
coden552016-02-10 07:19:06
Android
coden55, 2016-02-10 07:19:06

How to receive push notifications from the server in android?

The task is to receive push notifications from the server. What are the options to implement this?
How does it work, for example, in the VK application for android?
I am considering a websocket in the service, how practical is it and how will it affect battery consumption?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
IceJOKER, 2016-02-10
@IceJOKER

https://developers.google.com/cloud-messaging/

O
Oleg Karnaukhov, 2016-02-12
@BupycNet

If you only need pushes. Maybe you don't need to do an application? Use for example the PushAll platform. Notifications for both android and computer just from the server via api. And you don't need to develop anything.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question