Firefly Open Source Community

Title: How to control gpio from Android application [Print This Page]

Author: Orion    Time: 1/4/2018 05:47
Title: How to control gpio from Android application
As it says in the title is there a way to control the gpio from android application?
If you could point me to a tutorial or example code that would be great.


Author: leungÏÈÉ­    Time: 1/4/2018 20:07
Use the standard gpio export interface .
http://developer.t-firefly.com/f ... 6&highlight=jni
Author: Orion    Time: 1/5/2018 02:04
Im fairly new to programing with android so i have a few questions:
1. where do i find this code? do they exist in the android source code?
2. if they are not in the android source code, where should i create these files?
3.why name it luobo? or is this just the name of the person who created the program?
Author: leungÏÈÉ­    Time: 1/5/2018 10:18
Orion Posted at 1/5/2018 02:04
Im fairly new to programing with android so i have a few questions:
1. where do i find this code? d ...

1. No ,  it is not exist in the source code . they are made by developer name luobo.
2. u need to kown jni and kernel ioctl interface , and take this sample for debugging.
3. yep
Author: Orion    Time: 1/6/2018 09:50
Thanks! wow it looks like i have alot of homework to do. is there any tutorials or guides on JNI and ioctl for android you could point me to?




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