Android Service connection to external database

64 Views Asked by At

This is my first post. I'm working on a project where User keep sending data to the Server and a Clint receives it. Just assume the example of Facebook where friend post things and we get Notification. I'm currently doing the same trying to make a NotificationService which will be connected to DB and keep track of user's new data and Clint get the notification.

I need help to find the logic of this, how to keep connected to server and receive the data, Where data receiving function keep running continuously.

Any link of this and demo is just appreciated.

0

There are 0 best solutions below