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

Search This thread

Purushoth

Senior Member
Apr 1, 2012
60
39
Chennai
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.
 

Attachments

  • VolumeSlider-v1.xap
    187.5 KB · Views: 21,678
  • PowerSlider.xap
    237.8 KB · Views: 10,944
Last edited:

Purushoth

Senior Member
Apr 1, 2012
60
39
Chennai
screencapture4.jpg
 
Last edited:

JamesAllen

Senior Member
Mar 10, 2007
568
38
NJ
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.
 

GoodDayToDie

Inactive Recognized Developer
Jan 20, 2011
6,066
2,933
Seattle
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.
 

fredsky2

Senior Member
Jan 25, 2012
93
19
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
 

Ddriver

Senior Member
Mar 28, 2005
400
22
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
 

Purushoth

Senior Member
Apr 1, 2012
60
39
Chennai
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.
 

sh4d0w86

Senior Member
Apr 15, 2010
1,761
795
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

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.
 
Last edited:

egzthunder1

Admin Emeritus - Spirit of XDA
Oh My God! Thanks OP for coming out with this. Your timing couldn't be any better....

I just posted a dismantling guide for the Titan in the Titan fora and I accidentally broke the data strip that connects the volume hard keys to the device. Much to my surprise (or lack thereof), there is no way to change volume without these keys (or with a headset that allows you to do this). Your app is literally the answer to my prayers :)

Thanks again!
 
  • Like
Reactions: fiinix

wpxbox

Senior Member
Oct 24, 2011
284
41
Kolkata
Works on my Windows Phone Samsung Focus, Chevron Unlocked, Mango . Here are my suggestion.

1. Live Tile to Mute, Bring Volume to a Defined Level.
2. Colour of the bar can change from green to yellow to red depending if volume is low, medium and high.
- Live Tile can also follow the color codes
3. Support for Vibrate Mode and Live tile for it.
4. Fancy Stuff :
- Let user tilt the phone to change volume.
- Support with Talk Me to set volume to a desired level.

And Like sh4d0w86 said, sync when volume is changed with hardware button.

---------- Post added at 12:50 PM ---------- Previous post was at 12:32 PM ----------

If possible bring in the profiles where I can have combination of Volume Level, Vibration etc to change it at a certain time or when I need it.
 

Purushoth

Senior Member
Apr 1, 2012
60
39
Chennai
@sh4d0w86,

Added custom buttons as you guys wished.
I tried to change icon. But I am very poor in design. Please feel free to change the icon and post.
 
  • Like
Reactions: sh4d0w86

sh4d0w86

Senior Member
Apr 15, 2010
1,761
795
could you re-upload Power Slider?
i have downloaded three times and each time the file is corrupt.
 

Lidanh

Senior Member
Feb 4, 2011
84
29
Cool application! one thing though,
I'm having an exception in the brightness area... I have HD7 with Custom ROM (Fully Unlocked)
 

nicci

Senior Member
Dec 6, 2009
63
16
Not working correctly on my HTC 7 Pro (fully unlocked)

Volume control working fine. :)

Brightness changes nothing..

Apps showing me : "Error occured: The System cannot find the file specified"



SAME Thing as by Lidanh !
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 27
    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.
    4
    Thanks for the finding.. I removed the default value 17..
    Plz use the attached XAP.
    4
    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.
    1
    Oh My God! Thanks OP for coming out with this. Your timing couldn't be any better....

    I just posted a dismantling guide for the Titan in the Titan fora and I accidentally broke the data strip that connects the volume hard keys to the device. Much to my surprise (or lack thereof), there is no way to change volume without these keys (or with a headset that allows you to do this). Your app is literally the answer to my prayers :)

    Thanks again!