bluetooth

Send data via bluetooth from android

Hi, I need to send a package via bluetooth from android device to desktop. example: package.data="$85"; package.command="go"; How can I do it? I establish a connection with desktop by default resourses on android. Thanks! ...

Where is the definition of the bluetooth service?

I use my Blackberry to query the target phone(HTC Hero). It said the HTC has below bluetooth service: Voice Gateway, Unknown, BTIPS_2.22_Android_AVRCP_target OPP Server After I run my own app, the service list change to: Voice Gateway, Unknown, BTIPS_2.22_Android_AVRCP_target OPP Server Generic Service I open a...

Strange issue with capturing Bluetooth packets from Android JNI shared library

Hi, I have a question having to do with Bluetooth programming in C. I'm working on the Android platform, but anyone skilled with the Bluez stack should be able to lend some insight... I am trying to write an application to capture Bluetooth packets from within an Android application, which is written in Java and runs in the Dalvik Virt...

OBD2/CAN BUS problems with send commands

Hello I'm developing application (Android). This aplication is connected to OBD2 compliant vehicle /CAN BUS and read data from it. I've done succesfully connection using OBDKey and read data using OBD message format. This message format is mode + pin But now I have problems with CAN BUS How should I send command called message_id? W...

Android: Handling files received by Bluetooth correctly

I have an Android application which handles a particular type of file. It registers intent filters for both the MIME type and the filename pattern. This all works fine from file managers; I select a file, I get prompted with a list of actions applicable to the file, my application is on the list, I select it and it works. However, this ...

Send File Via Bluetooth from pc to Mobile With C#

Hi im new to blutooth development environment in C#.Net Actually my project is a C# application which should automatically search bluetooth Mobiles via my pc 's blutooth device and send a specific file to the searched mobiles automatically. Note:The search should update every 2 Minutes including Manual device search strategies ! ...

Transmitting Data using bluetooth sockets

I have a bluetooth connection with PC(bluesoleil) on COM8. And I want to send "hello" to this port. Can I do it? Becouse when I do this: OutputStream outs; try{ outs = socket.getOutputStream(); byte[] byteArray = ("hello").getBytes(); byteArray[byteArray.length-1]=0; outs.write(byteArray); Log.d("BT"...

How to transfer data from ipad to bluetooth device via bluetooth using private api

How to transfer data from ipad to bluetooth device via bluetooth using private api ...

Android problem in setting a bluetooth service name

Hi, I'm developing an application which serves as bluetooth server for a bluetooth external device (the communication is started by the external device). This external device request from the bluetooth service I'm deploying a concrete service name ("PWAccessP"), so I initiate the serversocket by the following instruction: serversocket ...

Android: Identifying active Bluetooth connections

Is there a way that when I start my app, it can figure out if any Bluetooth devices are actively connected to the phone? I want my app to be able to report on an active BT connection by supplying the BT device name. I cannot find anything in the BT API that seems to be able to handle checking sockets for activity and reporting on act...

How to measure distance between two iphone devices using bluetooth?

Hi, Everyone, I'd like to do something in the following using bluetooth. Measure and display how far my iPhone is from another iPhone. Display direction of my iPhone. For example, I'd like to display something in the following on my iPhone application. My iPhone is connected to another iPhone:Harry's iPhone. In this case, Dist...

Android RFComm with OBEX Push not working

Hi there. I am trying to remake a java application into an android application, but I cannot make it work. The application is meant to talk to a device that uses OBEX Push. The device cannot take any incoming connections and it has no user interface but some LEDs. The java code snippet I am trying to remake is following: LocalDevice l...

Android Bluetooth PBAP

Hi guys! I'm gonna try to introduce briefly what I'm working on, and then present my question... any help will be very much appreciated! I've been trying to connect an Android device to other phones in order to import their phonebook info over bluetooth, using the phonebook access profile. To achieve that, I'm trying to place my device ...

Gamekit iPad and iPhone Communication

I am developing an iPad app (the "Server") which needs to communicate with up to 4 iPhone/iPod Touches (the Clients). Should I create 4 GKSessions for each of the iPhones? Should I have 1 GKSession which connects all 5 devices, and if I do, will each iPhone be able to "see" the others (Ideally, this shouldn't happen as it will keep thi...

AM kill proces and did not restart all services

Hi , we observed one scenario where activity manager killed our application process(it includes 5 running services) and then when it re-started the application process, it re-started only 1 service (this service was first one to be destroyed) . I/ActivityManager( 1660): No longer want com.android.bluetooth (pid 4961): hidden #16 I/Activ...

Sending Reciving Problem in Bluetooth Connectivity problem

Sending Reciving Problem in Bluetooth Connectivity problem Hi I am getting a problem in data transfer problem. What actually i need is that when i click transmit button in the application, it should send the XML file and on other device when i click receive button, it must receive the data via bluetooth. For this, i referred GKPeerPick...

compatibility j2me bluetooth obex file transfer from one mobile to other mobile

Hi i have developed j2me/bluetooth/obex file transfer program. aim is from one mobile to other which are having java and bluetooth support one should able to transfer the file (self replicating midlet). wanted to know does all device supports bluetooth also supports obex ? if yes, fine. if no, what is most basic/best way to handle sit...

Blackberry Bluetooth Development Help

Hello everyone, I've been stuck since several days on my bluetooth application. Its role is to receive data from Bluetooth devices, using Serial Port Protocol ... The application runs in the background of the phone and devices, when they need to send an information, turns on the bluetooth and try to send a data frame. The problem is th...

setting up iPhone P2P only over bluetooth and without GKPeerPickerController

I want to use a custom interface to connect with other iDevices in a p2p game. I know I can either use GKSession and GKSessionDelegate or use the lower level Bonjour browsing. But both of them will search for devices both over bluetooth AND wifi. I want to list only bluetooth devices. I know this was answered in the past as impossible, ...

iPhone and anyother Smartphone peer-to-peer communication over bluetooth

Hi, i want to build a simple bluetooth chat program that can do a 2 way chat with 2 mobile devices. i know that i can use gamekit to develop such application for iphone and ipod touch. But i want to know is, is it possible for other smart phones (running my application) to discover and communicate with ipones and other devices as wel...