The page I am working on has a javascript function executed to print parts of the page. For some reason, printing in Safari, causes the window to somehow update. I say somehow, because it does not really refresh as in reload the page, but rather it starts the "rendering" of the page from start, i.e. scroll to top, flash animations start from 0, and so forth. The effect is reproduced by this fiddle: http://jsfiddle.net/fYmnB/ Clicking the print button and finishing or cancelling a print in Safari causes the screen to "go white" for a sec, which in my real website manifests itself as something "like" a reload. While running print button with, let's say, Firefox, just opens and closes the print dialogue without affecting the fiddle page in any way. Is there something with my way of calling the browsers print method that causes this, or how can it be explained - and preferably, avoided? P.S.: On my real site the same occurs with Chrome. In the ex
By default audio sessions don't support audio input via a bluetooth headset. It has to be explicitly accounted for in the code (which isn't true for bluetooth audio output).
ReplyDeleteThat probably explains why lots of apps you're trying aren't supporting your headset: the developers haven't considered the edge case. The SpeakHere example code provided by Apple also doesn't support Bluetooth input (nice if it did, right?).
Here's the sample code Apple give in the docs to enable bluetooth input (assuming you already have an audio session):
UInt32 allowBluetoothInput = 1;
AudioSessionSetProperty (
kAudioSessionProperty_OverrideCategoryEnableBluetoothInput,
sizeof (allowBluetoothInput),
&allowBluetoothInput
);
Hope that helps!
Theres a way to do this, however you must have a jailbroken iDevice (I only know that it works for the iPhone.) Open Cydia and search for an app called "Bluetooth Mono SBSettings", download and install that onto your device, and you ought to be able to not only record audio from a bluetooth headset, but also hear sound through the headset that you would normally hear as if you were wearing headphones. This works on any (as far as im aware of) bluetooth headset. I have an iPhone 3g, and i have a Motorola H390 as my headset. I hope it works!
ReplyDelete