I'm a bit confused by the service thing, but know I have to use it for what I'm doing. Yet, I'm just a tad lost on a few points.
I want this thing to open the datafile and check fields to trigger notifications every 15 minutes. I'll start the service upon boot, but will also have to start it when the app is first installed. Can other components be added to a service? A Timer for example? And if so, can I put all of my execution code in the timer event?
And, if so, as long as not much code is executed in that timer, would the every 15 minute checking from the service be a big drain to the device?
One last service thing... is the service basically it's own activity without screens? In other words, would it run separately from the app itself and if the service is running but the app isn't, are the app's resources still being used, even if the app isn't showing?
I want this thing to open the datafile and check fields to trigger notifications every 15 minutes. I'll start the service upon boot, but will also have to start it when the app is first installed. Can other components be added to a service? A Timer for example? And if so, can I put all of my execution code in the timer event?
And, if so, as long as not much code is executed in that timer, would the every 15 minute checking from the service be a big drain to the device?
One last service thing... is the service basically it's own activity without screens? In other words, would it run separately from the app itself and if the service is running but the app isn't, are the app's resources still being used, even if the app isn't showing?