This site requires JavaScript, please enable it in your browser!
Greenfoot back
JetLennit
JetLennit wrote ...

2013/9/25

Bluetooth

JetLennit JetLennit

2013/9/25

#
How would I be able to use Bluetooth connections with Greenfoot? I would like to be able to connect to such things such as (but not only)
  • Android Phone (with app inventor and otherwise)
  • Wiimote
  • Lego NXT/EV3
  • Wii-Fit Board
  • Ps3 Controllers
  • XBox 360 Controllers
  • Other Computers
  • OUYA Controllers
I am not sure how many of these things it is possible to connect to (if any) but any help is appriciated
I would think that that bluetooth game controllers would work normally (not including the Wiimote) I think maybe using some of the ouya code, you would be able to use the ouya controller as well. I think for anything else, you might have to figure out how to make them work with greenfoot yourself.
mjrb4 mjrb4

2013/9/26

#
If you can find a general Java library that will work, then there's no inherent reason why that shouldn't work with Greenfoot. See https://code.google.com/p/wiimote-simple/ for wiimote's for instance. Note that a lot of these libraries require native components, or have other dependencies - in the case of the above, you'll need Bluecove and appropriate bluetooth drivers installed (as said on the project page.)
You need to login to post a reply.