iOS4: Multitasking and measuring audio output [closed] - iphone

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I need to develop an iPhone/iPod application which runs in the background and can measure audio output. It is part of a research project to measure how loud people have their music. Unfortunately I am unfamiliar with the iOS 4 SDK.
Ideally, the application would have to know if headphones are plugged in, be able to measure the volume of the audio signal being outputted (and calculate some data) and then be able to, at some point, update data to a central database.
Taking into account the multitasking capabilities, is it possible to develop such an application for the iOS 4?
I am aware that multitasking on this platform is quite limited, however I also noticed that audio processing seems to be possible (only to an extent perhaps?)

Here's a question which shows how it can done, but unfortunately, you can only do it for your app (or more correctly, I should say only when your app is active), you can't add a global hook to be notified in the background when the volume is changed by another app.
iOS (4) doesn't have background services like Android which is what I believe you're looking to do.

Related

iPhone Bluetooth Pairing: Order of Precedence [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
If I have several bluetooth headsets paired to my iPhone and only one headset can be used at a time, how does the phone decide which one to use? For example, here is the ordered list of devices currently paired to my iPhone:
BlueBuds
Car Audio
Logitech Headset
Jabra Wave
If all 4 are turned on and in range, how does my iPhone decide which one to use? Is there any way to change the order without repairing the devices? Does the first device paired stay at the top of the list and have highest precedence, or is it the other way around?
Just to answer my question:
It looks like the order they are listed on my settings screen doesn't matter. Nor does the order they are paired. What determines precedence is the order they are connected for that session. The last connected device has the highest precedence and is the one used.
For example, if all devices are off it uses the phone speakers. When I turn on the Logitech Headset, music and calls are routed through that device. If I then turn on the BlueBuds, the Logitech goes silent and now the Buds take over. If I move to my car, the music gets redirected to the car audio. The order of precedence rolls back in reverse as I shut down the audio devices.

Is legal using iMac garageband sound for my iphone game effect and sound? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Hi i am indy developer .
as you know many of indy developer had tiny resources to use.
so i decide using garage band for my app
but i was frustrated what is this right thing ?
if i make sound and effect using garageband and it's preset or resources
it's legal to use?
Yes, it is. Apple's sounds effects are royalty-free.
i. GarageBand/Jam Pack Software. You may use the Apple and third party audio loop content
("Audio Content"), contained in or otherwise included with the GarageBand/Jam Pack Software, on a
royalty-free basis, to create your own original soundtracks for your video and audio projects. You may
broadcast and/or distribute your own soundtracks that were created using the Audio Content,
however, individual samples, sound sets, or audio loops may not be commercially or otherwise
distributed on a standalone basis, nor may they be repackaged in whole or in part as audio samples,
sound libraries, sound effects or music beds.
(from the iLife SLA - Software License Agreement)

How to access statistics of all running apps on iOS? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Is possible to develop an app to access all the statistics of other apps? For example, I'd like to know:
When the apps are launched
How long each particular app is running in the foreground (total combined time)
How long each app had been running in the background?
(I've done some research and know it is possible to get all the apps, but are those info mentioned available? Reference: List of applications running in background process )
Thanks!
I think unless you jailbreak your device, you won't easily have access to the system processes/list of running apps. If you just want to measure your own apps, you can use Google Analytics to get an idea of the usage of the app.
If you want to measure system/other apps you will be out of luck. Especially on end user devices.

Is it possible to capture video of an iPod without jailbreaking? Is it possible to add code snippets to my App to send video data to AirServer? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I found this post that suggests to use AirServer to capture video from iPhone. Unfortunately AirServer doesn't support iPods (even though I have a 4th gen iPod running iOS 5.0). Is there a way via software or should I get my iPod to connect to a TV and record it there? I have seen that there are some good cables to connect iPod to TV but I lost the link and now can find only suggestion that explains how to do it on jailbroken iPods.. (which I don't want to do).
EDIT (For the one that closed the topic): is there any code snippet that I can use to send the video data from my app to AirServer?

is it possible to code my own application with medical material? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm currently doing an internship in a medical laboratory
They want to buy Ipad and medical device connected to it
example: diabet tester http://www.ibgstar.us/
blood pressure monitoring system http://www.ihealth99.com/
I'm wondering if I can code my own application that gets the data from the medical device and then handle it?
thks for your answers
I think they're some step to success it .
At first you need a Hardware solution like said "Mundi".
You need to grab data from device and store them somewhere accessible (like in a BDD with online acces).
And then the iPad application just have to connecte to the data-Source and play with it
The short answer is YES.
There are many ways to get the data into the app via a network. If you would like to read from the device directly, you would have to additionally find a hardware solution.
I'm not sure this applies, but I've seen some really cool medical apps written using Harvard's SMART project. They provide a simple but effective framework, which is independent of the Hospital Information System (like Cerner, Epic, VistA).