I am newbie at android programming. I would like to create a timer program that can set time by defining data independently.
For example, I can set 5 sec to start and 10 sec to stop a third party program which switch time like this until the Battery decrease to value that specify (assume 100 to 90 percent), then timer will stop at 90 percent.
Moreover, I would like to collect log data time of calling start and stop too. For instance, start 5 sec at 9.00 am and then stop at 9.06 to 9.15 am after that start 9.15 to 9.20 and also collect percent battery in each level.
When I turn the screen off would the timer still running or stopped because android go to sleep mode? Will the Log collect if I turn screen off? Should I code program as a service in order to run on background process?
Cheers Boy