I studied both, and IntentService is really simple, while service is somewhat confusing for me.. Ive seen a lot of question here and im leaning in IntentService, but im afraid that in some point of my work, IntentService isn't the one to go in the first place, .. here's what my game will do..Somewhat similar in Farmville
- Create New Game, with In-game Date is per Week, Starting at Week 1.. Data is store in SQLiteDB
Start IntentService, IntentService will do this thing. After every task, Notify the user via NotificationManager
- update the week every 8 hours. (1 week = 8 hours, using Alarm manager) when Week is updated, i.e Week 1 to Week 2, IntentService will check what "Plant is ready to harvest"
- IntentService also do randomizing the weather every week
- Check and Update Animals/Plants Condition
- Do more Random Things
- Stop intentService
- Run the Intentservice again after 8 hours.
That's what my game should do, is IntentService the way to go, or Service? can IntentService can handle this? i really wanted the Service, but in my understanding of what i read in articles and here, it should be only use for "multiple process at the sametime" which my game can afford not to use that feature..
Also,can i make another IntentService? this service must run every 5mins or so.. if not, thats ok.. thanks