All Questions

29
votes
8answers
40801 views

Listen to volume buttons in background service?

I know how to listen to volume buttons in an activity. But can I do that in a background service? If yes, how to do that?
40
votes
7answers
30160 views

Is there a broadcast action for volume changes?

I'm programming a small widget that needs to be updated whenever the user changes the ringer volume or the vibrate settings. Capturing android.media.VIBRATE_SETTING_CHANGED works just fine for the vi...
36
votes
5answers
35012 views

How to calculate the volume of a 3D mesh object the surface of which is made up triangles

I want to calculate the volume of a 3D mesh object having a surface made up triangles.
38
votes
8answers
21358 views

iOS 7: MPMusicPlayerController volume deprecated. How to change device volume now?

MPMusicPlayerController setVolume is deprecated since iOS 7 Is there any other way to change system music volume? Preferably without user interaction. Its important feature: to increase volume automa...
14
votes
3answers
33073 views

Changing master volume level

How can I change the master volume level? Using this code [DllImport ("winmm.dll")] public static extern int waveOutSetVolume (IntPtr hwo, uint dwVolume); waveOutSetVolume (IntPtr.Zero, (((uint)uint...
48
votes
9answers
44307 views

How to get audio volume level, and volume changed notifications on iOS?

I'm writing a very simple application that plays a sound when pressing a button. Since that button does not make a lot of sense when the device is set to silence I want to disable it when the device's...
40
votes
7answers
64088 views

Android: MediaPlayer setVolume function

about the params Set what to make the player no sound and full sound Thanks
30
votes
3answers
35663 views

Using SeekBar to Control Volume in android?

How can I accurately change the volume of my app using a seekbar without controlling the volume by the volume buttons on my android device? I have seperate function on the Volume keys on my android th...
40
votes
3answers
21534 views

How to display a 3D plot of a 3D array isosurface in matplotlib mplot3D or similar?

I have a 3-dimensional numpy array. I'd like to display (in matplotlib) a nice 3D plot of an isosurface of this array (or more strictly, display an isosurface of the 3D scalar field defined by interp...
23
votes
3answers
39915 views

iOS: Change Device Volume

Is there a way to change the volume of the device? I've seen several apps do it. I have a desktop version of the iOS app and the device will be able to be controlled to some extent over the network....

Previous Next