SlideShare ist ein Scribd-Unternehmen logo
1 von 28
Downloaden Sie, um offline zu lesen
장인선
Senior Software Engineer @ Google
Agenda
1. Android Things란?
2. Android Things가 지원하는 기술 및 기능
3. Android Things Framework Architecture
4. Android Things Coding Demo
카메라
게이트웨이
냉난방
스마트 미터
판매 정보 관리
재고 관리
인터액티브 광고
자판기
보안 시스템
스마트 잠금
공유기
에너지 감시 장치
자산 추적관리
차량 관리
운전자 어시스턴트
예측 서비스
보안, 스마트, 컴퓨팅 IoT 디바이스
시제품에서 생산까지
Download signed factory image
OTA (Over The Air) Update
이
관리해주는
하드웨어는 어렵다
간단한 인증 및 테스팅
개발자를 위한 Android Things
디스플레이는 옵션
대체 유저 인터페이스
dependencies {
provided 'com.google.android.things:androidthings:...'
}
<application ...>
<uses-library android:name="com.google.android.things"/>
<activity ...>
...
<!-- Launch activity automatically on boot -->
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.IOT_LAUNCHER"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
</application>
예
GPIO
PWM
I2
C
I2
S
SPI
Peripheral 입출력
UART
// Open a peripheral connection
PeripheralManagerService service = new PeripheralManagerService();
Gpio button = service.openGpio(GPIO_PIN_NAME);
// Configure the peripheral
button.setDirection(Gpio.DIRECTION_IN);
button.setEdgeTriggerType(Gpio.EDGE_FALLING);
// Attach callback for input events
button.registerGpioCallback(new GpioCallback() {
@Override
public boolean onGpioEdge(Gpio gpio) {
Log.i(TAG, "GPIO changed");
// Return true to continue listening to events
return true;
}
});
예 입출력
GPIO
PWM
I2
C
I2
S
SPI
Audio
Input
Sensors
유저 드라이버
GPS
UART
Peripheral 입출력
private GpioCallback callback = new GpioCallback() {
@Override
public boolean onGpioEdge(Gpio gpio) {
int keyAction = gpio.getValue() ?
KeyEvent.ACTION_DOWN : KeyEvent.ACTION_UP;
inputDriver.emit(new KeyEvent[]{
new KeyEvent(keyAction, KeyEvent.KEYCODE_SPACE)});
return true;
}
};
예 버튼
InputDriver driver = new InputDriver.Builder(InputDevice.SOURCE_CLASS_BUTTON)
.setName(DRIVER_NAME)
.setVersion(DRIVER_VERSION)
.setKeys(new int[]{KeyEvent.KEYCODE_SPACE})
.build();
UserDriverManager.getManager().registerInputDriver(driver);
GPIO
PWM
I2
C
I2
S
SPI
Audio
Input
Sensors
Peripheral
Driver
Library
GPS
UART
유저 드라이버
Peripheral 입출력
dependencies {
compile 'com.google.android.things.contrib:driver-button:...'
}
ButtonInputDriver inputDriver = new ButtonInputDriver(
GPIO_PIN_NAME,
Button.LogicState.PRESSED_WHEN_LOW,
KeyEvent.KEYCODE_SPACE);
inputDriver.register();
예
안드로이드의
기능
자동 안전
Google의 IoT 개발자 커뮤니티
https://g.co/iotdev
Android Things SDK
https://developer.android.com/things
Hackster.io 커뮤니티
https://hackster.io/google
장인선
insunj@google.com

Weitere ähnliche Inhalte

Ähnlich wie Android things Dev fest seoul 2017

[Td 2015]알아두면 핵 이득! vc++로 안드로이드 개발하기(김성엽)
[Td 2015]알아두면 핵 이득! vc++로 안드로이드 개발하기(김성엽)[Td 2015]알아두면 핵 이득! vc++로 안드로이드 개발하기(김성엽)
[Td 2015]알아두면 핵 이득! vc++로 안드로이드 개발하기(김성엽)
Sang Don Kim
 
[Td 2015]windows 10 엔터프라이즈 시나리오 part II 보안 및 관리(권순만)
[Td 2015]windows 10 엔터프라이즈 시나리오 part II   보안 및 관리(권순만)[Td 2015]windows 10 엔터프라이즈 시나리오 part II   보안 및 관리(권순만)
[Td 2015]windows 10 엔터프라이즈 시나리오 part II 보안 및 관리(권순만)
Sang Don Kim
 

Ähnlich wie Android things Dev fest seoul 2017 (20)

사물인터넷서비스와 클라우드
사물인터넷서비스와 클라우드사물인터넷서비스와 클라우드
사물인터넷서비스와 클라우드
 
RFID Asset Manage System
RFID Asset Manage SystemRFID Asset Manage System
RFID Asset Manage System
 
증강현실 인터랙션 기술동향 (김동철 선임)
증강현실 인터랙션 기술동향 (김동철 선임)증강현실 인터랙션 기술동향 (김동철 선임)
증강현실 인터랙션 기술동향 (김동철 선임)
 
증강현실 인터랙션 기술동향
증강현실 인터랙션 기술동향증강현실 인터랙션 기술동향
증강현실 인터랙션 기술동향
 
Rfid asset managesystem
Rfid asset managesystemRfid asset managesystem
Rfid asset managesystem
 
Intel 2014 Business Review & IoT Tech Leadership
Intel 2014 Business Review & IoT Tech LeadershipIntel 2014 Business Review & IoT Tech Leadership
Intel 2014 Business Review & IoT Tech Leadership
 
IBM 보안솔루션_보안관제탑, 큐레이더!
IBM 보안솔루션_보안관제탑, 큐레이더! IBM 보안솔루션_보안관제탑, 큐레이더!
IBM 보안솔루션_보안관제탑, 큐레이더!
 
20150724 제10회 부산 모바일 포럼 - 모바일 및 IoT 환경을 위한 AWS 클라우드 플랫폼의 진화
20150724 제10회 부산 모바일 포럼 - 모바일 및 IoT 환경을 위한 AWS 클라우드 플랫폼의 진화20150724 제10회 부산 모바일 포럼 - 모바일 및 IoT 환경을 위한 AWS 클라우드 플랫폼의 진화
20150724 제10회 부산 모바일 포럼 - 모바일 및 IoT 환경을 위한 AWS 클라우드 플랫폼의 진화
 
[Td 2015]알아두면 핵 이득! vc++로 안드로이드 개발하기(김성엽)
[Td 2015]알아두면 핵 이득! vc++로 안드로이드 개발하기(김성엽)[Td 2015]알아두면 핵 이득! vc++로 안드로이드 개발하기(김성엽)
[Td 2015]알아두면 핵 이득! vc++로 안드로이드 개발하기(김성엽)
 
20150811 데브기어 사물인터넷 실제 구현하기 DeepDive!
20150811 데브기어 사물인터넷 실제 구현하기 DeepDive!20150811 데브기어 사물인터넷 실제 구현하기 DeepDive!
20150811 데브기어 사물인터넷 실제 구현하기 DeepDive!
 
사물인터넷 실제 구현하기 DeepDive
사물인터넷 실제 구현하기 DeepDive사물인터넷 실제 구현하기 DeepDive
사물인터넷 실제 구현하기 DeepDive
 
2015 Android Game Revenue Saver
2015 Android Game Revenue Saver2015 Android Game Revenue Saver
2015 Android Game Revenue Saver
 
8월 24일 인공지능 사업화 세미나: IoT 스마트팩토리 솔루션 - 스태프프로젝트
8월 24일 인공지능 사업화 세미나: IoT 스마트팩토리 솔루션 - 스태프프로젝트8월 24일 인공지능 사업화 세미나: IoT 스마트팩토리 솔루션 - 스태프프로젝트
8월 24일 인공지능 사업화 세미나: IoT 스마트팩토리 솔루션 - 스태프프로젝트
 
Mobile security & security testing - Speaker at CSS Serminar
Mobile security & security testing - Speaker at CSS SerminarMobile security & security testing - Speaker at CSS Serminar
Mobile security & security testing - Speaker at CSS Serminar
 
