Firefly Open Source Community

How to control gpio from Android application

41

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
41
Posted at 1/4/2018 05:47:21     
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.

Reply

Use props Report

344

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
344
Posted at 1/4/2018 20:07:55     
Use the standard gpio export interface .
http://developer.t-firefly.com/f ... 6&highlight=jni
Reply

Use props Report

41

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
41
Posted at 1/5/2018 02:04:15     
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?
Reply

Use props Report

344

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
344
Posted at 1/5/2018 10:18:50     
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
Reply

Use props Report

41

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
41
Posted at 1/6/2018 09:50:10     
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?
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