JSR 82 (http://jcp.org/jsr/detail/82.jsp) is the bluetooth Java API specification. It should run on CDC and CLDC devices. You can download documentation (including javadoc) and source code. In addition to that, I think there is also a bluetooth API for JavaCard. cheers Michael
hi does anyone have the APIs for bluetooth?! I am programming for a multiplayer game for mobile fone and having problems looking for the bluetooth APIs. some sites offer them for a price. does anyone of u know sites which offers them for free? or if u have them could u just email them to me? email@example.com is my email add...thanks so much!
The new Nokia 6600 (expected to be commercially available in 4th quarter of 2003) will support the JSR-82 Bluetooth APIs (as well as MIDP 2.0, Mobile Media API & Wireless Messaging API). As far as I know it'll be the first phone supporting JSR-82. I'm planning to write a MIDP 2.0 Bluetooth game soon - I'm really looking forward to using the phone for multi-player games, and Bluetooth ought to provide much lower latency than e.g. GPRS mobile network connections (and no packet charges!).
definitely a yes. you may be interested in this site http://www.benhui.net/j2melinks.jsp?c=Bluetooth also, i am working on a article related to j2me/bluetooth development. stay tuned ben p.s. why do people still comparing bluetooth to wifi...
<a href="http://www.benhui.net" target="_blank" rel="nofollow">www.benhui.net</a> - mobile dev resources - j2me - bluetooth - midp 2.0 - review - links<p>Get Share Bill Buddy - Bill splitting (FAST!), Share trip expenses, Who Owe Me 3-in-1<br />Free trial on <a href="http://www.sklogicsoftware.com" target="_blank" rel="nofollow">www.sklogicsoftware.com</a><p>Get Travel Buddy - Itinerary, Tracker, Global Clock, Concurrency Convertor 4-in-1<br />Free version available at <a href="http://www.sklogicsoftware.com" target="_blank" rel="nofollow">www.sklogicsoftware.com</a>
Joined: Aug 12, 2003
tnx ben. does anyone have sample codes for bluetooth phones? can't figure out the APIs at this point. i want to see some codes in action, though. thanks guys
Joined: Aug 26, 2003
you can find the stub API from the JSR page http://jcp.org/en/jsr/detail?id=82 for sample, check back my website about a few weeks from now, I should have something for you to play with ben
So is there a midp phone that has bluetooth available in the US yet? What about europe or asia? I assume MIDP 2.0 allows for bluetooth but does not require it? thanks.
Joined: Jan 22, 2003
This is a question that must be answered carefully. There are many MIDP phones available that have Bluetooth (e.g. Nokia 6310i, 7650, 3650). However, these models don't support the JSR-82 Bluetooth API, so their Bluetooth is not accessible from MIDlets. As far as I know, there are not yet any MIDP phones available anywhere that support the JSR-82 Bluetooth API. Nokia has announced one, the Nokia 6600, but that is currently expected to be available in Q4 this year (i.e. some time October - December). MIDP 2.0 does not require the JSR-82 Bluetooth API. But a MIDP 2.0 phone (or even a MIDP 1.0 phone) may also implement the JSR-82 Bluetooth API, just as many existing MIDP 1.0 phones also implement the Wireless Messaging API (JSR-120) and the Mobile Media API (JSR-135).