Power & Source of Big Ideas

How to Use Gpio Pins On Android

Moderators: chensy, FATechsupport

Hey everbody!

First off all, yes Im a little noob :) . Before I buy my Nanopi M2 I want to know if I can use the GPIO pins on Android 5.0.1 ( I want use a 3 axis gyro for Google Cardboard type apps, exspecally Vridge) if anyone can help me with this please do it :D .
Is easy from Android but you need to use a JNI to run the native C++ code.

If you want to avoid using the FriendlyArm version and the need to sign with the platform-tools signature files, this code I created works well under Android 5 and above and also includes I2C

https://github.com/davemclaughlin/GPIOdriver

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 2865 on Sun Nov 10, 2019 5:27 am

Users browsing this forum: No registered users and 1 guest