openyou / emokit

Open source driver for accessing raw data from the Emotiv EPOC EEG headset
http://www.openyou.org
Other
524 stars 236 forks source link

build emokit for android #110

Closed ghost closed 10 years ago

ghost commented 10 years ago

Dear, I want to build emokit c code for android platform so what do I need exactly ... as far as I know, I have to use NDK to build for android but what about the dependencies and other libraries used in emokit ...

olorin commented 10 years ago

No idea, as far as I know no-one's ever tried an Android build and there's no reason to expect it would be supported - particularly tricky is the hidapi bit, I would expect that to be significantly non-portable. Please let me know if you do get it working though, I'll document the process here. How are you intending to connect the EPOC to an Android device? That might suggest what to do with hidapi.

ghost commented 10 years ago

Thank you for reply I used core codes of a project called Smartphone Brain Scanner 2 to connect EPOC on android and it has a compiled encryption lib ....this project uses hidapi to connect to EPOC and it needs the kernel to support this (they already provide the steps to do this) ... but it is Qt project and the compiled lib only run on older versions of Qt so I am trying to connect with emokit

olorin commented 10 years ago

Ah, that sounds reasonable - it might be possible then, but it'd still be a decent amount of work. Good luck, let me know how you go.

ghost commented 10 years ago

My plan is to see how to modify make files to build the code for android using the NDK