Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Bluetooth Development

 
scott irwin
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any of you bleeding edgers looking at J2ME bluetooth development yet?
 
Mark Herschberg
Sheriff
Posts: 6037
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.
(although it looks like bluetooth might be having some troubles)

--Mark
 
Shura Balaganov
Ranch Hand
Posts: 664
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wi-Fi 802.11 is kicking it in the teeth? Or is it using the same technology?
Shura
 
Mark Herschberg
Sheriff
Posts: 6037
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
802.11 is different technology. Bluetooth was promsing a lot and is still a ways off. 802.11 is here and working, so it's taking some marketshare, not hard against vaporware.
--Mark
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
karen ong
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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? karen_ong26@yahoo.com is my email add...thanks so much!
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch, karen!
You might have already run across it, but Sun's API listing links to a page at motorola.com for the Bluetooth API. Following the links, I'm able to download two Bluetooth API documents, though they may not be the full-fledged documents that you're seeking.
You might be interested to take a look at the JSR-000082 public review draft and the proposed final draft of the Java APIs for Bluetooth or the official Bluetooth specification. For the spec, you'll have to become a member of Bluetooth.org, but Adopter Membership is free.
Good luck.
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And one more thing, you might want to spend some time perusing The jsr82 Yahoo! Group - a group dedicated to discussing Java APIs for Bluetooth Wireless technology.
 
David Price
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!).
 
bab javier
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys!
any ideas on what is the transfer rate or how fast will data be transmitted among bluetooth devices?
i'm developing a multi-player game with a maximum of 4 players/devices.
thanks
 
Ben Hui
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
bab javier
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ben Hui
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Stephen Cole
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
David Price
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
hyth hyth
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi i am working on a multiplayer bluetooth game too.. and need help..i am willing to pay, price negotiatable...or if there is any info pls send me..thank you
 
Alexander Traud
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Forum Nokia > Resources > Documents > Bluetooth
 
kalimantan keriri
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry.How can a MIDP 1.0 phone implement JSR-82 Bluetooth API ?
 
Fred Grott
Ranch Hand
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
midp 1.0 does not support bluetooth, sorry
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic