Github Tutorial App Shows You How to Use… Github

Github can get pretty complicated and using it can become quite daunting, especially … more

Google Glass-like Clip-On For Regular Glasses Developed by Sony

For the price of $2,000, a pair of glasses that can run apps, take pictures, … more

Micromax Takes OnePlus to Court! Android Wear Receives Lollipop – XDA TV

Android 5.0 Lollipop is available officially for the Moto 360! … more

Google Invites Selected Devs to Buy Project Tango Development Kit

Just about a month ago, the curious Project Tango development kit was … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[App][Nov 7 2010] Mute4 V3 - Mute/Vibrate your phone and restore volume automatically

OP thx1200

22nd May 2010, 10:35 PM   |  #1  
thx1200's Avatar
OP Recognized Developer
Flag Raleigh, North Carolina
Thanks Meter: 54
 
873 posts
Join Date:Joined: Apr 2006
More
This application is no longer being developed or supported. The source code is available on CodePlex, however. Enjoy!

Description
Mute4 is a very simple application. When run, it allows you to set your phone to the vibrate or silent profile and also set a timeout for when you want it to restore the normal volume profile.

Going to a movie? Set Mute4 for three hours. Going to a meeting? Set Mute4 to one hour. Just need a short coffee break without the phone ringing? Set Mute4 to 15 minutes. :)

CodePlex
The project download and source code is hosted at CodePlex. http://mute4.codeplex.com/

Tip Jar
Like this app? Want more like it? Tip a buck (or Euro or Pound or whatever) or two to help the author out! Click here to make a safe donation via PayPal.

License
This app is released under the Ms-RL.

Requirements
WM5/6/6.5

How to use
Run Mute4, then click on the Metro-style buttons to cycle through the options. The profiles available are Vibrate and Silent. The default timeouts are 15 minutes, 30 minutes, one hour, two hours, and three hours.

The "Metro style" UI was chosen for the same reason Microsoft did: it takes no time to make something look so 'basic' and I'm lazy. ;)

How to create custom timeouts
Go to the application installation folder (\Program Files\Mute4 usually) and edit settings.ini. Under the Timeouts section, there are items called T1 through T5. The values are in minutes. You can edit those, add new lines, remove existing ones. Just remember that you can't have more than one variable name that are the same (as in, you can't have multiple "T1"). The INI reader doesn't like this. :) So make sure you make each variable name unique. But it doesn't really matter what you call it. The only other requiment is that the times be in increasing order. If they aren't, some values might be ignored. So if you do 15, 30, 20, the cycling will stop at 30 and cycle back to 15 in the UI.

Notes
Mute4 does not leave an app (or service) running to accomplish its task, so there is no performance degradation or battery life lost with its use. It sets a system timer to wake the phone up and run Mute4's "restore" app at the time you specified by the restore timer -- it's that simple. So have no fears about its use. In fact, you can even soft reset between running Mute4 and when the timer would normally fire and it will still fire right on time. :)

Download
http://mute4.codeplex.com/releases
Attached Thumbnails
Click image for larger version

Name:	mute4_1.png
Views:	193
Size:	26.1 KB
ID:	436327   Click image for larger version

Name:	Mute4_2.png
Views:	154
Size:	27.5 KB
ID:	436328   Click image for larger version

Name:	Mute4_3.png
Views:	119
Size:	25.7 KB
ID:	436329   Click image for larger version

Name:	Mute4_4.png
Views:	114
Size:	25.9 KB
ID:	436330   Click image for larger version

Name:	Mute4_5.png
Views:	107
Size:	25.8 KB
ID:	436331  
Last edited by thx1200; 27th October 2011 at 07:12 PM.
The Following User Says Thank You to thx1200 For This Useful Post: [ View ]
22nd May 2010, 10:35 PM   |  #2  
thx1200's Avatar
OP Recognized Developer
Flag Raleigh, North Carolina
Thanks Meter: 54
 
873 posts
Join Date:Joined: Apr 2006
More
Changelog
Version 3
---------
- Modified the screen layout slightly to support square screens better.
- Fixed some bugs in the INI file parser (should not affect version 2.1 and older; this was related to saving INIs).
- Added the ability to modify the timeout settings within the application. Look under Menu (new right soft key) and Settings.
- The application actively checks before saving to see if Settings.ini is set to read-only and unsets the flag automatically.
- You can now select advanced mode, which lets you set the exact time the normal profile will be restored or a custom number of minutes from the current time.
- When a Mute4 timeout is set greater than 24 hours into the future, the cancel dialog will tell which day the phone is set to return to the normal profile.
- Minimizing Mute4 no longer exits the application.
- Cancel Mute4 timer button no longer flickers when pressed.

Version 2.1
-----------
- Fixed a bug in the V2 installer that set the settings.ini to read-only which could cause Mute4 to crash.
- The rare bug that was fixed in Version 2 apparently has siblings. :) Found another spot where enumerating the notification queue can cause a crash. Fixed.

