How do I send data from Unity gear VR app over bluetooth?
I am new to Unity and android app development. I recently got hold of a Samsung gear VR and galaxy S6. I am able to make simple scenes and run them using the gear VR. However for my project, when I am running the app on my gear VR, I would like to send data regarding the player coordinates, joystick etc over the phones Bluetooth so that it can be read on my computer in Matlab in real time. I need this data to trigger an external device using Matlab. Any help would be appreciated. Thank you
You need Bluetooth plugins on both sides because Unity does not support this out of the box. You can write one for yourself with Android Bluetooth API or use this cheap one that only cost $10. On the computer side/Windows, you can use Winsock RFCOMM. You can get sample code here. Other important links. Bluetooth tutorials on Windows.
How can i get current Fragment of FragmentPageAdapter
Image Save in the RecyclerView to the gallery
FirebaseUI - alternative to startActivityForResult so that the Activity shown before the ChooseAccountActivity is not shown again
Application crashes upon new Activity
How to keep full screen when show popup menu?
how to set transparent pixel in bitmap for color using Android RenderScript,
Trying to use android.useDeprecatedNdk=true in my grade.properties file, but says “Property Unused”
What is com.google.android.gm?
Android toast in Cordova App
Google maps v2 not showing even though i generated with sha1 key and package in studio 2.2
Google Analytics Demographics for android not working after I updated Analytics API to V4
Get error when trying to perform delete query [duplicate]
Viewpager and Softkeyboard's Right/Left arrow in Samsung tablets
I have not decrypt the same as Android code in Objective-C. Android code is here
How to retrive the json values (string values display as null and integer 0)
If a marker is not equal to null, then how do I remove the marker and create a new one?