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

UDP Datagram packet receive loop delay
pop up message from service provider(telecom network) causing activity to pause
Button clicklistener inside listview
Unable to build Eclipse library projects after ADT update
Facebook post a message on a wall without open a dialog
Android enforce passcode lock?
Android: cannot run app on connected phone, using Ubuntu in VM in Windows 7
Is it possible to start an application in the way I am trying?
How can I animate my button's application?
VerifiyAndSetParameter error when trying to record video
Rebinding a background service process (Android)
Attachment Issue in Intent
DummyLocationProvider issue
Secure element Access Control on ICS 4.0.4
webview goes blank when loading url in android ics
How to maintain single instance of MediaPlayer [Android]

Categories

HOME
localization
twitter-bootstrap-3
prism
c++11
dns
character-encoding
pascal
yahoo-finance
jwplayer
shiro
error-handling
owl-carousel
vscode-extensions
mips
ado.net
banner
recordrtc
mel
startup
project-intu
cmdb
naivebayes
eip
qsqlquery
dreamweaver
xmonad
delphi-xe5
articulate-storyline
ksh
dynamically-generated
moses
custom-post-type
jquery-multiselect
gpio
amazon-quicksight
constexpr
utorrent
deltaspike
fstream
lint
azure-arm
android-softkeyboard
http-request
berkeley-db-je
stylecop
facebook-social-plugins
ovf
launchctl
pdf-conversion
vibrate
atlas
autosar
envi
x-tag
freepbx
beanstalk
halcon
contentcontrol
avisynth
fiware-monitoring
vigenere
rate-limiting
rubaxa-sortable
wso2greg
graphics2d
fits
ghcjs
gii
insight.database
jjaql
mutual-authentication
twitter-bootstrap-rails
high-resolution
artemis
workitem
argouml
qtconcurrent
fusefabric
jsr286
cruisecontrol.rb
blender-2.49
data-mapping
fdf
java1.4

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