Firefly Open Source Community

   Login   |   Register   |

GPIO App on RK3399 - Android Help

7

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
7
Posted at 10/1/2018 18:24:23     
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
Reply

Use props Report

899

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
899
Posted at 10/8/2018 10:35:06     
No, you need to add it by yourself.
But as u said , I think it is necessary to add API of controlling gpio.
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list