| Reply | « Previous Thread | Next Thread » |
|
Hello,
I want to create a bluetooth server on my laptop to talk to devices. Where do i get/buy the javax.bluetooth package from? I want to create a standard java app Thanks |
|
|
|
Hi Daniel,
Thanks for that, is there a windows version? Bobby |
|
I only know of commercial (I mean, $$) solutions for Windows: http://www.avelink.com/Bluetooth/Pro...R-82/index.htm
Daniel |
|
Hi Danie
Do i really need all that? I just want the javax.bluetooth package. Could I not just copy the class from the package (javax.bluetooth) under netbeams mobility? Would this work? e.g. LocalDevice being a usb dongle as opposed to a monile device? (sorry i very little bluetooth knowledge) Bobby |
|
For the javax.bluetooth package to work, it must be implemented against the local Bluetooth stack, or it must be a complete Bluetooth stack itself.
If you copy the javax.bluetooth classes from Netbeans or Nokia SDK, they will not communicate with your Bluetooth hardware, as they are just implementations for your emulator. In a real device, let's say, Nokia 6680, javax.bluetooth is implemented on the top of local Bluetooth stack, with native methods and the works. Summary: JSR 82 is just a spec, it needs to be implemented with native funcionality in order to work. It is special, because it's common to both J2ME and J2SE worlds, but that does not change anything: there's got to be a native part either way. Let's say for example, if you copied Java 3D package to your device, it would not work, because there would be no native implementation. It would throw something like UnsatisfiedLinkCondition error. If you search more on Sourceforge perhaps you can find a Java implementation for Windows for free, I haven't looked up much. Daniel |
|
Hi Daniel,
Ok I think I understand! I have a 3com bluetooth adapter which I want to use in a normal java app to act as a bluetooth server. So i need to install a bluetooth stack that communicates with my 3com adapter, and i access the stack throught javax.bluetooth or another java package. Is that correct? Thanks alot for your help?!!!!!! Bobby |
|
Quote:
Daniel |
|
Hi Daniel,
Finally got there! Would it not be easier to monitor the com port the device is connected to? e.g can I in the midlet code send messages to a device on a certain com port? Bobby |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| javax.bluetooth discoverable by sdptool browse? | markushx | Bluetooth Technology | 1 | 2006-08-21 16:29 |
| javax.bluetooth; no service found | sandrosandrosa | Bluetooth Technology | 2 | 2004-09-23 02:02 |
| javax.bluetooth; no service found | sandrosandrosa | Bluetooth Technology | 2 | 2004-08-20 13:33 |
| javax.bluetooth; no services | sandrosandrosa | Mobile Java General | 0 | 2004-08-02 11:09 |
| javax.bluetooth | jonmccune | Mobile Java Tools & SDKs | 0 | 2004-02-10 02:54 |