Custom GPIO under Android

Fábio Lourenço
Hello to all,

I'm kind of a rookie when it comes to Android development, but mostly when
it comes to Android development under custom hardware.

Currently using a variation of Tiny6410 development board I have struggled
to enable a custom device functioning in Android.
This device is a set of 4 LED's like the ones in Tiny6410 Core, but
connected to different GPIO ports.
I named it ledsHMI, and I can find them in /dev on the root directory of
the platform console.
Now I want to use it in Android, having already created an app that uses
JNI.

My doubt is in Android building. Where do I have to put:

- permissions?
- .apk files?
- libs .so files?

Best regards,
Fábio