Override mute switch?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 379
- Joined: Thu Dec 08, 2011 2:43 am
Override mute switch?
Is there a way to override the mute switch (on iPhone) or setting (on iPad)?
-
- Livecode Opensource Backer
- Posts: 9389
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Override mute switch?
I'd be pretty "Effed-Off" if someone over-rid my mute switch.
On my Android phone I set the sound to mute
for a reason (I don't want my son in Philadelphia
waking me up at what is 3 am in the morning in Bulgaria,
but I do want to read his messages later, over breakfast).
On my Android phone I set the sound to mute
for a reason (I don't want my son in Philadelphia
waking me up at what is 3 am in the morning in Bulgaria,
but I do want to read his messages later, over breakfast).
-
- Posts: 379
- Joined: Thu Dec 08, 2011 2:43 am
Re: Override mute switch?
Yes, fair enough. But this is clearly possible in Xcode. I am able to hear audio from iTunes, Youtube, etc. all the time on my iPhone with the mute switch engaged. The mute switch stops notification sounds and the ringer.
-
- Posts: 379
- Joined: Thu Dec 08, 2011 2:43 am
Re: Override mute switch?
...or is there at least a way to determine if the mute switch is engaged?
-
- Livecode Opensource Backer
- Posts: 9389
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Override mute switch?
BUT, as you stated, it lets through iTunes music . . .The mute switch stops notification sounds and the ringer.
So, at the risk of teaching my Granny to suck eggs; have you made a dead-simple standalone
that plays one short tune for iOS and run it on iOS to see if the mute blocks it or not?
-
- Posts: 379
- Joined: Thu Dec 08, 2011 2:43 am
Re: Override mute switch?
For those who may have an interest, I found the answer in the Dictionary. Search for iphoneSetAudioCategory
-
- VIP Livecode Opensource Backer
- Posts: 2262
- Joined: Thu Feb 28, 2013 11:52 pm
- Location: Göttingen, DE
Re: Override mute switch?
Increasing the system volume settings without user interaction is a trial to do bodily harm and should be punished.
shiftLock happens
-
- Posts: 379
- Joined: Thu Dec 08, 2011 2:43 am
Re: Override mute switch?
Not going to get into the philosophy of this. After fielding email after email about "I'm not getting any sound" and telling people to turn off their mute switch, only to get replies stating "I don't have to do that for any other apps" I am making the change. To each their own.
-
- VIP Livecode Opensource Backer
- Posts: 2262
- Joined: Thu Feb 28, 2013 11:52 pm
- Location: Göttingen, DE
Re: Override mute switch?
You could fire a dialog instead of overriding or add a note at top that sound should be unmuted.
The philosophy is "If some developers are idiots (overriding mute for all if they have some simple minded users) you don't have to be an idiot too (overriding mute for all if you have some simple minded users)."
The philosophy is "If some developers are idiots (overriding mute for all if they have some simple minded users) you don't have to be an idiot too (overriding mute for all if you have some simple minded users)."
shiftLock happens
-
- Livecode Opensource Backer
- Posts: 9389
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Override mute switch?
In Britain the "enlightened" government have banned carrying pocket knives
because a few idiots use them for stabbing people.
This means that when I am staying with my Mother I cannot nip up the road
for a bag of sweets (as one does when working extensively in the garden)
without first remembering to leave my pruning knife in the garden shed.
Now, for some odd reason, ever since I bought my first pen-knife when I was
7 (Britain was different then), the only human I have ever caused any harm to was myself
(with the inevitable sliced thumb about 15 minutes after I bought the knife . . . this type
of cut is termed a "necessary life-learning cut").
There's some connexion between this and removing an individual's control over their volume
control on an iOS device, but I cannot remember what it is. I've got an iPad model 1 that
my son got given at some weird sports conference in Qatar: it sits and looks at me grumpily
from the "old techo-crap" shelf.
because a few idiots use them for stabbing people.
This means that when I am staying with my Mother I cannot nip up the road
for a bag of sweets (as one does when working extensively in the garden)
without first remembering to leave my pruning knife in the garden shed.
Now, for some odd reason, ever since I bought my first pen-knife when I was
7 (Britain was different then), the only human I have ever caused any harm to was myself
(with the inevitable sliced thumb about 15 minutes after I bought the knife . . . this type
of cut is termed a "necessary life-learning cut").
There's some connexion between this and removing an individual's control over their volume
control on an iOS device, but I cannot remember what it is. I've got an iPad model 1 that
my son got given at some weird sports conference in Qatar: it sits and looks at me grumpily
from the "old techo-crap" shelf.
Re: Override mute switch?
What is missing from this thread is the “why”...
In a media app, pressing play should emit sound regardless of the mute switch. The mute switch should govern notifications and non-requested audio though (like the ringer).
Do not disturb is another setting on iOS and I’m not sure how LC handles that.
In a media app, pressing play should emit sound regardless of the mute switch. The mute switch should govern notifications and non-requested audio though (like the ringer).
Do not disturb is another setting on iOS and I’m not sure how LC handles that.
Brian Milby
Script Tracker https://github.com/bwmilby/scriptTracker
Script Tracker https://github.com/bwmilby/scriptTracker
-
- Livecode Opensource Backer
- Posts: 9389
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Override mute switch?
So . . . can you tell us the 'why' ?
-
- Posts: 379
- Joined: Thu Dec 08, 2011 2:43 am
Re: Override mute switch?
https://developer.apple.com/design/huma ... ion/audio/
Apple's guidelines about when users expect to hear audio in relation to the mute switch.
Apple's guidelines about when users expect to hear audio in relation to the mute switch.