Firefly Open Source Community

Title: GPIO App on RK3399 - Android Help [Print This Page]

Author: Walshie1987    Time: 10/1/2018 18:24
Title: GPIO App on RK3399 - Android Help
Hi,

I'm looking to test the GPIO pins on the RK3399 with an app on Android. I have the board setup and working great with the latest Android 8.1 installed and I've been researching and found the following thread:

http://dev.t-firefly.com/forum.p ... 6&highlight=jni

I've downloaded the app and changed the SDK version, gradle version and also included missing library to support memset. built the APK and installed in on the board.

The final instruction is to set the file persmission "adb root ->adb shell chmod 777 dev/luobogpio    "

Once I have done this, is there anything else that I need to do in order for the app to work? I noticed that there is a "driver" section on the thread, does this already exist on the board? or do I have to add it?

Any help is appreciated!

Thanks
Author: leungÏÈÉ­    Time: 10/8/2018 10:35
No, you need to add it by yourself.
But as u said , I think it is necessary to add API of controlling gpio.




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1