Difference between revisions of "Android Thing: Android Hardware Programming"
From FriendlyELEC WiKi
m (Tzs moved page Android Thing: Android Hardwafe Programming to Android Thing: Android Hardware Programming) |
|||
Line 15: | Line 15: | ||
I2C, SPI, GPIO are accessible.<br /> | I2C, SPI, GPIO are accessible.<br /> | ||
<br /> | <br /> | ||
− | [[File:Smart4418SDK+OLED.png|frameless| | + | <div><ul> |
− | [[File:NanoPCT3-I2C-LCD1602.jpg|frameless| | + | <li style="display: inline-block;"> [[File:Smart4418SDK+OLED.png|frameless|350px|Smart4418SDK+OLED]]</li> |
+ | <li style="display: inline-block;"> [[File:NanoPCT3-I2C-LCD1602.jpg|frameless|350px|NanoPCT3-I2C-LCD1602]] </li> | ||
+ | </ul></div> | ||
==Available OS & Boards== | ==Available OS & Boards== |
Revision as of 07:24, 18 December 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