Thursday, 17 December 2015

Connecting with Bluetooth

Bluetooth is a short-range wireless communication protocol supported by most mobile devices, and available for use in App Inventor. Two new apps have been added to the UniTY section of the App Library, one that demonstrates a Bluetooth connection and data transfer between two devices, and one that uses it in a two-player game:
  • BluetoothDemo - establish a client-server connection between two devices and exchange data
  • LizardSpock - an extension of Rock-Paper-Scissors, made famous in The Big Bang Theory

Note that Bluetooth must be enabled and the devices paired before running the apps. On most devices, Bluetooth configuration can be found at Settings - Wireless - Bluetooth.

No comments:

Post a Comment