bluecove

Android Bluetooth: Service Discovery Failed, connection to Desktop/Laptop

一个人想着一个人 提交于 2019-12-01 12:55:57
I have an Android app that I had working a few months ago which I could use to connect my Droid X2 to an ASUS Transformer tablet over Bluetooth. That connection worked fine. I just finished coding client/server pairs using PyBlueZ on a couple Ubuntu machines, and an analogous client/server pair using BlueCove on a Windows machine. I thought it would be a breeze to take these three working, tested systems and connect them. Unfortunately, I am currently unable to connect my Droid X2 to my other machines, nor can I connect my other machines to my Droid X2 (I no longer have the ASUS Transformer).

Android Bluetooth: Service Discovery Failed, connection to Desktop/Laptop

依然范特西╮ 提交于 2019-12-01 11:54:27
问题 I have an Android app that I had working a few months ago which I could use to connect my Droid X2 to an ASUS Transformer tablet over Bluetooth. That connection worked fine. I just finished coding client/server pairs using PyBlueZ on a couple Ubuntu machines, and an analogous client/server pair using BlueCove on a Windows machine. I thought it would be a breeze to take these three working, tested systems and connect them. Unfortunately, I am currently unable to connect my Droid X2 to my other

Bluetooth error: Native Library bluecove_arm not available

痞子三分冷 提交于 2019-11-30 23:57:52
I'm having some difficulty running a leJOS pc program on my Raspberry Pi. It works on my PC. I get an error stating: "Native Library bluecove_arm not available" Bluetooth works fine otherwise using: "hcitool scan" I can't find a compiled version of Bluecove for ARMv6 / Raspberry Pi. I've installed Maven on my PC and installed the Maven Eclipse plug-in, in an attempt to compile Bluecove from the source files: though I can't see how to choose what platform I want to target (ARM11). I noticed another user has asked a pretty similar question, but hasn't provided anything useful: My Java bluetooth

Forcing 64 bit jvm to 32 bit jvm?

自闭症网瘾萝莉.ら 提交于 2019-11-30 20:32:10
Would anyone please give me ideas about forcing 64 bit jvm to run as 32-bit jvm? I need to write a jse desktop application for bluetooth connection. For that i need to implement Bluecove jar . It has 32-bit files only. So i included -D32 under VM arguments in eclipse pulsar. But still i am getting the same error that displayed before adding the argument: bluecove_x64.dll missing. I tried with -d32, and it showed me "unrecognized option: d32". And it seems like i should install a 32-bit jvm that would run on 64-bit os. So, can anyone please tell me what exactly should i install? Java SDK in 32

How do I use BlueCove to use Bluetooth on a MacBook with Java?

此生再无相见时 提交于 2019-11-30 14:21:00
I would like to implement an Java application that uses Bluetooth on my MacBook Air laptop. I try to use the Java bluetooth library BlueCove . I tried to implement the first example DeviceDiscovery but it throws an BluetoothStateException with the message: BlueCove library bluecove not available . I have added bluecove-2.1.0.jar to my Build Path in Eclipse. What is the problem? How can I use BlueCove with my MacBook Air? BlueCove requires the 32-bit JVM to run. Adding the -d32 argument to java to force the 32-bit JVM will fix the problem. You can do this in Eclipse under VM Arguments for the

Detect hidden bluetooth device with known ID

匆匆过客 提交于 2019-11-29 15:48:07
I have the target bluetooth device MAC-ID and would like to see if it is in range. How can I establish a connection to the target device, if i have it's ID and it's in hidden mode? I'm using bluecove (java) for this. I'm not sure what you mean by "hidden mode." You can connect to a device that is not discoverable, but you cannot connect to a device that is not connectable. Generally, using JSR-82 (or Bluecove, a JSR-82 implementation) you need to have a RemoteDevice object in order to open a connection. The only way to get a RemoteDevice is via device search. It looks like you can't do a

Send data from android bluetooth to PC with bluecove

倾然丶 夕夏残阳落幕 提交于 2019-11-27 13:56:32
问题 I'm trying to send data from android (using API from its SDK) to a PC using Bluecove on windows, being this last one the server. I can get the android to connect to the server but when I write to the socket's output stream, nothing happens on server. I have the onPut method overriden but it is never called. Code follows bellow, if anyone could help me I would be very appreciated : Android public class BluetoothWorker { private static UUID generalUuid = UUID.fromString("00001101-0000-1000-8000

Send text through Bluetooth from Java Server to Android Client

丶灬走出姿态 提交于 2019-11-27 10:53:19
First of all... don't redirect me to Bluetooth Chat and I have fully read it. I have an Android Client which stablishes the connection properly with the server, and what's most I can send text to the server in my pc and show it correctly, but I can't do the opposite action, send a simple string from the server to the client and show it in my android app. I don't want to implement a chat is just to show how BT communication works between a Java Server and Android Client. To make it easy: I send the text at the end of the startServer() method in the server class. I try to read the text from the

Sending a string via Bluetooth from a PC as client to a mobile as server

假装没事ソ 提交于 2019-11-27 06:34:33
I need help by transferring a string from a PC to an Android mobile device via Bluetooth. The Android mobile device should act as a server and displays the string message on the screen of the device. The PC which is the client should send the string to the mobile device. I want the server react on the extracted string (transferred via Bluetooth). That means that on one side the server always has to listen for new strings to arrive, but on the other side still has to be able to react on these messages (e.g. navigate from one menu to another). I tried it by using BlueCove (2.1.1) as

Bluetooth client/server communication between computer and mobile phone

﹥>﹥吖頭↗ 提交于 2019-11-27 04:38:32
问题 I need just a basic example or tutorial of making a mobile phone and a computer communicate via Bluetooth . A good link/website to start from is also appreciated. Server part (computer part) can be made on many programming languages ( Java , C++ , Python or even something else). Client part (mobile phone) must be a Java Micro Edition MIDlet. 回答1: After many days of research, I managed to make an application that sends (in real time) screenshots of area around the mouse cursor on a computer to