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
Post a Comment