Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

How to control gpio from Android application

41

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
41

How to control gpio from Android application

Posted at 1/4/2018 05:47:21      View:2943 | Replies:4        Print      Only Author   [Copy Link] 1#
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

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 1/4/2018 20:07:55        Only Author  2#
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        Only Author  3#
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

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 1/5/2018 10:18:50        Only Author  4#
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        Only Author  5#
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