bluetooth

Zephyr HxM BT and HTC Legend Bluetooth issues

Hi, I have bought myself a Zephyr HxM BT device and I am trying to listen to its messages in a simple application. I have paired the Device to my HTC Legend and I can establish a connection but everytime I call the read() or available() method on my InputStream I get a NullPointerException. Has anyone succeed in getting information off...

Run the same iPhone app on 2 devices at once?

I have an iPhone app that uses GameKit in Xcode. I'm having problems getting it to work, so I need to look at the NSLog output on the 2 devices at once. My problem is that when I click build and go, it runs it on the device that was connected most recently, and I would like to run it on the 2 devices at once and be able to look at the co...

Serial communication: How to send several byte[] over bluetooth to ArduinoBT?

Hey everyone Using the SDK example BluetoothChat I've been experimenting sending byte[] to ArduinoBT in smaller chunks. For example, I'm sending a byte[] of size 800. I can perfectly send this array, but only under specific circumstances. The part that is puzzling me at the moment is why some arrays are not being sent correctly where oth...

listenUsingRfcommWithServiceRecord fails on Android 2.1: wrp_sock_create: socket create failed (Permission denied)

I'm trying to open a bluetooth server socket on an Android (2.1-update1 on a GT-I5700) phone and it fails. I have run out of ideas. Some pointers on what I am missing would be welcome. Bluetooth is on, so that shouldn't be a problem. I'm also pretty sure permissions are ok: <uses-permission android:name="android.permission.BLUETOOTH">...

Using of threads to update labels after receiving string from bluetooth.

Hi all i have a thread that is able to read data being received across from bluetooth stream. On the sender part i made it a while loop where count keeps on increasing + 1. I did a messagebox.show(test); and it works fine but when i do a label.text = test i get : "Control.Invoke must be used to interact with controls created on a separa...

how to set output device to bluetooth handset in iphone

i want play voice with bluetooth handset in my app.i could not find right function in documents. iphone have a system software that called voice memos.it could play voice by bluetooth handset and also could select output mode. Could someone share solution? sample code better. Thanks ...

Android bluetooth push files

Hi, i want to send files via Bluetooth to a another device. I want to send files to a device programmatically. Has anyone a idea how i can send files via Bluetooth OPP? ...

Can android bluetooth accessories force the device to launch an application?

I am wondering if a piece of hardware can be developed (probably over bluetooth for example) that could launch an existing android application on your device. I can't seem to find any documentation on this kind of functionality. Has anybody come across this? ...

Disable Bluetooth hardware programmatically in iOS?

How can I turn off the bluetooth hardware when I'm done with it so that my app does not drain the battery? I've seen references to private frameworks but not how to do this in a way that will not get rejected by Apple. What Framework/code do I need? ...

Bluetooth Communication of an application control packet using SPP

I need to send and receive data from an Android client to a Bluetooth SPP server on a non-android platform (not decided, but possibly Arduino with C code). I am mostly trying to correctly read from the serial iostream provided by the bluetooth socket and convert that into a Java class (to use as a structure). while packaging a delimted...

Can we control bluetooth programmaticaly in iPhone ?

Hi all, I have heard about bluetooth via GameKit and external accesory framework in iPhone . But I don't know much about it . So Before reading the whole documents I just want to know that can we control bluetooth programmaticaly in iPhone . Thanks ., ...

Bluetooth programming in python

Are there any nice python libraries for Bluetooth programming? I tried pybluez, but Eclipse doesn't even recognize the module bluetooth. Can any one suggest some nice tutorials for this stuff? Thanx in advance.. ...

Sending file over OBEX push profile

I've been able to open a raw bluetooth socket to the obex push profile channel of a device. My goal is to be able to send files over the protocol. Where can I find any info how the headers should be set up and how the communication should work? Thanks. ...

Placing Phone Calls To Android Phone From A Program over Bluetooth

I am kicking around the idea of installing a netbook in my car, and I'd like to write an app (C# and WPF based) that would essentially be a gigantic phone interface connected via bluetooth to my Android phone (Nexus 2.2). There was already a similar question asked here, however based on a google search and response here I guess it's not ...

Trouble connecting android bluetooth client socket to ubuntu server socket

I am writing an Android app that should exchange data to a server over Bluetooth, with the server side on a PC running Ubuntu, using the bluez library, in C (or C++). My Android app fails (IOException) when I try to connect to my server socket on the PC. Here is essentially what I in the java code (in Android, full eclipse project her...

Connecting a WiiMote to an android device.

Does anyone know the UUID to connect an android 2.2 device to a WiiMote? The wiimote will not pair, as the wiimote does not require a PIN #. ...

Use bluetooth and FTP to transfer files from PC to handset?

I have a Windows XP PC and a handset that supports FTP file transfers via bluetooth. Note that I cannot run python on the handset. Is there a way to transfer files from the PC to the handset using Python and the appropriate Bluetooth extension module? Right now, I am doing it manually by navigating to the handset using Windows Explorer a...

Java bluetooth library compatible with Toshiba stack?

Hi Does anyone knows any java bluetooth library that is compatible for Toshiba stack? I'm trying to write bluetooth server that is supposed to run on my Toshiba Satelite laptop and I tried to use bluecove library but it is not compatible with Toshiba stack:( Thanks! ...

How to force a connection to a a2dp bluetooth device by an activity or service

I'm using my Nexus One with Android 2.2 Froyo in my car dock. For the audio output I'm using a a2dp receiver which is hooked up to my car stereo. Now, when I put the phone in the car dock it automatically connects to the car dock but not to my a2dp receiver, I have connect it manually in the settings (already paired). I'm also using a c...

How to periodically scan for bluetooth devices on android

Hi this may sound as a stupid question.But I was unable to find any answers for this, thus posting here. I am building an indoor application which continuously scans the bluetooth dongles located at different locations in a place like a mall or library.As I move in the mall with android phone in my hand I should be able to get the neare...