Examples#
This section provides an overview of the sample application included with the BrainAccess Kotlin SDK.
ScanAndStream Sample App#
The ScanAndStream sample application is a complete, runnable Android project that demonstrates how to use the BrainAccess Kotlin SDK to:
Scan for nearby BrainAccess devices.
Connect to a selected device.
Start and stop the EEG data stream.
Display the connection status.
This sample app is the best place to start for a practical implementation of the SDK’s core features.
Running the Sample App#
You can run the sample app by following these steps:
Navigate to the
Examples/ScanAndStreamdirectory.Open the project in Android Studio.
Build and run the app on an Android device or emulator.
Location#
The source code for the sample application is located in the Examples/ScanAndStream directory.