MixerHostAudio Bluetooth - iphone

I'm using MixerHostAudio to listen to what I'm saying, at the same moment I'm talking.
Than I can even use it with my Apple TV and it works.
My question is, can I speak and at the same moment hear what I'm saying on a bluetooth device ? Seems not cause I can't select my Bluetooth device while my app is opened.
Thanks.

Good Question. I had a similar one and spent hours on the phone with Apple trying to get it answered. Unfortunately iOS 7 does not allow AVAudioSession to have input and output configured independently. The closest you can get is using the MultiRoute Category, but it does not currently support Bluetooth devices. Submit a bug report to Apple and hopefully they will add it to future versions of iOS.

Related

How to find the other devices in ipod using bluetooth?

I am struggling with this problem for last 2 days.What I need to do is that i need to transfer data between iPhone and Android I have gone through this link. Also I had success in that...
I am able to discover my iPhone in my Nokia device, and when I click "ADD" in Nokia a 6 digit number is sent to iPhone, and here problem starts. I don't know what to do next.
I am using private framework BluetoothManager. Please help me as I am not able to get any documentation on BluetoothManager.framework.
Pretty sure that the native iDevice bluetooth stack doesn't support sending data to anything other than an iDevice and you need an app for that on both ends.
I've never heard of being able to transfer from an iPod/Phone/Pad to any other device.

An application to check iPhone connection with USB

I want to know if an iPhone is connected to USB programmatically.
So far by googling i found http://developer.apple.com/programs/mfi/.
Do I really need this api to find out whether an iPhone is connected to USB device?
I just want to make an iPhone app that prints out in console whether the iPhone is connected with USB or not.
Thanks much.
You might be able to use the solution from this question.
The solution detects if the device's battery is currently being charged which, if connected to USB, most likely will be unless it is a 3rd party accessory in which case there's a different SDK for those I believe.
In any case, if the solution isn't helpful it might point you in the right direction.
UPDATE:
Did some more digging and it appears that this may not be possible other than the battery charging solution mentioned previously.
So to answer your question "Do I really need this api to find out whether an iPhone is connected to USB device?":
Yes, it appears that way.

iOS detect WiFi hotspots or Bluetooth Devices [duplicate]

This question already has an answer here:
Closed 11 years ago.
Possible Duplicate:
iOS detect WiFi hotspots or Bluetooth Devices
I know that without users permission trying to switch on WiFi or Bluetooth is not possible (rather comes under private API). I dont want to go there.
Assuming WiFi is switched on or assuming bluetooth is switched on. Is it possible to detect all Wifi hotspots around my device (iPhone or iPad)? Same for Bluetooth?
I want to do this in Xcode Version 4.x with iOS SDK 4.3
So the question this is a potential duplicate of doesn't really provide an adequate answer in my mind, so here we go...
iOS has very limited WiFi options available to developers. What you can get: the current hotspot SSID and some other relevant data using CNCopyCurrentNetworkInfo. What you can't get: information about other access points that you may be in range of.
(...you can get this data through a private API call, but then your app won't make it on the app store).
Bluetooth is also fairly limited, but the question Deepak linked to you above actually provides more relevant information on that front.

Scanning wifi getting the power

I know this is an asked question, but I coudn't get an answer...
I want to scan the wifi stations around me, getting the power of them. It is not for upload it to the appstore, so I don't care about private things.
Apple iOS SDK does not contain interface to get the signal strength information of Wi-Fi OFFICIALLY.
Here is a related SO question: Accessing iPhone WiFi Information via SDK

How do you get the charge status of a connected iPhone from the Mac?

In iTunes, you can see the charge status of the iPhone currently connected:
This updates as the phone charges, and even shows when the phone is done charging.
Is there a way I can discover the charge status programmatically from the Mac? Any programming language or API is fine.
I would recommend setting up a bonjour service in an App on the iOS device to communicate with the computer. The app will then communicate the changes in the batter status using the batteryMonitoringEnabled property of UIDevice. Take a look at the samples code here.
BatteryStatus Sample Code
And here is the class reference
UIDevice Class Reference
And finally Bonjour programming
Bonjour programming guide
As far as I know, the only official way to communicate with the iPhone over USB/Bluetooth is by signing up to the "Made for iPhone" program:
http://developer.apple.com/programs/mfi/
Unfortunately the documentation seems to be closed to registered members so I can't find out if the API for this is public or private. You could contact Apple to check before applying.
UPDATE : As mentioned, this might not work for Mac/PC <-> iPhone communication over USB. There are several apps that do things with the phone over USB (although usually for reading/writing files). I'd start by looking at the source code of those:
http://code.google.com/p/iphonedisk
This should put you at least in a position where you have a connection to the device and are able to send/receive commands. Everyone who's ever done this sort of thing has had to spend time reverse engineering the thing :) The jailbreak community might be able to provide some insight too, although having to actually jailbreak the device is probably unacceptable.