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開発Tips集
Search
masaibar
March 22, 2019
Technology
1.4k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
最初から知りたかったAndroid開発Tips集
あるあるLT〜スマホアプリ開発エンジニア〜 Vol.3での発表資料
masaibar
March 22, 2019
More Decks by masaibar
See All by masaibar
アプリのアップデート浸透率を上げろ! 〜in-app updatesを実戦投入して見えてきたもの〜 / in-app updates DroidKaigi 2020
masaibar
1
490
Other Decks in Technology
See All in Technology
TinyGo 開発サイクルを高速化する:Go で作るエミュレータ入門
zozotech
PRO
1
120
GuardDuty 検知対応を DevOps Agent で効率化しようとしている話 / GuardDuty Investigations with DevOps Agent
masahirokawahara
1
330
【視聴者参加型!】AWSセキュリティアンチパターンクイズ
syoshie
0
460
少人数データチームのDevin活用実践事例
runandy16
2
450
Kiro Crewしか勝たん!?
miu_crescent
PRO
0
190
推論の観測、できていますか? 〜 Google Cloud Gemini Enterprise Agent Platformで 3つの Gemini モデルを実測して踏んだ、評価の罠 〜
shukob
PRO
0
180
20260903 Tokyo Jazug Night #62 | Azure エンジニアよ、 その環境は本当にセキュアか?
olivia_0707
1
630
AIとペアプロを始める。人とのペアプロをやめる。ペアプロの良さを改めて知る。もっと好きになった。 / Rediscovering Pair Programming
honyanya
1
290
多摩川(.dev)ランニング入門 / Tamagawa.dev#3
fujiwara3
3
400
Jetpack Compose で挑む新聞紙面UI ─ 複合ジェスチャー・ポリゴン記事領域・適応的ページ構成という3つの壁/droidkaigi2026
nikkei_engineer_recruiting
0
240
DGX Sparkを2台使って いろいろ動かす話
sonoda_mj
1
140
2026-09-11 【Snowflake World Tour Tokyo 2026】Snowflakeを起点に、AI Agentが自律稼働し続ける未来へ / Driving AI Agents with Snowflake
civitaspo
0
190
Featured
See All Featured
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
680
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
450
First, design no harm
axbom
PRO
2
1.3k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
520
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
400
The Invisible Side of Design
smashingmag
301
52k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.1k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.2k
Tell your own story through comics
letsgokoyo
1
1.1k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.7k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Transcript
࠷ॳ͔ΒΓ͔ͨͬͨAndroid։ൃTipsू @masaibar
ࣗݾհ ɾTwitter : @masaibar ɾAndroidΤϯδχΞ(2014/10~) ɾॴଐ: גࣜձࣾάϩʔϏε ɾݸਓ։ൃ
ࠓ͢͜ͱ ɾ։ൃ͢Δ্Ͱͬͱૣ͘Γ͔ͨͬͨ͜ͱ ɾରAndroid։ൃͷॳதڃऀͰ͢
ΞδΣϯμ ɾAndroidStudio ɾσόοάϥΠϒϥϦ ɾӳޠͱͷ͖߹͍ํ ɾ·ͱΊ
Android Studio alt + Enter ͬͯ·͔͢ʁ!
Android Studio alt + Enter ɾ͍͍ײ͡ʹImportͯ͘͠ΕΔͭ
Android Studio alt + Enter ɾ͍͍ײ͡ʹImportͯ͘͠ΕΔͭ ɾܯࠂʹԊͬͨॻ͖͑ ɾlayoutϑΝΠϧΛDataBinding༷ʹ͢Δ
Android Studio alt + Enter ɾ͍͍ײ͡ʹImportͯ͘͠ΕΔͭ ɾܯࠂʹԊͬͨॻ͖͑ ɾlayoutϑΝΠϧΛDataBinding༷ʹ͢Δ
Android Studio / alt + Enter ܯࠂʹԊͬͨॻ͖͑
Android Studio / alt + Enter ܯࠂʹԊͬͨॻ͖͑
Android Studio / alt + Enter ܯࠂʹԊͬͨॻ͖͑
Android Studio / alt + Enter ܯࠂʹԊͬͨॻ͖͑
Android Studio / alt + Enter ܯࠂʹԊͬͨॻ͖͑
Android Studio / alt + Enter alt + Enter ɾ͍͍ײ͡ʹImportͯ͘͠ΕΔͭ
ɾܯࠂʹԊͬͨॻ͖͑ ɾlayoutϑΝΠϧΛDataBinding༷ʹ͢Δ
Android Studio / alt + Enter layoutϑΝΠϧΛDataBinding༷ʹ͢Δ
Android Studio / alt + Enter layoutϑΝΠϧΛDataBinding༷ʹ͢Δ
Android Studio / alt + Enter layoutϑΝΠϧΛDataBinding༷ʹ͢Δ
σόοάϥΠϒϥϦ ɾStetho ɾFlipper ɾHyperion-Android
σόοάϥΠϒϥϦ ɾStetho ɾFlipper ɾHyperion-Android
σόοάϥΠϒϥϦ / Stetho ɾSharedPreferences ɾSQLite ɾNetwork Inspection(ཁՃઃఆ) ɾView Hierarchy http://facebook.github.io/stetho/
σόοάϥΠϒϥϦ / Stetho ɾSharedPreferences ɾSQLite ɾNetwork Inspection(ཁՃઃఆ) ɾView Hierarchy http://facebook.github.io/stetho/
σόοάϥΠϒϥϦ / Stetho ʮAndroid SQLite ֬ೝʯ ʮAndroid SharedPreferences ֬ೝʯ
σόοάϥΠϒϥϦ / Stetho SQLite: dbϑΝΠϧΛadb pullͰҾͬு͖ͬͯͯViewerιϑτͰݟΒΕΔΑ SP: ࣮ଶxmlϑΝΠϧ͔ͩΒadb pullͰҾͬுͬͯ͘ΕݟΒΕΔΑ
σόοάϥΠϒϥϦ / Stetho SQLite: dbϑΝΠϧΛadb pullͰҾͬு͖ͬͯͯViewerιϑτͰݟΒΕΔΑ SP: ࣮ଶxmlϑΝΠϧ͔ͩΒadb pullͰҾͬுͬͯ͘ΕݟΒΕΔΑ ໘
σόοάϥΠϒϥϦ / Stetho SharedPreferences ɾݟΒΕΔ ɾॻ͖͑ΒΕΔ
σόοάϥΠϒϥϦ / Stetho SharedPreferences ɾݟΒΕΔ ɾॻ͖͑ΒΕΔ
σόοάϥΠϒϥϦ / Stetho SQLite ɾݟΒΕΔ ɾ࣮ߦͰ͖Δ
σόοάϥΠϒϥϦ / Stetho SQLite ɾݟΒΕΔ ɾ࣮ߦͰ͖Δ
σόοάϥΠϒϥϦ / Stetho SQLite ɾݟΒΕΔ ɾ࣮ߦͰ͖Δ࣮ߦͰ͖ͨ (※2019/03/16ݱࡏIssueͷ··ʣ https://github.com/facebook/stetho/issues/634
σόοάϥΠϒϥϦ ɾStetho ɾFlipper ɾHyperion-Android
σόοάϥΠϒϥϦ / Flipper ɾFacebookࣾStethoͷޙܧ ɾChromeͰͳ͘ઐ༻ΞϓϦ ɾiOSʹରԠ ɾSQLite·ͩݟΕͳ͍ ਖ਼·༷ͩࢠݟ͔
σόοάϥΠϒϥϦ ɾStetho ɾFlipper ɾHyperion-Android
σόοάϥΠϒϥϦ / Hyperion-Android σόοάϝχϡʔΛΞϓϦʹՃͰ͖ΔϥΠϒϥϦʢԼهൈਮʣ ɾMeasurement InspectorʢViewͷִؒΛՄࢹԽʣ ɾShared PreferencesʢӾཡ/ฤूʣ ɾRecoderʢΞϓϦͷըʣ ɾCrashReportʢΫϥογϡ࣌ʹϩάΛදࣔͯ͘͠ΕΔʣ
takahiromઌੜͷQiita͕ৄ͍͠Ͱ͢ https://qiita.com/takahirom/items/2f6557f945ddd7c5e074
σόοάϥΠϒϥϦ / Hyperion-Android Measurement Inspector ʢViewͷִؒΛՄࢹԽʣ
σόοάϥΠϒϥϦ / Hyperion-Android Shared PreferencesʢӾཡ/ฤूʣ
σόοάϥΠϒϥϦ / Hyperion-Android RecoderʢΞϓϦͷըʣ
σόοάϥΠϒϥϦ / Hyperion-Android CrashReport ʢΫϥογϡ࣌ʹϩάΛදࣔʣ
ӳޠͱͷ͖߹͍ํ ެࣜυΩϡϝϯτͷӳޠ͕ಡΊͳ͍/ಡΈͨ͘ͳ͍ ྫʣWebViewΛௐ͔ͨͬͨ
ӳޠͱͷ͖߹͍ํ ެࣜυΩϡϝϯτͷӳޠ͕ಡΊͳ͍/ಡΈͨ͘ͳ͍ ɾʢ※ͪΖΜಡΊΔͷ͕ϕετʣ
ӳޠͱͷ͖߹͍ํ ެࣜυΩϡϝϯτͷӳޠ͕ಡΊͳ͍/ಡΈͨ͘ͳ͍ ɾʢ※ͪΖΜಡΊΔͷ͕ϕετʣ ɾӈΫϦοΫʂ
ӳޠͱͷ͖߹͍ํ
ӳޠͱͷ͖߹͍ํ ɾGoogleͷެࣜυΩϡϝϯτͷӳޠࣗಈ༁͓͔ͯ͘͠͠ͳΓʹ͍͘ ɾӳޠ൛ʹ͔͠هࡌ͕ͳ͍࠷৽ใ͕كʹΑ͋͘Δ ɾQiitaʹ͋Δຊޠͷهࣄ͕ਖ਼͍͠ͱࢥΘͳ͍ʢݸਓͷײͰ͢ʣ ӳޠ͔ͩΒͱ͍͙ͬͯ͢ʹಀ͛ͳ͍ʢࣗռʣ
·ͱΊ ɾAndroidStudioͰࠔͬͨͱ͖ͱΓ͋͑ͣ alt + Enter ɾσόοάϥΠϒϥϦΛۦͯ͠։ൃͷޮԽΛ ɾӳޠͱ͏·͖͘߹͍ͬͯ͘ ଞʹྑ͍TipsΛͬͯͨΒͥͻڭ͍͑ͯͩ͘͞ʂ
EOF ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