unity3d - ScanActivity.class Alternative in Myo Android API -


i'm looking through myo android sdk sample helloworld application. uses following code connect myo armband. method called after user selects "scan" options menu.

private void onscanactionselected() {     // launch scanactivity scan myos connect to.     intent intent = new intent(this, scanactivity.class);     startactivity(intent); } 

the full example can found here.

this requires user choose myo armband through menu. there way bypass , automatically connect specific myo armband?

yes, in addition scan activity, can pair nearby myo armband using following 2 methods:

hub.attachtoadjacentmyo(); 

this allows pair myo near (almost touching) android device.

hub.attachbymacaddress(); 

this allows pair specific myo armband, defined armband's mac address.


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -