วันพฤหัสบดีที่ 15 ธันวาคม พ.ศ. 2559

Android Things with Raspberry Pi Board


Android Things with Raspberry Pi Board

What is Android Things?

On 13 December 2016,
Google launched a version of Android called Android Things.
Android Things (formerly known as Brillo)

Android Things are IoT Platform for Android Developer.Use Development tools and ecosystem the same Android App Development. So you can use Android Studio to develop Android Things.
and without previous knowledge of embedded system design.


Understand the Android Things Platform
Android Things has a few key differences compared to the core Android OS, read the Overview to understand key concepts that you'll need to understand.



Hardware Supported

Intel Edison
NXP Pico
Raspberry Pi 3

Software

Android Things SDK Preview!  https://developer.android.com/things/preview/index.html

Google has released the SDK preview of Android Things.
You can learn more about that (and key Android Things concepts)
Unfortunately,
we’re not entirely sure when the full version will go live just yet.

Getting Started with Android Things


Make your IoT Hardware

Download Flash image Android Things.
For Raspberry Pi image

Then copy image to SD card
use SDCardFormatter tools or other tools ( Raspberry Pi Tools )


Connect the Hardware
How to connect to your Development Board. ( we use raspberry pi 3 board )
We use Ethernet or LAN cable first. ( If you want to use WiFi, it's more complicate than Ethernet )

Raspberry Pi wiring diagram






Set Up Your Development Environment

Download Android Studio ( if you don't have yet )
and if Android Studio is old version then update to new.

( SDK tools version 24 or higher )

Connect your board and verify you can access the device via adb command

use Ethernet or LAN Cable First.

$ adb connect <ip-address>:5555
connected to <ip-address>:5555

Open Android Studio

Open Sample Code Download Example Code

Then Run Code

see on VDO



My Website
email : info@softpowergroup.net   Tel .081-6452400