there's patents for this back from the 70s, used two electrodes on the back of the head. Xerox also had prototypes at one i believe (could be wrong which big corporate lab had it).
Funny getting no internet error when accessing https://developer.android.com/