Potential use for Euler Bus/PI-2-bus
#7
(10-07-2016, 05:16 PM)tllim Wrote:
(10-06-2016, 07:56 AM)MarkHaysHarris777 Wrote:
(10-05-2016, 06:28 PM)pfeerick Wrote: There is currently no support on Android for controlling the GPIO pins. I believe it has been discussed as a desired feature, and will probably eventuate, but I haven't seen anything yet indicating it is being worked on. Hopefully it will eventuate, as it would be another market the pine64 could capture, as I'm not aware of any other boards (other than the RIoTboard - and that was only limited) running Android have done this either.

Acutually , ayufan's (7) build does GPIO in sysfs just as well as the gnu+linux distros. A little known fact , actually Android has 'always' been able to do GPIO and all that needed to happen was set an option for the kernel compile; that's it !

I asked ayufan to set the option with compile|test a couple of weeks ago , and voila success !

So, in ayufan's build of Android 7 we have /sys/class/gpio/+   which works just as it does in gnu+linux. You can access the GPIO in Java and C also, if you are a conversant Droid developer. If you have the rooted version ( I think they all are ) you can use a terminal emulation program like "Better Terminal Pro" to set the various pins on|off with the normal sysfs commands.

Good job, Marcus. Lets put this new feature into good use :-)
Just now found this thread.  Makes me think of going Android instead of Ubuntu/openHAB for my automation scripts.  I like this a LOT, but can multiple client Android or Linux devices connect, similar to or with VNC, to a central controlling Pine64 running Android and also acting as a [pseudo?] VNC server?  Can the current state of Android on Pine64 support serving multiple VNC sessions to VNC clients without the clients controlling each others' environments?

(I currently have a Droid X2 connecting with VNC to my Pine64 central controller, and as a result, the user interface aspect that Linux's DEs limit me to is very crude and awkward to use on the Droid X2).


Messages In This Thread
RE: Potential use for Euler Bus/PI-2-bus - by kenneth558 - 03-11-2017, 08:13 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)