neurosky-android-sdk
neurosky-android-sdk copied to clipboard
Issue with the stop() method
After calling stop()
method manually, it's not possible to call start()
again. In the sample apps, user should not be able to call stop manually. It should be invoked only right before disconnect()
method.
Note: it could be a good idea to provide IllegalStateException
in the library for this case to prevent such situations from happening. Nevertheless, current state of the device will have to be stored in the memory.