问题描述:

I'd like to do an application that starts at a specified time and that must continue until another specified time (but i want to let the user to change these times inside the application). Is it possible?

网友答案:

To do this you have to create an background service in your app which runs continuously either your app is running or not, and implement a timer or alarm manager to set the time at which you want to open your application and also close the application with the same technique.

相关阅读:
Top