incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <>
Subject [jira] [Commented] (CB-905) Hardware volume buttons don't effect Media API playback
Date Sat, 16 Jun 2012 01:01:01 GMT


Shazron Abdullah commented on CB-905:

Ok, the approach above is not good enough -- the "hardware volume" button controls the ringer/device
volume. The volume you are seeing above is correct, it is the same volume as the iPod music
player - which is separate from the ringer/device volume.

To set/get the ringer volume, you would have to use MPVolumeView
... but this class is opaque and visual only. There are a lot of hacks just to get the ringer/device
volume, which I don't think we want to go into:

So, right now, this doesn't look possible.

> Hardware volume buttons don't effect Media API playback
> -------------------------------------------------------
>                 Key: CB-905
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.8.0
>         Environment: iPad 2/iOS 5.1.1
> iPhone 4/iOS 5.1.1
>            Reporter: Nathan Demick
>            Assignee: Shazron Abdullah
>             Fix For: 1.9.0
> When using the Media API, the hardware volume buttons don't change the playback volume
unless the button is pressed at these same time the sound is played.
> Expected behavior: hardware volume buttons change Media API playback volume regardless
of whether media is currently being played.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message