I want to make an app which will have some settings option for volume control. When any app will start playing any sound even phone call then the sound volume will be according to volume of my app.
I want to make it in native iOS platform. Does it possible? If possible then any idea or resources How?
The iOS security sandbox will prevent your app from changing the audio settings (including volume) used by any other app.
Related
I am looking for a way of play an audio file and have it as input for the iOS simulator microphone. I am creating a bunch of UI tests for an iOS app that uses dictation (speech-to-text) and I didn't find a way of doing it using applications like SoundFlower, etc as I want to run in the CI and bypassing Apple's security Gatekeeper is not possible as I can't run the machine in recovery mode.
I want to launch the app as an UI test and send some audio to the "device microphone" as a way of triggering a wakeword. Mocking the code here is not an option, or better, not what we want, otherwise we won't test anything.
I was wondering if I can use AudioKit to do this.
I don't think AudioKit will help you with this. I would have thought Soundflower could do it, but you could also try Rogue Amoeba's Loopback if you haven't already.
The iOS simulator does inherit audio from the host Mac, so you could try an old school solution of physically attaching a cable to the microphone input from the output.
I'm trying to make an alarm clock app for iPhone (using Swift). I want to sound option to have the default ringtones in iPhone (just like the built-in alarm clock app in iPhone). What is the path directory for it? How do I access it? Thanks
The ringtones in Clock App are not accessible for other apps.
You can download these ringtones and include in your Bundle App.
I want to write an app to be able to transfer music between two iOS devices and put them into iOS music library. I understand that this is a violation of app store rules, but I don't want to publish it, I want to use it for my own devices.
Is there any way to do this on a non-jailbroken device? Like a private API or modifying a file manually? (like the private API for changing brightness I found)
About the closest you're going to be able to get is to share the files so you can access them via iTunes and drag them to the library (in iTunes). Consider simply creating your own music library and player for sharing music.
I noticed it is possible for an iOS app to continue recording audio in the background while another app is in the foreground recording audio (note that this isn't strait forward on the iOS simulator, but a hack involving a background process makes it possible).
Is there any way to ensure that no other apps are recording audio before you start to record? If so, is there any way to stop other recording apps so that an app can record?
No, you cannot hinder another applications functions (well not using the iOS SDK) the only way this would be possible is on a jailbroken iPhone. But with an application built for the App Store this is not possible.
I think you may just tell user you can not get access, let them to turn off other background app.
I am trying to develop an application for IOS in which the application needs to have control over the phone's volume.
Please do suggest if flash 4.5 mobile or phonegap is suitable for the following requirements.
Increase/decrease volume
Mute
Play audio files
Thank you
PhoneGap has media module, record/play:
http://docs.phonegap.com/en/1.0.0/phonegap_media_media.md.html
Also there seems to be a few plugins on related topics:
https://github.com/phonegap/phonegap-plugins/tree/master/iPhone
AudioRecord, SoundPlug, VolumeSlider
Using flex 4.5, you can do all of these tasks:
play sound
volume control (including muting)