Translations of this page:
This is an old revision of the document!
We use gpio-contrl code and some library files to compile an executable file named gpio-ctrl. So we can control the GPIO pin by Android app.
At first we should download gpio-app from here http://ubuntuone.com/5VcumJ1O27WZaUamC4lpMV and decompress it.You can see there are two files in the gpio-app
Connect with Cubieboard by USB,then open terminal and input:
$ adb shell $ mount -o remount,rw /system $ exit $ adb push gpio-ctrl /system/bin
Download the app into Cubieboard:
$ adb install CB-GPIO-beta1.apk
After all,we can contrl GPIO by CB-GPIO,to do something interesting.
Note: We just use PD0~PD27 pins.