Android app question: services?
I am currently programming an app that 开发者_StackOverflowis supposed to get the users' calls and SMSs log and send them to a remote mysql DB.
I have a preferences screen and a checkbox for calls and another for sms logging and I want that when the user clicks in the checkboxes and then saves the preferences clicking a button, the logging starts to work (depending on whether the checkboxes were clicked or not).
My question is, should I implement each of the logging feature in services? Remote or locals? I'd like the logging working ALWAYS until the users unticks the checboxes and saves preferences. Should I send the data to the DB every x hours, or just storing everything in a SQLite DB in Android and then sending everything by the end of the day?
This is my first android app and as you can see I have no idea :)
Thanks everybody for your help! Cheers
I am finally using a remote service, as I want the service to be running even though the application might not be running, and will just send the data every 24h, so much better. Thanks for your help!
 
         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论