I need to use the volume buttons in my application while sleep mode is active (black screen, locked). I use onDispachKeyEvent to capture volume buttons and it works fine in normal condition. In the music player, if you close the screen, you can still change the volume. Any idea how to do this?
thank
I recently experimented quite a bit with my HTC Desire (and this was confirmed on several phones from other suppliers).
: - , .
, - AudioManager.STREAM_MUSIC ( : , ) - , //
Source: https://habr.com/ru/post/1747022/More articles:jdbctemplate and optimistic locking - javaIs this a possible way to get Drupal AD SSDs? - drupalasp.net-mvc: javascript caching - javascriptIs there a tool in Eclipse, for example, a command line? - eclipseHow to disable scaling in JFreeChart? - javaReading Cookies Using JavaScript - javascriptDisplay item id - jqueryCreating a Dev / Test J2EE Installation on One PC - eclipseAndroid: Завершение работы/потеря подключения Bluetooth или получение файлов → Сделайте что-нибудь - androidUnix: command for sudo-mv-chown combo? - unixAll Articles