Questions tagged [jsr82]

JSR 82 - Java ME API for Bluetooth

JSR 82 - Java ME API for Bluetooth.

30 questions
8
votes
1 answer

Keeping Java Bluetooth connection alive

I’m building a simple Java Bluetooth server for my computer using the Bluecove API. I’m building an Android client side app as well but the problem seems to be stemming from the server side app. I’m sure someone has posted any answer already…
Kevin Lam
  • 81
  • 3
6
votes
1 answer

BlueCove library bluecove not available - Error using Bluecove/Java

How do I install Bluecove in Ubuntu 11/Eclipse IDE? As far as i was aware, all I had to do was add the bluecove.jar and bluecove-gpl.jar to the Build-Path of the project within Eclipse. I'm using some sample Bluecove code found here:…
Ryan Jones
  • 447
  • 1
  • 5
  • 14
6
votes
1 answer

Bluetooth client/server communication between computer and mobile phone

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++,…
Oleh Prypin
  • 33,184
  • 10
  • 89
  • 99
5
votes
0 answers

JSR82 connect: Connection to the Bluetooth socket is not created (failed or aborted)

So there are many SO posts related to this issue - java.io.IOException: [JSR82] accept: Connection is not created (failed or aborted) java.io.IOException: [JSR82] while connecting to a bluetooth device Other Posts…
sjain
  • 23,126
  • 28
  • 107
  • 185
5
votes
1 answer

How to implement ACTION (move/rename, set permissions) operation in J2ME Bluetooth OBEX?

Bluetooth FTP specification says I need to use ACTION operation, here's a page But the ClentSession provides only GET and PUT operations, and nothing mentioned in javadocs. here's how the create file operation looks, it's pretty easy public…
Yaroslav Mytkalyk
  • 16,950
  • 10
  • 72
  • 99
4
votes
2 answers

How to connect a J2me Midlet installed on a mobile device to a java application?

I need help to connect a J2me midlet program to a java application on my desktop using bluethooth connection. How can I configure my midlet application to connect to the desktop application using bluetooth? Device supports JSR 82 J2ME Bluetooth API.…
heretolearn
  • 6,387
  • 4
  • 30
  • 53
3
votes
2 answers

Java JSR-82 Implementation (javax.Bluetooth.*) - Using Bluecove

I am searching for some help with JSR-82. I have searched for a long time, and even had my project supervisor at uni helping me out, and so far, I have had no luck. My Problem... I have a project whereby I simply need to scan for Bluetooth Devices…
Ryan Jones
  • 31
  • 1
  • 2
3
votes
1 answer

Bluetooth in Java Mobile: Handling connections that go out of range

I am trying to implement a server-client connection over the spp. After initializing the server, I start a thread that first listens for clients and then receives data from them. It looks like that: public final void run() { while (alive) { …
Albus Dumbledore
  • 12,368
  • 23
  • 64
  • 105
3
votes
1 answer

Connecting with Bluetooth L2Cap to HID Device

Are there any workarounds to connect to HID device using L2CAP in JAVA ME (using JSR-82 specification implementation native to mobile device not BlueCove etc.)? I know that HID devices usually uses PSMs (Protocol Service Multiplexor) with 0x0011…
3
votes
1 answer

BlueCove Bluetooth Device Discovery

I've built and ran the RemoteDeviceDiscovery sample project for BlueCove 2.1.1. The program will discover all discoverable bluetooth devices but it will also report in deviceDiscovered() devices that were once paired before. Is there a way to ONLY…
broody
  • 697
  • 1
  • 6
  • 17
2
votes
0 answers

Is there a high level library for bluetooth communication in Java?

I know there is BlueCove but I am looking for something that is a little more intuitive and easier to understand.
PockelHockel
  • 7
  • 1
  • 9
2
votes
1 answer

bluetooth communication server client stuck j2me

How can I use the same Stream to read/write from server to client or from client to server more than once? I am making a turn based game over bluetooth. Any ideas on how to achieve this in j2me? I am using RfCOM protocol. The client code is public…
2
votes
3 answers

Alternate way for setting permissions for J2me application

Currently I am using jad to set the http and Bluetooth permissions. But I have a problem with this approach. Some of the handsets does not have support for bluetooth API, so the phone is not allowing the installation of the application as it does…
vinod
  • 558
  • 5
  • 10
1
vote
0 answers

Device not accepting incoming connection in J2Me Bluetooth?

I am trying to do communication between a mobile application (using J2ME and JSR82) and Desktop application (in C# using InTheHand Library). I am using RFComm protocol with UUID: 00000003-0000-1000-8000-00805f9b34fb. I have manually specified uuid…
Shubham
  • 21,300
  • 18
  • 66
  • 89
1
vote
1 answer

Is there is any way to get the mobile phone number using bluetooth?

This is my friend's interview question. Is there is any way to get the mobile phone number using Bluetooth?. There is a mobile phone A it connect with the another mobile phone B through Bluetooth. How to get the mobile phone number of B in Mobile…
SIVAKUMAR.J
  • 4,258
  • 9
  • 45
  • 80
1
2