Hi,
I have not very much experience in java programing and nearly nothing in programming android-apps.
Because I learn the most of just trying to make a small programm I set myself following target:
The App should show the users some events sorted by date. (e.g. 05.10.2012 - 18:00 - Special-Workout).
I tried this yesterday and it worked fine (I'm normally PHP-developer, so I build a site with all information in php und just receive it with the app).
BUT: If something changes (new Event, old Event updated) I want to display a notification.
Now my questions: How do I do this best?
Get every 5 Minutes the code (php website) und check if there is something new?
The App doesn't really need a push-function. 5 or 10 Minutes for the update would be okay. But the app has to run all the time in the background. How can I do this?
Thanks
And sorry for my - not the best - english
I have not very much experience in java programing and nearly nothing in programming android-apps.
Because I learn the most of just trying to make a small programm I set myself following target:
The App should show the users some events sorted by date. (e.g. 05.10.2012 - 18:00 - Special-Workout).
I tried this yesterday and it worked fine (I'm normally PHP-developer, so I build a site with all information in php und just receive it with the app).
BUT: If something changes (new Event, old Event updated) I want to display a notification.
Now my questions: How do I do this best?
Get every 5 Minutes the code (php website) und check if there is something new?
The App doesn't really need a push-function. 5 or 10 Minutes for the update would be okay. But the app has to run all the time in the background. How can I do this?
Thanks
And sorry for my - not the best - english
