News for hackers. Stuff that matters.
Re:Wozniak praising Android over iPhone limitations by jsight on Tuesday January 17, 2012 @06:22PM (#3477014)
Services cannot listen for keypresses, but can't they change the volume? Why not have the service periodically check the volume and reset it to max automatically?

Ie, something like: // Get the AudioManager AudioManager audioManager = (AudioManager)this.getSystemService(Context.AUDIO_SERVICE); // Set the volume of played media to maximum. audioManager.setStreamVolume ( AudioManager.STREAM_MUSIC, audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC), 0);

Unless there are more requirements here that I am missing, this sounds achievable without root.

Re:Wozniak praising Android over iPhone limitations by kruhft on Wednesday January 18, 2012 @01:52PM (#3481200)
Yes, that could be an idea I could try. Thanks.