bluetooth

Android Bluetooth: Connect()/Disconnect()

I currently am designing an app which needs to connect to a device, write/read data, and close the connection reliably. Currently I have the write/read solid. My disconnect and then reconnect is terribly unreliable, and often actually crash the phone.. and sometimes Eclipse. I've been looking through numerous articles trying to figure...

Set COD on Android bluetooth server

Hi, I'm developing a bluetooth server over Android. The client I want to be connected has established a COD (Class of Device) filter, in order I don't catch the connection unless I have a concrete COD. Are there any way for establishing the COD of the Bluetooth adapter? Thanks in advance. ...

Sockets: Receiving data from an (mostly) unknown (bluetooth) device

Dear guys, I have a GPS tracker from which I want to collect the location data that it stored somehow. Client software exist, but I want to try it for myself. I already downloaded and installed the needed python libraries and successfully connected to the device. Now, I have the socket (sending "Hello World" results in "4") and I don't...

Android: Connect two phones wirelessly?

I'm interested in fleshing out an idea for a Android phone app, and I'm wondering if this is possible. So I would have the app running in the background on Phone A, then when it finds another Android phone B, it saves certain information like time, GPS location, just state variables. But if the other phone is also running the same app, ...

Value from bluetooth barcode scanner

I am developing an application that uses a bluetooth barcode scanner (OPN-2002). To read the value from the scanner I am listening for keyboard events with the following code: [textField addTarget:self action:@selector(valueFromScanner:) forControlEvents:UIControlEventEditingChanged]; ... - (void)valueFromScanner:(id)sender { N...

Connecting to paired bluetooth device (BluetoothSocket) in android 2.1

Hi, I am trying to connect to a paired bluetooth device (baracoda d-fly bar code reader). I tried the program GetBlueDemo from market and this manages to read from its socket. I wrote my own proof of concept, but i just keep getting an excpetion when i try to connect to the device. 08-23 14:39:28.635: DEBUG/BluetoothTest(19238): Coul...

java-me bluetooth file send help

i am having two cell phones and i want to exchange file between these two. Device A invoke java app, it will scan available bluetooth device in range, show them into list and user can select one device and click send. i have written below code, it is not working. package hello; import java.io.; import java.util.Vector; import javax.bl...

How to connect a bluetooth adapter with Object Push Protocol?

I saw in Android 2.1 highlight it said new platform support: "Bluetooth 2.1, New BT profiles: Object Push Profile (OPP) and Phone Book Access Profile (PBAP)". Now I have bluetooth adpater with OPP support. I can search and pair with it. But how can I get the txt file it send to me. There is no API for this function. I'm using the Bluetoo...

MyGlucoHealth Wireless Meter for Android via Bluetooth

I'm trying to create a app for android that retrieves the test results after the test is performed using the MyGlucoseHealth device. What should be my method of approach? How can I find out if there is a handshake method that is required in order to be able to talk to the device. What would the procedure be in order to start a connectio...

Which bluetooth profile is needed for automatic pairing?

When I'm in my car, my phone automatically pairs with the car radio without doing anything with the phone. Other bluetooth devices only pair if I select the device in the phone settings. Question is, which bluetooth-profile is needed in a bluetooth device to pair automatically? Thanks! ...

Can you set the current Bluetooth profile using the External Accessory framework?

EAAccessory has a property that lets you specify protocol strings like com.myCompanyName.MyProtocolName. Does this mean that you can set the current Bluetooth profile using the External Accessory framework? ...

Does any know a good Bluetooth framework that works on Linux not under GPL?

Does any know a good Bluetooth framework that works on Linux not under GPL? ...

Ipod touch, python and BtStack

Does any one have tips on accessing the ipod's bluetooth functionality though python forgot to say im using a jail broken ipod touch 3g running 3.1.3 ...

Can I use only one iphone 3GS test my app's bluetooth mode?

I have developed an app ,and it supports two people play game through bluttooth,but I hava only one iphone,I want to test through simulator,but it doesn't work. I must have two real devices? Anyone can help me ? ...

ActivityManager: Warning: Activity not started, its current task has been brought to the front

package supa.mack.doppler; import java.util.Set; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; import android.bluetooth.*; import android.widget.Toast; public class doppler_test extends Activity { TextView o...

Bluetooth hotspot

I'm planning to make bluetooth hotspot system, in which when a bluetooth enabled device (such as a mobile phone) is in the area, messages can be pushed via bluetooth automatically. The device should be detected automatically if its bluetooth is turned on, and the push can be done after asking permission from the user. I'm planning to do ...

Establishing bluetooth connection between a J2ME application and a desktop application written with Python (preferably using pybluez)?

I am trying to establish a bluetooth connection between my J2ME application (using JSR-082 API) and my desktop application written with Python (using pybluez bluetooth API). However, I could not find a suitable bluetooth communication protocols to pair them. In pybluez, the way you connect to a server is as follows: addr, port = "01:23...

What's the quickest mobile platform to create a Bluetooth application on?

Most of the time I write code for embedded modules or small programs on my computer to analyze data that said code generates. Now I've been asked to prototype a mobile application to analyze/display that data instead. I have no (6-year old CS101) experience with either of the popular languages (Obj-C/Java?), let alone with any of the A...

How to close BluetoothServerSocket while it waiting for connection?

How to force BluetoothServerSocket to stop waiting for incoming connection started with accept()? When i'm calling stop() all i get is "ERROR/BluetoothSppPort(2211): invalid port state for disconnection" in LogCat. I need to stop controlling thread but it can't be destroyed while serversocket waiting for connection. I know about accep...

Android Bluetooth SPP connection to embedded Linux board - PIN request

I have a Nexus One, running Android 2.2, as the client. I want to make a socket connection to an embedded Linux board (Server). I have been able to get the connection up using the SPP UUID. My question has to do with pairing, actually why does the PIN request keep popping up every time I attempt to connect a socket, when the devices are ...