Difference between revisions of "Android Thing: Android Hardware Programming"
From FriendlyELEC WiKi
(→Applicable Boards & OS) |
(→Introduction) |
||
Line 3: | Line 3: | ||
==Introduction== | ==Introduction== | ||
− | + | FriendlyElec developed a library called “libfriendlyarm-hardware.so”, for android developer to access the hardware resources on the development board in their android apps, the library is based on Android NDK.<br /> | |
==Accessible Interfaces & Ports== | ==Accessible Interfaces & Ports== |
Revision as of 05:38, 13 March 2017
Contents
1 Introduction
FriendlyElec developed a library called “libfriendlyarm-hardware.so”, for android developer to access the hardware resources on the development board in their android apps, the library is based on Android NDK.
2 Accessible Interfaces & Ports
- Serial Port
- PWM
- EEPROM
- ADC
- LED
- LCD 1602 (I2C)
- OLED (SPI)
I2C, SPI, GPIO are accessible.
3 Available OS & Boards
- Android 2.3: Mini6410, Tiny6410
- Android 4.2: Mini210S, Smart210 with SDK, Tiny210 with SDK, Tiny4412 with SDK
- Android 4.4: NanoPi M2, NanoPi S2, NanoPC-T2, Smart4418 with SDK
- Android 5: NanoPi M3, NanoPi-T3, Tiny4412 with SDK
4 Resources
- Code Samples: https://github.com/friendlyarm/AndroidHardwareAccess
- Guide to API in Chinese: https://github.com/friendlyarm/AndroidHardwareAccess/blob/master/友善电子Android硬件开发指南.pdf
5 Update Log
5.1 March-2-2017
- Released English version