Hello,
I triy to make a timer that counts down the seconds. Once the timer to 0,the phone should ring alarm and display a notification. Of course this should also work when the application is closed.
I can not do it, is that someone can look at the attached project to help me and give me some ideas.
Also, is ringtone manager functional i with 1.60 version or higher?
Thank you very much for your help.
François
Actually my application must execute exactly the same thing as the timer on my original galaxy S2. It should continue to run when the user closes the application when it reopens and find the application. Do you think that Service Module with StartServiceAT is enough?
Moreover, again as in the original application timer I'd like that at the end of the liquidation account of seconds, an image fills the entire screen appears, better than a notification, and the telephone rings at the same time.
Have you seen my try project?
Thank you for your help and excuse my bad english.
You should read the tutorial about services to better understand how to keep the service running.
You have two options:
- Call Service.StartForeground
- Use StartServiceAt to schedule the next time that the service will run.
You can start an activity from the service and show anything you want.