Hi Andrew, Looking at issue on jira the link to the pull-request is broken. But in the "sub-task" [1] there is a link to a pull-request [2]. The patch is actually for js code... and it seems pull-request was not merged in the current cordova-js.
The patch is a bit outdated... but I managed to get it working just by doing the same way as used in `backbutton` handling. I will submit a pull-request soon. [1] https://issues.apache.org/jira/browse/CB-871 [2] https://github.com/revolunet/incubator-cordova-js/compare/master...volumebtns Regards, Eduardo On Mon, Jul 7, 2014 at 9:53 AM, Eduardo Schettino <[email protected]> wrote: > > > > On Sun, Jul 6, 2014 at 8:14 PM, Andrew Grieve <[email protected]> > wrote: > >> I believe it works on Android. Have you tried it? >> > >> > > Hi Anrew, > > Sure. I forgot to mention. I tried on android 4.1.1 and it didnt work. > > Later I found this plugin: > http://plugins.cordova.io/#/package/com.manueldeveloper.volume-buttons . > With the plugin my handler is executed but a dialog with "Ringtone volume" > is still displayed on screen... > > Regards, > Eduardo >
