Jump to content
xisto Community
Sign in to follow this  
xboxrulz

Bluetooth And Java

Recommended Posts

Hey all Java programmers on Trap 17,

 

I'm wondering is it possible for Java to communicate to another computer through a Bluetooth device?

 

The reason I ask this is because I want to create an instant messenger that would be using the Bluetooth "network" so that people can use their computers to communicate from one to another without the use of the Internet.

 

This is very useful in situations where you want to talk to a friend nearby but does not have access to the Internet and cannot talk to them in person.

 

Thanks,

xboxrulz

 

Notice from jlhaslip:
xboxrulz,

please do not 'sign-off' on your postings here at the Xisto.

It is frowned upon since it adds to your posting credits and provides no 'content' to your posts.

I realize that other Forums allow it, but not here.

Thanks.

Share this post


Link to post
Share on other sites

As a programmer, i have not heard of the ability to communicate between computers useing bluetooth. I believe that the reason this is so is becaues bluetooth is used for very short distance communication (just a few meters) and if are that close to another computer, you might as well run ethernet cable or use a wireless access point to communicate. Why would you want to communicate through bluetooth for such short distances?

Share this post


Link to post
Share on other sites

Well, technicaly, you CAN make that piece of software, but as fffanatics said, Bluetooth devices have a short range, usualy 10m, bot those that are more powerfull get 100m range...But, the answer to your question is, yes, Bluetooth can be used for communication between two, or more, computers... As I'm not a Java programmer, I can't help with that area, but I believe the answer lies with hardware drivers, or perhaps, just setting up a Bluetooth Network, and using it via TCP/IP layer... Just a guess...

Share this post


Link to post
Share on other sites

thanks for the reply anyways guys, I really appreciated.I actually found the API documentation for the Bluetooth and Java thing.Yes, I know that Bluetooth can only support ranges up to 10 metres.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.