Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,808,448 Members 41,193 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 425
Posts: 1,489
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 13
Posts: 87
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 89
Posts: 344
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 425
Posts: 1,489
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 89
Posts: 344
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  
Recognized Developer
Thanks Meter 2,041
Posts: 1,478
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);
My blog: http://ultrashot.net
--
Good bye
 
AlvinPhilemon
Old
#7  
AlvinPhilemon's Avatar
Senior Member
Thanks Meter 171
Posts: 270
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 an ATIV S!

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

Samsung ATIV S GT-I8750
OS: 8.10.12359.845 (Windows Phone 8.1)
Firmware Revision Number: 2424.13.11.2
ROM: UK OPEN
Network: StarHub
Interop Unlocked: ✔
 
TheInterframe
Old
#8  
TheInterframe's Avatar
Junior Member
Thanks Meter 4
Posts: 28
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 144
Posts: 117
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:
Music Hub Tile
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 425
Posts: 1,489
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


Paid Android App Developers Will Soon Have to Provide Physical Address

Google has now changed its policies regarding paid app developers. … more

Windows Developers Rejoice! Dev Program’s $99 Yearly Fee is No More!

Microsoft rule in the mobile market, much like the giant dinosaurs … more

Add the Xperia Z2 Lock Screen to Your Favorite KitKat ROM

Almost every OEM adds its own unique flair to their stock firmwares. While some of … more

Android App Review: Control Your Phone with Quick Control Panel – XDA Developer TV

Your Android smart device has many features that you … more