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
980
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
NW-JAWS #14 re:Invent 2024(予選落ち含)で 発表された推しアップデートについて
nagisa53
0
270
Turing × atmaCup #18 - 1st Place Solution
hakubishin3
0
490
LINEスキマニにおけるフロントエンド開発
lycorptech_jp
PRO
0
330
WACATE2024冬セッション資料(ユーザビリティ)
scarletplover
0
210
サーバーなしでWordPress運用、できますよ。
sogaoh
PRO
0
110
私なりのAIのご紹介 [2024年版]
qt_luigi
1
120
Fanstaの1年を大解剖! 一人SREはどこまでできるのか!?
syossan27
2
170
日本版とグローバル版のモバイルアプリ統合の開発の裏側と今後の展望
miichan
1
130
watsonx.ai Dojo #5 ファインチューニングとInstructLAB
oniak3ibm
PRO
0
170
社内イベント管理システムを1週間でAKSからACAに移行した話し
shingo_kawahara
0
190
フロントエンド設計にモブ設計を導入してみた / 20241212_cloudsign_TechFrontMeetup
bengo4com
0
1.9k
1等無人航空機操縦士一発試験 合格までの道のり ドローンミートアップ@大阪 2024/12/18
excdinc
0
170
Featured
See All Featured
Visualization
eitanlees
146
15k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5k
Adopting Sorbet at Scale
ufuk
73
9.1k
Mobile First: as difficult as doing things right
swwweet
222
9k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
17
2.3k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
Side Projects
sachag
452
42k
GitHub's CSS Performance
jonrohan
1030
460k
The Pragmatic Product Professional
lauravandoore
32
6.3k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
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ীࢲ ഐജغ ঋח ࠗ࠙ য ইए . • ৈ۞ ࢲ࠺झٜҗ ాغয ӝ ٸޙী ܲ ࢲ࠺झٜب द೧ࠁҊ र.
хࢎפ!