Example for GPIO Nano PC T2, with Android Studio

John
Hello everyone, I'm having some problems to use the GPIO from my NanoPCT2
component, I would like to know if there is any basic example of how this
works with Android Studio.
I was trying the examples provided in Github but I was having some errors
when integrating the library.
Best Regards

Saddam
Hello, T2 Android4.4 and Android5 system has increased the hardware access
library, you need to download the latest firmware to Wikipedia to go back
to use, specific
reference:http://wiki.friendlyarm.com/wiki/index.php/Android_Hardware_Access

John
Hi, thanks a lot for your answer, I was using that version of the sample
code in the documentation. My problem is that when I change the package
name I get the error "HardwareControler: libfriendlyarm-hardware library
not found!".  I could not find where this error occurs in the refence with
the library.

John
Hi, i solve the problem changing the version of Android, i was using 5.1,
and change it to 4.4

ali
"Hi, i solve the problem changing the version of Android, i was using 5.1,
and change it to 4.4"

hi John,

how can you cahnge it?
can you explain ?

i wrote a program that use gpio. but when i send program to the 4412, it
gives an error like this 

" INSTALL FAILED. SHARED USER INCOMPLETABLE "

so we decided to change it to and. 4.4 but we failed.

many thanks for your help...

John
Hi, you should control if you have the latest version of Android 4.4
released by Friendlyarm. I didn't have to make any changes for the program
to work. Im using the Nano PC T2, i'm not sure if this fix works for all
the models of boards

Reply

Name
eMail (not visible)
Subject (no text only in upper case; no HELP, URGENT...)
Text
HTML tags are not supported and links are generated automatically if they start with http or ftp.
Please submit long source code or log files as attachment (only registered users).
Please enter the number: 6 7 7 6