Power & Source of Big Ideas

Thanks Chensy. The problem is solved. The GPIOexport funtion is also working properly. SPI is working fine as well.
I'm trying to use the HardwareController and libfriendlyarm-hardware.so to get access to GPIO. But it comes with this error: "D/FriendlyARM-HW-Lib: Unable to open file /sys/devices/virtual/gpio/gpio62/direction" I guess the problem is with the library file which is trying to look into wron...