Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Android + AWS Amplify로 AWS 입문하기
Search
Haeun
July 01, 2020
Technology
0
960
Android + AWS Amplify로 AWS 입문하기
Android + AWS Amplify 입문 블로그 시리즈를 재구성
Haeun
July 01, 2020
Tweet
Share
More Decks by Haeun
See All by Haeun
Github Actions를 활용하여 AWS Amplify Console에 앱 배포해보기
junghaeun
0
1.4k
Other Decks in Technology
See All in Technology
CAMERA-Suite: 広告文生成のための評価スイート / ai-camera-suite
cyberagentdevelopers
PRO
3
270
Emacs x Nostr
hakkadaikon
1
150
신뢰할 수 있는 AI 검색 엔진을 만들기 위한 Liner의 여정
huffon
0
330
プロダクトエンジニアが活躍する環境を作りたくて 事業責任者になった話 ~プロダクトエンジニアの行き着く先~
gimupop
1
480
[JAWS-UG金沢支部×コンテナ支部合同企画]コンテナとは何か
furuton
3
240
なんで、私がAWS Heroに!? 〜社外の広い世界に一歩踏み出そう〜
minorun365
PRO
6
1.1k
コンテンツを支える 若手ゲームクリエイターの アートディレクションの事例紹介 / cagamefi-game
cyberagentdevelopers
PRO
1
130
いまならこう作りたい AWSコンテナ[本格]入門ハンズオン 〜2024年版 ハンズオンの構想〜
horsewin
9
2.1k
omakaseしないための.rubocop.yml のつくりかた / How to Build Your .rubocop.yml to Avoid Omakase #kaigionrails
linkers_tech
3
730
visionOSでの空間表現実装とImmersive Video表示について / ai-immersive-visionos
cyberagentdevelopers
PRO
1
110
オニオンアーキテクチャで実現した 本質課題を解決する インフラ移行の実例
hryushm
14
3k
VPC間の接続方法を整理してみた #自治体クラウド勉強会
non97
1
830
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
51
4.9k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
290
Designing Dashboards & Data Visualisations in Web Apps
destraynor
228
52k
Bash Introduction
62gerente
608
210k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
27
1.9k
Fontdeck: Realign not Redesign
paulrobertlloyd
81
5.2k
A designer walks into a library…
pauljervisheath
202
24k
Statistics for Hackers
jakevdp
796
220k
GraphQLの誤解/rethinking-graphql
sonatard
66
9.9k
How to Think Like a Performance Engineer
csswizardry
19
1.1k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
Learning to Love Humans: Emotional Interface Design
aarron
272
40k
Transcript
Android + AWS Amplify۽ AWS ੑޙೞӝ ೞ
ߊ ࣗѐ • Classmethod, Inc. (ېझݫࣗ٘ धഥࢎ) नੑ ূפয •
दীח Java ਤ ۽ં ೯ ࠶۽Ӓ QR
ݾର • Amplifyܳ ࢎਊೞѱ ػ ҅ӝ • Auth ୶оೞӝ •
API ୶оೞӝ • ࣗх
ইदח ٜ࠙ ইप Ӓ ࠶۽Ӓٜਸ ҳࢿ ೠ ղਊੑפ.
Amplifyܳ ॄࠁ۰Ҋ ೠ ਬо ޥؘ??
ځয়ܰח դ җѢٜ…
Android ѐߊী ॶ ࣻ Ҋ ೞפ উ ೞҊ ߬ӡ ࣻ
হ!
Auth API AWS Amplifyח ৈ۞ ࢲ ࠺झٜҗ ాغয
Ӓ ী ਫ਼Ӭ!
ߣ ߊীࢲח ۄ࠳۞ܻо ইצ SDKܳ ࢎਊೞҊ णפ!
ѐߊ ജ҃ • Windows10 • Node.js ߡ 10.x ࢚ •
Android Studio 3.6 ࢚ • Android SDK ߡ 16 (Android 4.1) • AWS Management Console য • Android, Amplify ۽ં৬ Virtual Deviceܳ ܻ ࢤࢿ ೧ل Ѫ
Amazon Cognito – Auth ୶о
‘amplify add auth’ ܳ ੑ۱ೞৈ Userpool ࢤࢿ ‘amplify push’ ܳ
ੑ۱ೞৈ ۄ٘ী ߈
• AndroidManifest.xml ী ੋఠ֔, ֎ਕ ࣘਸ ೲоೞח ٘ ୶о •
build.gradle (:app) ী aws mobile client, auth, cognitoauth SDK ܳ ୶о • Auth UI ܳ ࢎਊೞӝ ਤೠ ࢜۽ Activity ࢤࢿ Android ۽ં ࣻ
None
Cognito ࣛ উীب ࢎਊо ୶о ػ Ѫਸ ഛੋೡ ࣻ যਃ!
AWS AppSync – API ୶о
mobile AWS Amplify AWS AppSync Amazon DynamoDB GraphQL
‘amplify add api’ ܳ ੑ۱ೞৈ ୶оೡ API ࢸ
ఫझ ੑ۱ (EditText) ߡౡ (Button) ɾ־ܰݶ ੑ۱ೠ ఫझܳ DynamoDB۽ ࣠
ɾؘఠܳ ࠛ۞১ ܻझ (ListView) ɾSub Item ߣী ࢎਊೞ ঋ activity_main.xml ࣻ
झః݃ ࣻ [۽ં] – [amplify] – [backend] – [api] –
[APIݺ] – schema.graphql MainActivity ਃࣗী ݏ झః݃ ࣻ
‘amplify push’۽ झః݃ ߈ / ܻࣗझ ࢸ
Android ۽ં ࣻ • build.gradle (Project) build:gradle ߡਸ 3.2.0۽ ࣻ,
appsync build pluginਸ ୶о • build.gradle (:app)ী appsync client SDK৬ ۞Ӓੋ ୶о • AppSyncܳ ࢎਊೞӝ ਤೠ AppSync Client ېझܳ ߹ب۽ ࢤࢿ • MainActivityী ఫझܳ ୶оೞݶ DynamoDBী , ؘఠܳ ੍যٜח ٘ܳ ࢿ
None
DynamoDB ࣛীࢲب ؘఠо ٜযр Ѫਸ ഛੋೡ ࣻ णפ!
ࣗх
• ࣚ ݆ оח সٜਸ AWS ஏীࢲ زਵ۽ ೧ӝ ٸޙী
ѐߊ ী ೡ ࣻ . • ୭न ߡ build.gradleীࢲ ഐജغ ঋח ࠗ࠙ য ইए . • ৈ۞ ࢲ࠺झٜҗ ాغয ӝ ٸޙী ܲ ࢲ࠺झٜب द೧ࠁҊ र.
хࢎפ!