I want my app to update itself even if it is closed. Like the way that restaurant city (game) for example, tells you when something is ready even if the app is closed. I want it to collect information, for example, in the game one object can be used only after 4 hours, so when the player closed the game, the game will still check for the time and send notification when the object is ready.
BTW: I am using andEngine.
You should make a Service for those tasks.