I am developing an app that should power off nad on the device (an Android TV) at specified days of week, at a certain hour. Alarms work on time intervals; how do I set an absolute date and time for a certain action? Is it possible?
            Asked
            
        
        
            Active
            
        
            Viewed 229 times
        
    0
            
            
        - 
                    2Please look at `http://stackoverflow.com/questions/6305491/power-off-or-restart-an-android-device-via-code-program` – michal.luszczuk Dec 16 '14 at 19:04
 - 
                    2"Alarms work on time intervals" -- have you read the `AlarmManager` documentation? Have you looked at its `set()` method? – CommonsWare Dec 16 '14 at 19:07
 - 
                    Yes, I read the AlarmManager set() documentation, so what??? No mention of setting a specific date and time for alarm, as far as I can see. – Fabio Dec 18 '14 at 07:17