Translations of this page:
We use gpio-contrl code and some library files to compile an executable file named gpio-ctrl so that we can control the GPIO pin by Android app.
First we need to download the gpio-app from here http://ubuntuone.com/5VcumJ1O27WZaUamC4lpMV and decompress it. There are two files in the gpio-app directory.
Connect the Cubieboard by USB and then open a terminal and type:
$ 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
Now we can control the GPIO by CB-GPIO, to do something interesting.
Note: We just use PD0~PD27 pins.