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
Vueで Webコンポーネントを作って Reactで使う / 20241030-cloudsign-vuefes_after_night
bengo4com
4
2.5k
Java x Spring Boot Warm up
kazu_kichi_67
2
490
新卒1年目が向き合う生成AI事業の開発を加速させる技術選定 / ai-web-launcher
cyberagentdevelopers
PRO
7
1.5k
オニオンアーキテクチャで実現した 本質課題を解決する インフラ移行の実例
hryushm
14
3k
日経電子版におけるリアルタイムレコメンドシステム開発の事例紹介/nikkei-realtime-recommender-system
yng87
1
500
10分でわかるfreeeのQA
freee
1
3.4k
顧客が本当に必要だったもの - パフォーマンス改善編 / Make what is needed
soudai
24
6.8k
Nix入門パラダイム編
asa1984
2
200
ユーザーの購買行動モデリングとその分析 / dsc-purchase-analysis
cyberagentdevelopers
PRO
2
100
CAMERA-Suite: 広告文生成のための評価スイート / ai-camera-suite
cyberagentdevelopers
PRO
3
270
ガバメントクラウド先行事業中間報告を読み解く
sugiim
1
1.3k
omakaseしないための.rubocop.yml のつくりかた / How to Build Your .rubocop.yml to Avoid Omakase #kaigionrails
linkers_tech
3
730
Featured
See All Featured
Code Reviewing Like a Champion
maltzj
519
39k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
Mobile First: as difficult as doing things right
swwweet
222
8.9k
Fireside Chat
paigeccino
32
3k
Teambox: Starting and Learning
jrom
132
8.7k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
Adopting Sorbet at Scale
ufuk
73
9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
41
2.1k
4 Signs Your Business is Dying
shpigford
180
21k
Become a Pro
speakerdeck
PRO
24
5k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
664
120k
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ীࢲ ഐജغ ঋח ࠗ࠙ য ইए . • ৈ۞ ࢲ࠺झٜҗ ాغয ӝ ٸޙী ܲ ࢲ࠺झٜب द೧ࠁҊ र.
хࢎפ!