Setting the iphone to vibrate and set the iphone back to sound via the app

People, I need your knowledge here.

Think about the following meaning - my application needs to set its iphone mode to vibrate at a specific time and return it to play sounds (for receiving a call, sms, email, all common sound notifications) after a few minutes.

I've already searched for this and couldn't find a good, Apple-friendly way to do it:

Opening the Settings app programmatically (iPhone)

Is it possible to dynamically change the settings page of the iphone app in the settings app?

Show iphone app options in app

How do I launch a preset from my application? [This is interesting because how I found out what is the key to the settings that interest me]

How do I launch a preset from my application? [He mentions that I can do this, but does not give an idea of โ€‹โ€‹how = ()

Is it possible to dynamically change the settings page of the iphone app in the settings app? [If this is true, I could not have done what I want ...]

Does anyone have any ideas on how to do this using the app? Thank you very much in advance.

+2


source to share


5 answers


Think of it from a user perspective - this quiet switch exists for a reason. If I want the phone to be silent, I have moved this switch myself. Not only will the API not let you do this, it's just a bad idea.



+3


source


Please note the following application:

http://iphonepackers.info/autosilent/

It looks like they've found a way to do it, so it's possible. The problem with the "Auto Silent" app is that it is not available in the App Store. It only works on a jailbroken phone installed with Cydia. I still need to find an app in the Appstore that does something similar.

Apple's modern design is terrible. Many apps choose to override the silent switch, including Apple's own timer (Clock app), alarm (Clock app), iPods, and YouTube. While this was likely intentional, third-party applications can choose which volume control to use and therefore not respond to the physical silent switch. Additional Information:

http://txfx.net/2008/07/15/iphone-silent-switch-is-ignored-by-many-applications/



Many people have stated that they prefer to have a Blackberry interface where you can quickly select from several user-configurable profiles.

For non-developers who have found this thread hoping to find a solution, consider the following physical device (this is an arbitrary form factor headphone jack that can connect to a phone or charging base, dropping sounds like mail / sms / etc):

http://www.thesilentnight.com/

Sincerely.

+1


source


I don't think you can set your phone to vibrate programmatically, don't believe the SDK allows you to do this.

0


source


There is no Apple approved way to control this. The theory I have for this is that individual applications should not override system settings. For example, when I set my phone to vibrate, I don't want it to make noise, period. The user experience would be less optimal if rogue apps could go outside of their sandbox and fiddle with the settings I set for some reason.

Finally, if anyone could figure it out, I would assume the application has a good chance of deviating.

0


source


The user should be allowed to control the volume of his device by either hardware or software switching. There is no compelling reason to remove this solution from user control by restricting / controlling access with software. If the user wants to mute the sound, decrease or increase the volume or vibration, automatically, using software, it must be the user's decision.

0


source







All Articles