Version 2
---------
- Fixed a bug where certain rare conditions would cause Mute4 to crash when you try to cancel an existing timer. Now Mute4 will try again and inform you if it is unable to clear the timer.
- Improved performance of some controls.
- Buttons gray out when inactive.
- Fixed a bug where certain timeout values would display incorrectly (for example, 45 minutes would display as 1 hour 45 minutes) due to incorrect math function.
- Fixed a bug (hopefully) where when on a phone call, the profile will not revert back to normal. The work around is to keep trying every five seconds until it works. :)

Version 1
---------
- Initial release
Last edited by thx1200; 8th November 2010 at 05:20 AM.
23rd May 2010, 12:17 AM   |  #3  
noellenchris's Avatar
Recognized Developer / Retired Forum Moderator
Flag Marlton, NJ
Thanks Meter: 829
 
2,507 posts
Join Date:Joined: May 2007
More
Thanks, such a simple idea, how did I live without this! I'm flashing today and will install asap and enjoy. Thank you.
24th May 2010, 10:18 AM   |  #4  
Senior Member
Thanks Meter: 119
 
764 posts
Join Date:Joined: Aug 2009
More
Great idea! Will try it now. Thanks!
26th May 2010, 03:25 AM   |  #5  
Senior Member
Thanks Meter: 1
 
190 posts
Join Date:Joined: Mar 2010
HTC TP2 - I want my phone volumne muted, but still want to listen to my music with my headphones. I have been told that stock WM have two seperate volumne settings, one for phone and one for device but that HTC's interface put them together.

Any idea if this mute profile is for the phone (ringer) or for the device? Would love to even take it a step further if possible to mute the phone, mute the external speaker, and keep the volumne for my music via a head set.
26th May 2010, 12:04 PM   |  #6  
hsmcd's Avatar
Senior Member
Thanks Meter: 0
 
120 posts
Join Date:Joined: Feb 2009
Nice idea, coz i always forget to switch it on back and kinda miss out some calls. Brilliant~
26th May 2010, 02:58 PM   |  #7  
thx1200's Avatar
OP Recognized Developer
Flag Raleigh, North Carolina
Thanks Meter: 54
 
873 posts
Join Date:Joined: Apr 2006
More
Quote:
Originally Posted by thebrenda

HTC TP2 - I want my phone volumne muted, but still want to listen to my music with my headphones. I have been told that stock WM have two seperate volumne settings, one for phone and one for device but that HTC's interface put them together.

Any idea if this mute profile is for the phone (ringer) or for the device? Would love to even take it a step further if possible to mute the phone, mute the external speaker, and keep the volumne for my music via a head set.

It affects both volumes. It uses the three built-in WM profiles (normal, vibrate, and silent) to switch, so the actual volume levels are not affected (in other words, when you switch back to normal, the volume is where you left it).

For more fine-grained volume control with a timer to reset, I recommend checking out a product called VolumeX. It should fit your needs nicely.

EDIT: Forgot to mention that if you are using Sense UI, it by default controls both volumes with one slider. If you go to settings, there's a checkbox to operate the volumes separately. That might be all you need. On the other hand, if you need a timed mute, Mute4 is for you. And if you need to manipulate volume levels on a timer, VolumeX is really great.
Last edited by thx1200; 26th May 2010 at 03:00 PM.
26th May 2010, 03:25 PM   |  #8  
c_shekhar's Avatar
Recognized Developer
Thanks Meter: 34
 
1,941 posts
Join Date:Joined: Jun 2005
Very good application. I needed it...
27th May 2010, 03:50 AM   |  #9  
Sentinel196's Avatar
Recognized Contributor
Thanks Meter: 3,777
 
3,171 posts
Join Date:Joined: Mar 2010
Donate to Me
More
Every so often an app comes along that quite simply kicks arse. This is one of those applications.

THANKYOU!!

Just a small bug. On my HD2, the taskbar icon doesn't change until you go in to the volume menu and then come back out of it. So it looks like the speaker is still on, even though it isn't. The same thing happens when you come back out of silent mode.
Last edited by Sentinel196; 27th May 2010 at 03:57 AM.
27th May 2010, 04:27 AM   |  #10  
thx1200's Avatar
OP Recognized Developer
Flag Raleigh, North Carolina
Thanks Meter: 54
 
873 posts
Join Date:Joined: Apr 2006
More
Quote:
Originally Posted by Sentinel196

Every so often an app comes along that quite simply kicks arse. This is one of those applications.

THANKYOU!!

Just a small bug. On my HD2, the taskbar icon doesn't change until you go in to the volume menu and then come back out of it. So it looks like the speaker is still on, even though it isn't. The same thing happens when you come back out of silent mode.

That's interesting. The icon is definitely changing on my TP2. It should change as soon as the profile is changed. Can you check to see if the same happens with other profile changing apps? For example, if you vibrate/silent using the system volume control?

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes