Initial commit. This version plays music but the interface is crappy and the music files are included right here.
Layout looks better, only in portrait mode. One half of the screen plays music while the other half plays white noise.
Random movement of the clock works. Views are only measured after they are laid out the first time around, so initially their {measured,}{width,height} are all zero. Interesting!
Instead of words, we have icons for music versus white noise. To avoid burn in, the icons are moved.
The clock and icons now animate to their new locations.
In addition, the icons are made dimmer, and their brightness is set to the starting value when the screen is touched.
Set lights out mode along with changing icons. Opening the notification shade will go back to full system UI mode, and we should recover from it when the icons change location.
Include the important layout file.
Forgot to add music files earlier
Fix the bug with alpha not being gradually increased.
Beginning to include a service to play music. Service doesn't work yet.
Loop music indefinitely, show h:mm format always
Using a service to play the white noise. Unfortunately, it crashes after a while, but the co-ordination works correctly.
Other things to do:
1. Play music in addition to white noise.
2. Switch between music and white noise.
3. Read from SD card rather than resources.
Should fix one of the causes of the crash
Passing the type of music in the intent to the service.
Plays the correct file now.
onError can just release the player now
Removing copyrighted files. Changing noise to a significantly smaller file.
Added attribution for the icon files.
Included Apache license declaration at the top.
Included Apache license declaration in COPYING
External SD card reading. But it does not work.
1. I have no clue.
2. Some clue is that SDK version >=8 behave differently, and must use a different location. But with that, how do file managers work seamlessly.
3. Another idea is to use a version <8 device to see if the existing code works.