YIM bunchhat Active Member Licensed User Longtime User Feb 3, 2016 #1 Hello, Orange Pi PC can run OS Android but I wonder how to use its GPIO port? Could you tell me?
Erel B4X founder Staff member Licensed User Longtime User Feb 3, 2016 #2 Use the standard Linux OS with B4J and jPi4J library. Upvote 0
YIM bunchhat Active Member Licensed User Longtime User Feb 3, 2016 #3 On android, Does it can run jpi4J library? I meant I wanna use Android on Orange Pi not Linux. Upvote 0
DonManfred Expert Licensed User Longtime User Feb 3, 2016 #4 YIM bunchhat said: Does it can run jpi4J library? Click to expand... No, this is a Library for b4j, not b4a Upvote 0
YIM bunchhat said: Does it can run jpi4J library? Click to expand... No, this is a Library for b4j, not b4a
R Roycefer Well-Known Member Licensed User Longtime User Feb 3, 2016 #5 Looking at this article: http://www.cnx-software.com/2015/09/26/status-of-orange-pi-boards-gpio-support/ it seems the GPIO pins can be accessed with File.WriteString() and (probably) File.ReadString() commands. It should be straight forward to write a B4A class or code module (I suggest the latter) that performs this functionality. Upvote 0
Looking at this article: http://www.cnx-software.com/2015/09/26/status-of-orange-pi-boards-gpio-support/ it seems the GPIO pins can be accessed with File.WriteString() and (probably) File.ReadString() commands. It should be straight forward to write a B4A class or code module (I suggest the latter) that performs this functionality.
A ay droid Member Licensed User Mar 16, 2017 #8 Hey guys , any news about Android @ Banana Pi ? How can we access GPIO under Android (Of course Linux + B4J can do this , but I need to do it with Android OS installed instead). Is there a B4J library/class available ? Upvote 0
Hey guys , any news about Android @ Banana Pi ? How can we access GPIO under Android (Of course Linux + B4J can do this , but I need to do it with Android OS installed instead). Is there a B4J library/class available ?
Erel B4X founder Staff member Licensed User Longtime User Mar 16, 2017 #9 ay droid said: Is there a B4J library/class available ? Click to expand... I think that you meant B4A library. The Things library provides access to GPIO on Raspberry Pi 3. It will probably won't work with Banana Pi unless it is a RPi 3 clone. Upvote 0
ay droid said: Is there a B4J library/class available ? Click to expand... I think that you meant B4A library. The Things library provides access to GPIO on Raspberry Pi 3. It will probably won't work with Banana Pi unless it is a RPi 3 clone.