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
SSMRunbook作成の勘所_20241120
koichiotomo
2
140
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
3.8k
データプロダクトの定義からはじめる、データコントラクト駆動なデータ基盤
chanyou0311
2
310
iOSチームとAndroidチームでブランチ運用が違ったので整理してます
sansantech
PRO
0
130
OCI Network Firewall 概要
oracle4engineer
PRO
0
4.1k
B2B SaaSから見た最近のC#/.NETの進化
sansantech
PRO
0
800
AIチャットボット開発への生成AI活用
ryomrt
0
170
Why App Signing Matters for Your Android Apps - Android Bangkok Conference 2024
akexorcist
0
130
複雑なState管理からの脱却
sansantech
PRO
1
140
開発生産性を上げながらビジネスも30倍成長させてきたチームの姿
kamina_zzz
2
1.7k
なぜ今 AI Agent なのか _近藤憲児
kenjikondobai
4
1.4k
ドメインの本質を掴む / Get the essence of the domain
sinsoku
2
150
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
410
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
Unsuck your backbone
ammeep
668
57k
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
Scaling GitHub
holman
458
140k
How to Ace a Technical Interview
jacobian
276
23k
The Pragmatic Product Professional
lauravandoore
31
6.3k
Site-Speed That Sticks
csswizardry
0
25
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ীࢲ ഐജغ ঋח ࠗ࠙ য ইए . • ৈ۞ ࢲ࠺झٜҗ ాغয ӝ ٸޙী ܲ ࢲ࠺झٜب द೧ࠁҊ र.
хࢎפ!