GA_GTM for Android_JuL
GA_GTM for Android_JuLGA_GTM for Android_JuL
GA_GTM for Android_JuL
 
20150303 RAD스튜디오로 사물인터넷(IoT) 구현하기
20150303 RAD스튜디오로 사물인터넷(IoT) 구현하기20150303 RAD스튜디오로 사물인터넷(IoT) 구현하기
20150303 RAD스튜디오로 사물인터넷(IoT) 구현하기
 
[특강] 현업 개발자에게 듣는 모바일 개발자의 삶과 매력 / 노현석(카카오뱅크)
[특강] 현업 개발자에게 듣는 모바일 개발자의 삶과 매력 / 노현석(카카오뱅크)[특강] 현업 개발자에게 듣는 모바일 개발자의 삶과 매력 / 노현석(카카오뱅크)
[특강] 현업 개발자에게 듣는 모바일 개발자의 삶과 매력 / 노현석(카카오뱅크)
 
[Td 2015]windows 10 엔터프라이즈 시나리오 part II 보안 및 관리(권순만)
[Td 2015]windows 10 엔터프라이즈 시나리오 part II   보안 및 관리(권순만)[Td 2015]windows 10 엔터프라이즈 시나리오 part II   보안 및 관리(권순만)
[Td 2015]windows 10 엔터프라이즈 시나리오 part II 보안 및 관리(권순만)
 
RAD스튜디오를 활용한 장비 연동 시스템 구축방안
RAD스튜디오를 활용한 장비 연동 시스템 구축방안 RAD스튜디오를 활용한 장비 연동 시스템 구축방안
RAD스튜디오를 활용한 장비 연동 시스템 구축방안
 
포티파이 안전한 애플리케이션 구축 및 운영방안
포티파이 안전한 애플리케이션 구축 및 운영방안포티파이 안전한 애플리케이션 구축 및 운영방안
포티파이 안전한 애플리케이션 구축 및 운영방안
 

Mehr von amyjangcom

Conceptual design for SocialCalm
Conceptual design for SocialCalmConceptual design for SocialCalm
Conceptual design for SocialCalm
amyjangcom
 
Text2calm project Presentation
Text2calm project PresentationText2calm project Presentation
Text2calm project Presentation
amyjangcom
 
The Dream Wall Project
The Dream Wall ProjectThe Dream Wall Project
The Dream Wall Project
amyjangcom
 
State of the Analysis for Stress on Eating Alone
State of the Analysis for Stress on Eating AloneState of the Analysis for Stress on Eating Alone
State of the Analysis for Stress on Eating Alone
amyjangcom
 
State of the Art Analysis on Eating Alone
State of the Art Analysis on Eating AloneState of the Art Analysis on Eating Alone
State of the Art Analysis on Eating Alone
amyjangcom
 
State of the Art Analysis on Eating Alone
State of the Art Analysis on Eating AloneState of the Art Analysis on Eating Alone
State of the Art Analysis on Eating Alone
amyjangcom
 

Mehr von amyjangcom (7)

Conceptual design for SocialCalm
Conceptual design for SocialCalmConceptual design for SocialCalm
Conceptual design for SocialCalm
 
Text2calm project Presentation
Text2calm project PresentationText2calm project Presentation
Text2calm project Presentation
 
The Dream Wall Project
The Dream Wall ProjectThe Dream Wall Project
The Dream Wall Project
 
State of the Analysis for Stress on Eating Alone
State of the Analysis for Stress on Eating AloneState of the Analysis for Stress on Eating Alone
State of the Analysis for Stress on Eating Alone
 
State of the Art Analysis on Eating Alone
State of the Art Analysis on Eating AloneState of the Art Analysis on Eating Alone
State of the Art Analysis on Eating Alone
 
State of the Art Analysis on Eating Alone
State of the Art Analysis on Eating AloneState of the Art Analysis on Eating Alone
State of the Art Analysis on Eating Alone
 
Persona 377t
Persona 377tPersona 377t
Persona 377t
 

Android things Dev fest seoul 2017