Computer Science Canada

Java + Bluetooth = ?

Author:  Mackie [ Wed Nov 24, 2010 6:41 pm ]
Post subject:  Java + Bluetooth = ?

Hey there folks, it's been a while since I've posted in these forums. You know how school and life gets in the way of these sorts of things.

I am however now in the need of serious help. I am not experienced in Java. Actually I just started seriously yesterday... I have written a fairly alright application. But it is missing a vital piece to make it functional. I need it to act as a Bluetooth server.

I have searched far and wide for any useful piece of information about a Bluetooth API or anything native that could do the job but I am persistently flabbergasted about the lack of information.

I'm writing this application for personal use and also as a listener application for my Android App, so an prompt response isn't as crucial as it would be for a a school assignment or something to that effect. I would very much appreciate a link to some resource or some kind of explanation on where I could get started with this.

Thank you in advance,
Mackie Drew

Author:  Tony [ Thu Nov 25, 2010 1:16 am ]
Post subject:  RE:Java + Bluetooth = ?

No personal experience, but I thought that the Android platform had a bunch of documentation available...

http://developer.android.com/reference/android/bluetooth/BluetoothServerSocket.html

Author:  Mackie [ Thu Nov 25, 2010 8:21 am ]
Post subject:  RE:Java + Bluetooth = ?

Oh yeah there is a lot of information available for the Android platform. It is pretty useful actually. But, What I need is Bluetooth for an application that stays on a computer and works with my Android app. Since my app has [will have] a considerable amount of communication between the computer and phone [device] via Bluetooth.

Author:  Dan [ Thu Nov 25, 2010 1:45 pm ]
Post subject:  RE:Java + Bluetooth = ?

You may want to check out javax.bluetooth, howver i think you still need 3rd party APIs to use their bluetooth stack.

Also that maybe limited to JavaME.

Author:  Mackie [ Thu Nov 25, 2010 11:24 pm ]
Post subject:  RE:Java + Bluetooth = ?

Oh yeah wow. I guess that explains everything. Ha well thank you Dan and Tony. You've been a great help. Smile

Now for the fun of learning it and putting it to use. Smile


: