wood burning stoves 2.0*
The moose likes Java Micro Edition and the fly likes Jonathan - WiFi vs BlueTooth Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Jonathan - WiFi vs BlueTooth" Watch "Jonathan - WiFi vs BlueTooth" New topic
Author

Jonathan - WiFi vs BlueTooth

Burk Hufnagel
Ranch Hand

Joined: Oct 01, 2001
Posts: 814
    
    3
As you are a J2ME author, I'm interested in your opinion for game developers? Are we better off concentrating on WiFi, BlueTooth, or try for both?
Thanks,
Burk
[ June 25, 2003: Message edited by: Burk Hufnagel ]

SCJP, SCJD, SCEA 5 "Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)
Jonathan Knudsen
Author
Ranch Hand

Joined: Apr 22, 2003
Posts: 55
I've been wondering about this myself, whether Wi-Fi (+Rendezvous, probably) or Bluetooth will become predominant. I don't know the answer. I would guess that if you are a little careful about how you structure your network code, then you'll be able to easily adapt it to either Wi-Fi or Bluetooth as you need to in the future.
Burk Hufnagel
Ranch Hand

Joined: Oct 01, 2001
Posts: 814
    
    3
I read an article that suggested that neither will totally replace the other because they were designed to fill different needs. BlueTooth is slower and has a shorter range, but it takes far less power than the faster and loger ranged WiFi.
I'm just wondering if you think people will be more interested in gaming with others near them, or across the city/state/country/world.
Jonathan Knudsen
Author
Ranch Hand

Joined: Apr 22, 2003
Posts: 55
I just want it to work whether my opponent is in the same room or across the globe. Whether it's Bluetooth or Wi-Fi, I just want it to be seamless. I don't know if we'll see that in our lifetimes or not.
I believe at some point devices will have wireless connectivity the way everything has USB now. That's when things get really interesting.
Burk Hufnagel
Ranch Hand

Joined: Oct 01, 2001
Posts: 814
    
    3
Originally posted by Jonathan Knudsen:
I just want it to work whether my opponent is in the same room or across the globe. Whether it's Bluetooth or Wi-Fi, I just want it to be seamless. I don't know if we'll see that in our lifetimes or not.
I believe at some point devices will have wireless connectivity the way everything has USB now. That's when things get really interesting.

I sure hope we see seamless communications in the near (1-2 years) future, and I think you're absolutely right about it getting really interesting when wireless connection can be assumed.
So far, I don't know of any devices that have WiFi and BlueTooth, but I know that Palm has a WiFi PDA and a BlueTooth expansion card so its certainly possible to have that kind of configuration.
As a programmer, I gotta wonder how to handle a situation like that though. Say you want to play a game with someone else - how does the program decide whether to try and connect using the WiFi or the BT connection? Or does it punt and ask the user to decide for it?
In any case, the poor programmer has to write code to deal with either situation -- unless there's a way to easily abstract the differences into a common interface and then program to the interface instead of a specific class.
Is there? Better yet, is it built into J2ME/MIDP?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jonathan - WiFi vs BlueTooth
 
Similar Threads
Connecting to a socket program on the PC with WIFI from mobile phone
About wifi networking between mobiles
Bluetooth Development
DataInterface
Passed Part I with 79%