bluetooth

Gamekit and iPhone help

I have my app set up to send a custom level in a form of a array to another person during a p2p connection. The receiving device saves the array to file for later use. I set up gamekit in my application, it will successfully search and connect to another device without any problems. Though a problem arises when I send data to a device, t...

Android Bluetooth Cross Platform Interoperability

Hi, I have a Bluetooth service that I programmed for .Net on a Windows machine and I would like my Android 2.1 phone to connect to it. The server is listening for the same UUID which the Android is using to connect. But the connection is failing. When I try to connect to devices that are not listening for that UUID, I get an exception w...

Android Bluetooth crashes after orientation change

Hi, My code is based on the BluetoothChat sample from the API. I connect to another device just fine and I can read and write to the connection no problem. But then if I turn the device the orientation of the UI changes automatically. After this, if I try to write to the Bluetooth connection, my application crashes! It seems weird that...

Getting list of bluetooth devices nearby on iphone sdk

Hi Guys, I need to be able to search for all bluetooth devices nearby and just get there ids. I don't need to pair at all. I am using iphone 2.3 beta. Is this possible l have tried using GameKit and no luck does anyone know how to do this. BOOL result = NO; if (!session) { session = [[GKSession alloc] initWithSessionID:@"SCANNER"...

Android Bluetooth Crashes Application When Remote Device Closes Socket

Hi, I have connected my Android application to a Windows desktop machine via Bluetooth. The application interacts with the machine. At the end of the interaction the application on the desktop closes the socket that was opened between the Android and the desktop application. Right when socket.close() is called on the Windows machine m...

iPhone Bluetooth application to connect to a Bluetooth printer

Hi, Has anybody succeeded in developing a bluetooth application on the iPhone that prints to a Bluetooth printer? I have been investigating the feasibility of developing an iPhone application that could print to a Bluetooth-enabled printer. I've gone through the most of the postings in this thread and was confused by the mail exchange...

GKSession - what if I have Bluetooth and Wi-Fi turned off?

I'm working on an iPhone app that will allow for peer-to-peer connections. From what I understand, I have the choice between using GKPeerPicker or the GKSession. I don't like the idea of using the PeerPicker because I want to show a custom interface, so I decided to go with GKSession, and hey, BONUS is that it also works over Wi-Fi, wher...

I need to automate the process of adding an incoming port to a bluetooth connection

A contract programmer is building a simple application for me to automate the process of pairing a Bluetooth SPP device with a PC; we can do this with the standard Microsoft Bluetooth GUI, in which case, the result is both an incoming and outgoing port. The purpose of the project is to simplify this process for the ultimate user. The pr...

Possible to program 3rd party bluetooth headset button for use in my app?

Apple is obviously very strict when it comes to reprogramming physical iPhone buttons for use with apps, but what about 3rd party bluetooth headsets? Many of them come with physical buttons, for instance to skip to the next song. Is it possible for us to program our app so, while it is running, all "SKIP SONG" bluetooth signals (from ...

Pregenerating Bluetooth link keys

In my project, there will be about 500 Bluetooth devices installed over the city and about 20 PDAs used to update these devices. The devices should be not be visible to anything except the PDAs and I'd like to avoid the troubles or pairing each device to each PDA. Is there any way to pregenerate 10,000 link keys (for each device-PDA pa...

Question about bluetooth on Android

Hi I just read your post http://stackoverflow.com/questions/1953888/bluetooth-connect-to-a-rs232-adapter-in-android and I think you probably can help me figure out my little problem. I have this BT module connected to a MCU via serial port UART. Im trying to connect to the bluetooth via my android phone. I managed to use my app and scan...

Streaming video playback performance issues with background tasks on Android

I have developed a little application that can play video from a rstp streaming sever (darwin in this case, but this is not relevant) by means of the VideoView widget (I have tried Mplayer+SurfaceView approach too). I use Wifi connection for this. The video plays just smooth when video is the only task. The small application should carr...

Bluetooth chat between mobile and pc

Is it possible to create a application that create (text) chat session between pc and mobile over bluetooth, Which stack is best for this, and which language ...

error in java code (j2me)

hello. i am gettin an exception for the followwing code.i am not able to understand what is UUID,can anyone help to resolve this error.i have posted the code as well as error,i am getting. package wiki.nokia.example; import java.io.IOException; import javax.bluetooth.BluetoothStateException; import javax.bluetooth.DiscoveryAgent; impor...

how to route iPhone audio to the bluetooth headset

I'm attempting to output audio to the bluetooth headset (not A2DP) using AVAudioPlayer, AVAudioSession and AudioSessionSetProperty. There seems to be functions to select the bluetooth headset as input (kAudioSessionProperty_OverrideCategoryEnableBluetoothInput), but no equivalent for setting the output. This is done in the Voicemail ap...

Identifying mobile devices paired via bluetooth with a Microsoft Surface

I want to be able to pair the Microsoft Surface with multiple mobile devices via bluetooth and I want the Surface to know which device is which. So if I place two phones down, the Surface should be able to label them by device name. My initial thought was to have the phone display an Identity Tag that has encoded it's Bluetooth MAC add...

Android bluetooth RFCOMM questions

I am trying to get an android phone to look like a bluetooth GPS unit so that a PC or any other device that supports bluetooth GPS can use it. I figured out the whole NMEA thing and have the device spitting out correct NMEA sentences. My problem lies in the bluetooth area though. I have a bluetooth thread setup for listening for a conne...

Bluetooth support on Android Emulator

Hi everyone! I wanna know if the developer team wich made the emulator have some information to make bluetooth works in the android emulator, indicate some links about it, if they have some date for release or if they'll make it works in the future. Thanks. ...

Receiving VCard through Bluetooth in Android Mobile

Hi, If I want to send VCard from any Nokia mobile to Android mobile means after receiving the VCard where it will stored in the Android Mobile either it is stored in the SMS Inbox or some other location.I never used the Android mobile till now, so please any one knows it help me. ...

How do I use the Bluetooth SPP on a Pocket PC running Windows Mobile?

My client needs a Pocket PC application to remotely configure an industrial sensor via Bluetooth. The sensor is equipped with a small Bluetooth SPP module. The application should run on Pocket PCs running Windows Mobile. As I'm familiar with .NET application development on the desktop but not on mobile devices, I'd ask for a bit of advic...