android


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.

Related Links

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?

Categories

HOME
embedded
scikit-learn
saml-2.0
jwplayer
gradient
pyqt4
crystal-lang
modal-dialog
rcloud
fosrestbundle
octave
speech-synthesis
fileserver
wolframalpha
google-container-registry
connector
sencha-touch
xunit
syntax-highlighting
shared
ms-access-web-app
delimiter
fractions
user-defined-functions
google-earth
google-cast
xbox
postback
papaparse
biztalk-rule-engine
openproject
tex
modernizr
protein-database
recurrent-neural-network
cin
apache-stanbol
magento-1.9.3
xv6
vmware-fusion
android-ibeacon
glm-math
pom.xml
xbmc
spring-integration-sftp
page-replacement
stdmap
pdf-conversion
objectscript
flex-monkey
mapinfo
ng-grid
yajsw
fuzzywuzzy
halcon
user-management
jnlua
spring-retry
vhosts
java-money
iokit
jdi
intel-c++
sony-lifelog-api
snoop
ms-access-2000
mmwormhole
ghcjs
easyrtc
device-tree
psr-4
strawberry-perl
maven-scm
decoupling
openargs
ie8-compatibility-mode
away3d
isqlquery
unit-of-work
tlf
android-icons
argouml
sqlclr
correlated-subquery
strsep
appledoc
presentation-layer
jqueryform
hbm2java
filesystemobject
glui
perl5.12
leader

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App