0

I need to create an app which gets data from an array on the web and send a push notification when there is a change in the array's contents. The part with the array parsing is done, but how can I listen to it for changes that listening to be done while the app is closed. How can I do that?

Kara
  • 6,115
  • 16
  • 50
  • 57
Valentin Filyov
  • 632
  • 7
  • 16

1 Answers1

0

Take a look at Android's Services. This may be what you are looking for. You should use a service to "listen" for changes in your array and then spawn a notification if there has been a change.

Here are some links to get you started! Android Services Spawning Notifications from Services

Happy Coding

Community
  • 1
  • 1
James McNee
  • 302
  • 2
  • 14