FORUMS
Remove All Ads from XDA

[XAP] Power Slider - App to change master volume & Screen Brightness

60 posts
Thanks Meter: 39
 
By Purushoth, Member on 2nd April 2012, 04:08 PM
Post Reply Email Thread
Hi,

I have created a simple app for changing master volume. This app would be helpful for those who do not wish to use physical keys. This app works in dev unlocked device and greater.
Finally, thanks to Fiinix for the dllImport project.

Update 1:
========

Added Screen brightness slider also. Not sure if it is really needed by users.
Though the values are updated to registry, there is not much difference in brightness while sliding.
Thanks to Heathcliff for WP7RootTools sdk.
Attached Files
File Type: xap VolumeSlider-v1.xap - [Click for QR Code] (187.5 KB, 19402 views)
File Type: xap PowerSlider.xap - [Click for QR Code] (237.8 KB, 9827 views)
The Following 27 Users Say Thank You to Purushoth For This Useful Post: [ View ] Gift Purushoth Ad-Free
 
 
2nd April 2012, 04:21 PM |#2  
OP Member
Flag Chennai
Thanks Meter: 39
 
More
The Following 3 Users Say Thank You to Purushoth For This Useful Post: [ View ] Gift Purushoth Ad-Free
2nd April 2012, 05:56 PM |#3  
JamesAllen's Avatar
Senior Member
Flag NJ
Thanks Meter: 38
 
More
Works on Focus
Installed on my Focus and works well with one exception. Always shows 17 as the level if last set to 0 or mute. If set to any other number, that number will be properly displayed when closing and reopening this app.
2nd April 2012, 06:06 PM |#4  
anhthai's Avatar
Member
Flag HỒ CHÍ MINH
Thanks Meter: 27
 
More
HTC Titan dev unlock ok Thank a lot!
2nd April 2012, 06:17 PM |#5  
OP Member
Flag Chennai
Thanks Meter: 39
 
More
Thanks for the finding.. I removed the default value 17..
Plz use the attached XAP.
Attached Files
File Type: xap VolumeSlider.xap - [Click for QR Code] (555.4 KB, 1761 views)
The Following 4 Users Say Thank You to Purushoth For This Useful Post: [ View ] Gift Purushoth Ad-Free
2nd April 2012, 06:26 PM |#6  
JamesAllen's Avatar
Senior Member
Flag NJ
Thanks Meter: 38
 
More
Great
Quote:
Originally Posted by Purushoth

Thanks for the finding.. I removed the default value 17..
Plz use the attached XAP.

That did it, works fine. Was waiting for something like this.
2nd April 2012, 11:03 PM |#7  
Recognized Developer
Flag Seattle
Thanks Meter: 2,918
 
More
At a guess, this shouldn't even require interop-unlock, much less full-unlock or root-unlock. Is that correct? I know you can change the volume level using DllImportProject on just dev-unlock only.
3rd April 2012, 01:08 AM |#8  
fredsky2's Avatar
Member
Thanks Meter: 6
 
More
Few improvements imho:
*mute button should unmute if phone allready muted
*max level button
*arround 3 custom buttons (that you can previously set the vol level to w/e you want)
*a metro icon

cheers
3rd April 2012, 07:01 AM |#9  
Ddriver's Avatar
Senior Member
Thanks Meter: 23
 
More
In my not full-unlock rom of my HTC Mozart work well. Thanks.

Sent from my HTC 7 Mozart using XDA Windows Phone 7 App
3rd April 2012, 08:36 AM |#10  
OP Member
Flag Chennai
Thanks Meter: 39
 
More
Quote:
Originally Posted by fredsky2

Few improvements imho:
*mute button should unmute if phone allready muted
*max level button
*arround 3 custom buttons (that you can previously set the vol level to w/e you want)
*a metro icon

cheers

@GoodDayToDie,
Yes, all dev unlocked devices will be supported. It doesn't need full unlock.

@fredsky2,
Will update with a metro icon and preset button. Max vol could be configured in preset itself.

The api does not have support for mute. I could only reduce the volume to 0. Even if I store the value locally, it will not be useful if physical keys are also used in parallel.
The Following 4 Users Say Thank You to Purushoth For This Useful Post: [ View ] Gift Purushoth Ad-Free
3rd April 2012, 04:37 PM |#11  
sh4d0w86's Avatar
Senior Member
Thanks Meter: 804
 
Donate to Me
More
a most excellent idea, thanks. will provide feedback once i actually try it out.
definitely a nice application.
and i do agree with the suggestions by @fredsky2, plus a 'return to default 15 volume' button.
i don't see the use of Custom Buttons beyond a Max, Default & Mute button.
i also suggest removing the Splash Screen, application should load more swiftly.

if you want to do a Mute/Unmute button, you might...
when Mute button is pressed:
01. catch & save the current volumeValue
02. change volumeValue to 0
03. change button Title to Unmute or hide buttonMute to reveal buttonUnmute
when [Un]mute Button is pressed:
01. grab savedVolumeValue
02. change volumeValue to savedVolumeValue
03. change Button Title to Mute or hide buttonUnmute to reveal buttonMute

Quote:
Originally Posted by Purushoth

Thanks for the finding.. I removed the default value 17..
Plz use the attached XAP.

i suggest you add that attachment to the original post; almost missed it.
Post Reply Subscribe to Thread

Tags
volume slider

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes