- Home /
Cross-platform Bluetooth (Android/PC) in Unity?
I work for a company developing an immersive environment, and at the current time we're using an old iPad (as in the original model!) that acts as a keyboard and mouse to control navigation and things that happen in our interactive scenarios. At the moment we're using Jumi Mouse (which was being used before I started working at the company), but it seems to be plagued with glitches. I'm thinking of eventually getting an Android tablet and writing a custom app for it to control the scenarios, and I'm looking at using Bluetooth as a means of communication. Is it possible to get an Android tablet and a PC communicating this way using Unity?
Does anybody know if this is possible? I don't need the implementation details; just a yes/no answer as to whether it can be done or not. It's just that I don't want to go out and buy an Android tablet, and then find that this thing won't work.
For those interested, I was thinking of something along the following lines to make this work;
There will be 2 apps to get this thing going; the app containing my scenario that runs on the PC, and an app called "BlueRoomController" that runs on the Android tablet.
The scenario app will send a list of button names along with layout information to the BlueRoomController app.
The BlueRoomController app will build the UI containing the required buttons, and send a response to the scenario app to let it know it's ready.
The BlueRoomController app will keep track of buttons when they're clicked or held down.
The scenario app will send a command to query the states of the buttons since the last query, and the BlueRoomController app will respond.
Your answer
Follow this Question
Related Questions
Sending games via bluetooth? 1 Answer
How do I make the YEI 3-Space Sensor Bluetooth work with unity? 2 Answers
U3DXT - How to scan for BLE devices with u3dxt.ios.native.corebluetooth? 0 Answers
Input.GetKey with iOS Bluetooth Keyboard 1 Answer
How to get BlueTooth Keyboard Value in the IOS APPS? 0 Answers