5,595,126 Members 44,166 Now Online
XDA Developers Android and Mobile Development Forum

Controlling system volume

Tip us?
 
sensboston
Old
(Last edited by sensboston; 17th January 2014 at 04:15 PM.)
#1  
Recognized Developer - OP
Thanks Meter 407
Posts: 1,448
Join Date: Nov 2009
Location: Boston, MA

 
DONATE TO ME
Question Controlling system volume

As far as we know, there is no documented way or API to change system-wide volume on WP8, however...
It looks like author of the Quiet Hours application found an udocumented way to do this! Probably he is using ISimpleAudioVolume interface but I really don't know...

Any thoughts?

P.S. Guys with interop-unlocked handsets: could you please install the app and download/post the executable/assembly?
 
th0mas96
Old
#2  
Member
Thanks Meter 11
Posts: 78
Join Date: Nov 2012
Look here: http://forum.xda-developers.com/show....php?t=2594420
Seems like the quiet hours dev just monetized his idea..
 
ngame
Old
#3  
Senior Member
Thanks Meter 80
Posts: 279
Join Date: Mar 2012
Location: Mashad
Quote:
Originally Posted by sensboston View Post
As far as we know, there is no documented way or API to change system-wide volume on WP8, however...
It looks like author of the Quiet Hours application found an udocumented way to do this! Probably he is using ISimpleAudioVolume interface but I really don't know...

Any thoughts?

P.S. Guys with interop-unlocked handsets: could you please install the app and download/post the executable/assembly?
I tried this app it didn't work for me i set time but it can't set my phone in silent mode.
I'm really interested that this app can change system volume.
I remember there was an app for fully unlocked wp7 devices to change system volume but now i can't find it.
Maybe Ativ S users with Interop Unlock and Full FS can help with this. They can get app files and upload them to check how is it possible.
I looked for decrypted xap file but i didn't find that

---------- Post added at 05:25 PM ---------- Previous post was at 05:22 PM ----------

Quote:
Originally Posted by th0mas96 View Post
Look here: http://forum.xda-developers.com/show....php?t=2594420
Seems like the quiet hours dev just monetized his idea..
no quiet hours dev is developer of pocket file manager
Nokia Lumia 920
GDR3 Developer Preview
Developer Unlock : ✔
Interop Unlock : Soon...
 
sensboston
Old
#4  
Recognized Developer - OP
Thanks Meter 407
Posts: 1,448
Join Date: Nov 2009
Location: Boston, MA

 
DONATE TO ME
Quote:
Originally Posted by th0mas96 View Post
Look here: http://forum.xda-developers.com/show....php?t=2594420
Seems like the quiet hours dev just monetized his idea..
Yep, looks like the void Shell_AdjustVolume(int) call is exactly what he's using... Hmm, I need to try myself!

Quote:
Originally Posted by ngame View Post
I tried this app it didn't work for me i set time but it can't set my phone in silent mode.
Try to pin app first, and manually toggle the volume by tapping tile (you don't need to wait 30 minutes).
 
ngame
Old
#5  
Senior Member
Thanks Meter 80
Posts: 279
Join Date: Mar 2012
Location: Mashad
Quote:
Originally Posted by sensboston View Post
Yep, looks like the void Shell_AdjustVolume(int) call is exactly what he's using... Hmm, I need to try myself!


Try to pin app first, and manually toggle the volume by tapping tile (you don't need to wait 30 minutes).
I tried waiting over 1 hours to be silent but didn't work .
I know Pin tile work it has no problems but working with time is better .
Nokia Lumia 920
GDR3 Developer Preview
Developer Unlock : ✔
Interop Unlock : Soon...
 
ultrashot
Old
#6  
ultrashot's Avatar
Recognized Developer
Thanks Meter 2013
Posts: 1,468
Join Date: May 2009
Location: St.Petersburg
Adjusts the volume by the number of steps specified either up (positive) or down (negative).
Code:
HRESULT Shell_AdjustVolume(int numberOfSteps);
Nokia Lumia 920, Samsung Ativ S (T899 TMOUS, engineering), HTC 8X (partially broken)
Mozart and Titan: Dynamics v2.2 ROM
X1i and HD2: Dynamics v2.4 ROM
http://ultrashot.net
 
AlvinPhilemon
Old
#7  
AlvinPhilemon's Avatar
Senior Member
Thanks Meter 160
Posts: 254
Join Date: Oct 2011

 
DONATE TO ME
I also noticed that if you set the volume to 0, and play a WhatsApp voice message, it plays on full volume although it is set to mute. Anyone know how this is done? It would be cool to be able to use this to set important reminders
Hit the "Thanks" button if you thought this post was helpful!

Hit the "Donate to me" button to help me buy a pair of glasses

Prank Google Chrome - Fool your friends into thinking you actually have Google Chrome on your Windows Phone!

Samsung ATIV S GT-I8370
OS: 8.0.10512.142 (GDR3)
Firmware Revision Number: 2424.13.5.1
ROM: UK OPEN
Network: StarHub
Interop Unlocked: ✔
 
TheInterframe
Old
#8  
TheInterframe's Avatar
Junior Member
Thanks Meter 4
Posts: 21
Join Date: Mar 2013
Quote:
Originally Posted by AlvinPhilemon View Post
I also noticed that if you set the volume to 0, and play a WhatsApp voice message, it plays on full volume although it is set to mute. Anyone know how this is done? It would be cool to be able to use this to set important reminders





What'sApp voice messages use the "phone call" volume (/10) instead of the normal system (/30) volume. So it doesn't matter if your system volume is muted the app will use the headset phone call volume...








Sent from my RM-820_nam_canada_200 using Tapatalk
The Following User Says Thank You to TheInterframe For This Useful Post: [ Click to Expand ]
 
reker
Old
#9  
reker's Avatar
Senior Member
Thanks Meter 128
Posts: 106
Join Date: May 2009
Location: Shanghai

 
DONATE TO ME
There are serveral ways can get the pointer of LoadLibraryExW. Then your xap can upload to market with any api
HTC Touch Pro->HTC Mozart->HTC HD7->Dell Venue Pro->HTC HD2->Lumia 800->Lumia 720T->Huawei W1->Lumia 822->Lumia 525

My Twitter: @rekerchen
My small tools:
rkBreakout - Huawei W1 Jailbreak tool
WP7Connector - Connect your phone easily & smartly
Call forwarding Settings - Advanced settings for WP7
or Hire me.
 
sensboston
Old
(Last edited by sensboston; 26th January 2014 at 10:53 PM.)
#10  
Recognized Developer - OP
Thanks Meter 407
Posts: 1,448
Join Date: Nov 2009
Location: Boston, MA

 
DONATE TO ME
Quote:
Originally Posted by reker View Post
There are serveral ways can get the pointer of LoadLibraryExW. Then your xap can upload to market with any api
Could you please list your "several ways"? Thanks!

P.S. I know the only one; and AFAIK, it's very unique and tricky...

P.P.S. I already got answer on my question, and tested the "unapproved" API's via Windows Store (not published but beta)

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Android App Review: Lock it Down with Lockdown Pro – XDA Developer TV

Our smartphones are our lives. They store our contacts, emails, … more

Get the AOSP Lock Screen on Your ICS-Powered Samsung Device

Android is the only popular mobile operating system that allows users, … more

Motorola Droid RAZR HD and M to Receive KitKat in a “Few More Weeks”

Verizon and Motorola shocked us all back in November when … more

[APK] YouTube Update to 5.6 Now Lets You Cast Live Video to Your Chromecast

Earlier today, we talked about how Google brought two new apps to … more