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
Flutterでヘルスケアデータへアクセスする
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Asakura Shinsuke
September 10, 2021
Programming
290
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Flutterでヘルスケアデータへアクセスする
Asakura Shinsuke
September 10, 2021
More Decks by Asakura Shinsuke
See All by Asakura Shinsuke
Creating an English conversation app using the Foundation Models framework
asashin227
0
4
Ore Keybord #1
asashin227
0
1.1k
Build AI app with AI agent
asashin227
0
16
ReactNative入門
asashin227
0
63
アウトプットしようね
asashin227
0
32
SwiftUIでキラキラを作る
asashin227
0
84
ローカル拠点でのEMの役割
asashin227
0
280
XcodeCloud移行奮闘記
asashin227
0
130
現場主導の開発効率向上の仕組みづくり
asashin227
0
400
Other Decks in Programming
See All in Programming
Agentic UI
manfredsteyer
PRO
0
200
Datadog × OpenTelemetry 入門と実践のあいだ
kn_to_maxpno
1
180
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.7k
AIで効率化できた業務・日常
ochtum
0
150
その問い、本当に正しいですか?AI時代のエンジニアに必要な哲学と認知科学 / ai-philosophy-cognitive-science
minodriven
14
6.4k
エージェンティックRAGにAWSで入門しよう!
har1101
9
1.8k
技術記事、 専門家としてのプログラマ、 言語化
mizchi
13
6.6k
jQueryをバージョンアップする前に使いたいjQuery Migrate
matsuo_atsushi
0
600
Developing with AI Agents — Codex, Claude Code & Cowork Practical Guide
x5gtrn
PRO
0
1.3k
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
0
290
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
4
1.5k
キャリア迷子上等 ─ "ない道"は自分で作ればいい
16bitidol
3
2.3k
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.9k
Statistics for Hackers
jakevdp
799
230k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
250
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
580
Un-Boring Meetings
codingconduct
0
330
Design in an AI World
tapps
1
250
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
The Limits of Empathy - UXLibs8
cassininazir
1
370
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.5k
Transcript
'MVUUFSͰϔϧεέΞσʔλΛѻ͏ NJTPLBUTVNPCJMF!BTBTIJO
w 5XJUUFS!BTBTIJO w J04ΤϯδχΞ w ։ൃ෦JO "TBLVSB4IJOTVLF
'MVUUFS
w (PPHMFͷΫϩεϓϥοτϑΥʔϜϑϨʔϜϫʔΫ w J04"OESPJEʢ8FCɺσεΫτοϓʣ w %BSU w ݄ʹϦϦʔε 'MVUUFSͱʁ
Կ͕ྑ͍ͷ͔ w ϗοτϦϩʔυͰಈ࡞֬ೝ͕Ϋιૣ͍ w %BSU͕շద w ڥߏங͕ʢࢥͬͨΑΓʣ؆୯ w ͜Ε͔ΒσϑΝΫτͱͳΔએݴత6* w
๛ͳϓϥοτϑΥʔϜରԠ
Կ͕ྑ͍ͷ͔ ιʔεͰJ04 "OESPJEରԠʂ
࠷ߴʙʙʂʂɹ
ۀͰ͑Δ͔
ΣΞϥϒϧσόΠεͰऩूͨ͠ϥΠϑϩά σʔλΛͱʹϲ݄ؒͷੜ׆श׳վળࢦಋ ϓϩάϥϜΛఏڙ $PQZSJHIU©13&7&/5*OD"MMSJHIUTSFTFSWFE
ௐ߲ࠪ w )FBMUI,JUͷΞΫηε͕Ͱ͖Δ͔
'MVUUFSͰ ωΠςΟϒ࿈ܞ
ωΠςΟϒΞΫηεํ๏ .FUIPE$IBOOFM &WFOU$IBOOFM .FTTBHF$IBOOFM 1MBUGPSN7JFX
None
None
None
ಋೖ fl VUUFSQVCBEEIFBMUI w 1VCύοέʔδϚωʔδϟͰΠϯετʔϧ
͍ํ w QSPKFDUJ043VOOFSQSPKFDUYDXPSLTQBDF
͍ํ w QSPKFDUJ043VOOFSQSPKFDUYDXPSLTQBDF
͍ํ JNQPSUQBDLBHFIFBMUIIFBMUIEBSU w Πϯϙʔτ List<HealthDataType> types = [ HealthDataType.STEPS, ];
HealthFactory health = HealthFactory(); bool accessWasGranted = await health.requestAuthorization(types); w ΞΫηεڐՄ
͍ํ List<HealthDataType> types = [ HealthDataType.STEPS, ]; try { List<HealthDataPoint>
healthData = await health.getHealthDataFromTypes(startDate, endDate, types); _healthDataList.addAll(healthData); } catch (e) { print("Caught exception in getHealthDataFromTypes: $e"); } _healthDataList = HealthFactory.removeDuplicates(_healthDataList); _healthDataList.forEach((x) { steps += x.value.round(); }); setState(() { _state = _healthDataList.isEmpty ? AppState.NO_DATA : AppState.DATA_READY; }); w σʔλͷऔಘ
·ͱΊ w ࠓ·ͰͷΫϩεϓϥοτϑΥʔϜͱ։ൃऀମݧ͕Ϩϕͪ w ϥΠϒϥϦ͕݁ߏ๛ w %BSUා͘ͳ͍ w ڥߏங͔Βαϯϓϧಈ͔࣮ͯ͠·Ͱ͙࣌ؒΒ͍Ͱ࠷ߴ w
ͬͱਂΊ͍ͨͱࢥͬͨ