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
970
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
OCI 運用監視サービス 概要
oracle4engineer
PRO
0
4.8k
アジャイルでの品質の進化 Agile in Motion vol.1/20241118 Hiroyuki Sato
shift_evolve
0
180
プロダクト活用度で見えた真実 ホリゾンタルSaaSでの顧客解像度の高め方
tadaken3
0
200
New Relicを活用したSREの最初のステップ / NRUG OKINAWA VOL.3
isaoshimizu
3
630
Python(PYNQ)がテーマのAMD主催のFPGAコンテストに参加してきた
iotengineer22
0
520
AGIについてChatGPTに聞いてみた
blueb
0
130
FlutterアプリにおけるSLI/SLOを用いたユーザー体験の可視化と計測基盤構築
ostk0069
0
110
Application Development WG Intro at AppDeveloperCon
salaboy
0
200
Lambda10周年!Lambdaは何をもたらしたか
smt7174
2
110
Lambdaと地方とコミュニティ
miu_crescent
2
370
AI前提のサービス運用ってなんだろう?
ryuichi1208
8
1.4k
The Role of Developer Relations in AI Product Success.
giftojabu1
0
140
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Code Review Best Practice
trishagee
64
17k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
Docker and Python
trallard
40
3.1k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
A Philosophy of Restraint
colly
203
16k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
Designing for Performance
lara
604
68k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
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ীࢲ ഐജغ ঋח ࠗ࠙ য ইए . • ৈ۞ ࢲ࠺झٜҗ ాغয ӝ ٸޙী ܲ ࢲ࠺झٜب द೧ࠁҊ र.
хࢎפ!