Keep my app checking for Webservice updates

Asked

Viewed 38 times

1

So my question is this::

Assuming I have a list RecycleView of users in my application, where this list is filled through a request to my WebService.

I would like my application to be 'checking' when a new user is added to the server and warns me to my application.

Which way should I go?

What exactly should I study? Services? Content Provider? Boradcast Recivers? or something else?

  • 1

    Android Push Notifications using Google Cloud Messaging GCM. See here an example.

1 answer

2

I have a similar case and I’m going to solve it with https://developers.google.com/cloud-messaging/

Basically, it is a service that allows sending messages from the server to the mobile device and from the device to the server.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.