Slide 1

Slide 1 text

AndroidΞϓϦ։ൃͷ ମྗͮ͘Γ DroidKaigi 2017 Day1

Slide 2

Slide 2 text

About Me Shinobu Okano @operandoOS Mercari, Inc. Souzoh, Inc.

Slide 3

Slide 3 text

࣭໰౳͋Ε͹ https://github.com/ operando/DroidKaigi ʹissueͱ্͔͍͛ͯͩ͘͞ʂ

Slide 4

Slide 4 text

Androidָ͍͠Ͱ͔͢ʔʁ

Slide 5

Slide 5 text

Android։ൃ೉ͦ͠͏

Slide 6

Slide 6 text

ͦΜͳ͜ͱͳ͍Α

Slide 7

Slide 7 text

Android։ൃָ͍ͧ͠

Slide 8

Slide 8 text

΍ͬͯΈ͚ͨͲ
 Կ͔Β࢝ΊͨΒ͍͍ͷ͔Θ͔Βͳ͍

Slide 9

Slide 9 text

Θ͔Δ

Slide 10

Slide 10 text

ΞϓϦΛ࡞Δաఔ • ࡞Γ͍ͨΞϓϦΛߟ͑Δͧʂ • ؀ڥߏங͢Δͧʂ • ࣮૷͢Δͧʂ • ެ։͢Δͧʂ

Slide 11

Slide 11 text

࡞Γ͍ͨΞϓϦΛߟ͑Δͧʂ

Slide 12

Slide 12 text

ͲΜͳ΋ͷ࡞ͬͨΒ͍͍ΜͩΖ

Slide 13

Slide 13 text

Μʔ...

Slide 14

Slide 14 text

ΜɺΜΜʔ...

Slide 15

Slide 15 text

ΜΜΜɺΜΜʔ...

Slide 16

Slide 16 text

๻͸͍·͍ͪ
 ࢥ͍ු͔͹ͳ͔ͬͨ

Slide 17

Slide 17 text

ͱ͋Δۚ൅ᐌ͘... • ࡞Γ͍ͨΞϓϦ͕ͳ͔ͬͨ • ΞϓϦͷσβΠϯʹ೰ΜͰ࣮૷͕ਐ·ͳ͍

Slide 18

Slide 18 text

ݸਓͰΞϓϦΛެ։͢Δͷʹ Կ೥͔͔͔ͬͨ

Slide 19

Slide 19 text

4

Slide 20

Slide 20 text

೔ʁϲ݄ʁ

Slide 21

Slide 21 text

4೥Ͱ͢…

Slide 22

Slide 22 text

δϨϯϚ • ͋Δఔ౓Ͱ͖ΔΑ͏ʹͳΔͱ࣮૷ΑΓ΋ͦͷ
 લஈ֊͕େม • ޾ͤͳ೰Έͩͳʔͱ࣮ײ͢Δ
 (ٕज़ྗΛ࣋ͯ༨ͯ͠Δ) • ࣮૷͸Ͱ͖ΔΜ͚ͩͲͶʔΈ͍ͨͳԿ΋Ͱ͖ ͳ͍ਓԽ͢Δ

Slide 23

Slide 23 text

δϨϯϚղফ͢Δͧʂ ࡶͳΞϓϦͰ͍͍ʂ

Slide 24

Slide 24 text

δϨϯϚղফ͢Δͧʂ খ࢝͘͞ΊΔ

Slide 25

Slide 25 text

δϨϯϚղফ͢Δͧʂ ໘ന͍ͦ͏ͳ΋ͷΛ࡞Δ

Slide 26

Slide 26 text

δϨϯϚղফ͢Δͧʂ ࡶͳ΋ͷͰ΋
 ެ։͢Ε͹ֶͼ͕͋Δ

Slide 27

Slide 27 text

Neko Atsume Launcher 4೥͔͚ͯެ։ͨࣗ͠ຫͷΞϓϦ https://play.google.com/store/apps/details? id=com.os.operando.neko.launcher

Slide 28

Slide 28 text

https://www.youtube.com/watch?v=4F2rEdtx18A

Slide 29

Slide 29 text

Developerొ࿥͓ͯ͜͠͏ʂ https://support.google.com/googleplay/ android-developer/answer/6112435?hl=ja

Slide 30

Slide 30 text

؀ڥߏங͢Δͧʂ

Slide 31

Slide 31 text

Android Studio

Slide 32

Slide 32 text

Android StudioͷϋϚΓͲ͜Ζ • Զ͕ڭ͑Δ࠷ڧͷKeyboard Shortcuts✨ • Զ͕͓͢͢Ί͢Δ࠷ڧͷPlugin✨

Slide 33

Slide 33 text

͍΍·͡͝ΊΜ

Slide 34

Slide 34 text

Ͳ͏Ͱ΋͍͍Θʔ ※͸͡Ί͸Ͷʂ

Slide 35

Slide 35 text

Android Studio • ͸͡Ί͸جຊૢ࡞͚֮ͩ͑Δ͜ͱʹઐ೦ͨ͠ํ͕͍͍ • ೔ࠒIntelliJͰ࢖ͬͯΔਓ͸ઃఆΛimport͢Δͱָ • shortcutͱ͔ͷ঺հ͋ͬͯʮ֮͑ΒΕͳ͍ΑʔʯͱͳΔ • ֮͑ͳͯ͘΋͋Δఔ౓ॻ͚Δ • γϣʔτΧοτർฐ͠ͳ͍Α͏ʹؾΛ͚ͭΔ

Slide 36

Slide 36 text

ͨͩ • ܧଓతʹ࢖͏΋ͷͳͷͰͲ͔͜Ͱ৭ʑ΍ͬͯ ΈΔ͜ͱ͸ඞཁ • ෆศͩͳʔɺ΋ͬͱଞʹ͍͍ํ๏͋Γͦ͏ͩ ͚Ͳͳʔͱ͔ࢥͬͨΒௐ΂ͯΈΔ • ৭Μͳػೳ͕ೖͬͯΔͷͰ׳Ε͖ͯͨ࣌ʹ৮ ͬͯΈΔͱ͍͍

Slide 37

Slide 37 text

Android Studio User Guide https://developer.android.com/ studio/intro/index.html

Slide 38

Slide 38 text

Android Studio࠷଎ೖ໳
 ʙޮ཰తʹίʔσΟϯά͢ΔͨΊͷ࢖͍ํ http://gihyo.jp/dev/serial/01/ android_studio

Slide 39

Slide 39 text

Android Studio PluginपΓ https://www.slideshare.net/ shinobuokano7/android-dev- tools-knowledge#40 ڈ೥ͷDroidKaigiͰ͍͔ͭ͘঺հ͠·ͨ͠

Slide 40

Slide 40 text

࣮૷͢Δͧʂ

Slide 41

Slide 41 text

࣮૷͢Δͧʂ • ίʔυΛॻ͘ • σβΠϯ

Slide 42

Slide 42 text

Androidͷ։ൃݴޠ͸
 ͳΜͰ͔͢ʁ

Slide 43

Slide 43 text

JavaͰ͢

Slide 44

Slide 44 text

Ͳ͏΍࣮ͬͯ૷ͨ͠Β͍ΜͩΖ

Slide 45

Slide 45 text

αϯϓϧͰֶΜͰ͍͜͏

Slide 46

Slide 46 text

Android Studio New Project Wizard

Slide 47

Slide 47 text

̍ͭ̍ͭ࡞ͬͯ
 ಈ͔͢ͷΊΜͲ͍

Slide 48

Slide 48 text

Android Studio Sample Projects https://github.com/operando/ Android-Studio-Sample-Projects

Slide 49

Slide 49 text

Android Studio Sample Projects • ConfigurationΛม͑Δ͚ͩ
 Ͱ৭Μͳαϯϓϧ͕ͬ͘͞ͱ
 ࢼͤ·͢ʂ • Android Studio 2.3Ͱ௥Ճ͞ ΕͨBottom Navigationͷα ϯϓϧ΋͋ΔΑʂ

Slide 50

Slide 50 text

ެࣜʹ༻ҙ͞Ε͍ͯΔαϯϓϧ͔ΒֶͿ • ໢ཏత + ࡉ͔͍࢓༷෦෼·Ͱॻ͔Ε͍ͯΔ • ඞཁͳ෦෼͚ͩಡΉͱྑ͍ • υΩϡϝϯτͷߋ৽͕ૣ͍

Slide 51

Slide 51 text

http://developer.android.com/ training/index.html Android Training

Slide 52

Slide 52 text

https://developer.android.com/ samples/index.html Android Samples

Slide 53

Slide 53 text

https://github.com/ googlesamples Google Samples - Github

Slide 54

Slide 54 text

https://developers.google.com/ training/android/ Google Developer Training
 for Android

Slide 55

Slide 55 text

https://developers.google.com/ training/courses/android- fundamentals Android Developer Fundamentals

Slide 56

Slide 56 text

ೖ໳ॻ(ຊ)ͰֶͿ http://hack-it-iron.hatenablog.com/ entry/2016/07/16/182141 AndroidֶͿ্Ͱͷॻ੶ʹ͍ͭͯ ͬ͘͟Γॻ͍ͯ·͢ʂ

Slide 57

Slide 57 text

ΞϓϦͷσβΠϯͲ͏͠Α͏

Slide 58

Slide 58 text

ΞϓϦͷσβΠϯ • ݸਓΞϓϦͰσβΠϯʹࠔΔ • Material Design͸ۜͷ஄ؙͰ͸ͳ͍ • Material Designʹ͠ͳ͍ͱ͍͚ͳ͍ͱ
 ࢥΘͤͯ͠·͏ • ࡞ΔΞϓϦʹ͋ͬͨσβΠϯΛॏࢹ͢Δ΂͖

Slide 59

Slide 59 text

ͱ͸͍͑… Material DesignͳΒ
 ͬ͘͞Γ࡞ΕΔʂ

Slide 60

Slide 60 text

Material Design Introduction https://material.io/guidelines/

Slide 61

Slide 61 text

Material Design Introduction ཧղ͢Ε͹ܧଓతʹ໾ཱͭ Material DesignҎ֎ͷ
 ؍఺Ͱ΋໾ʹཱͭ

Slide 62

Slide 62 text

ߋʹਐԽͨ͠ϚςϦΞϧσβΠϯ https://www.youtube.com/ watch?v=R49m4-NlWs0

Slide 63

Slide 63 text

Material Design Resources • Material Icons • https://material.io/icons/ • Material Design Resources • https://design.google.com/resources/

Slide 64

Slide 64 text

Material Designͷ࣮૷ • materialdoc • http://www.materialdoc.com/ • Topeka for Android • https://github.com/googlesamples/android-topeka • Material Components for Android • https://github.com/material-components/material- components-android

Slide 65

Slide 65 text

ଞͷΞϓϦͷσβΠϯΛࢀߟʹ͢Δ • Android Niceties • http://androidniceties.tumblr.com/ • ͱ͋ΔΞϓϦͷσβΠϯΛਅࣅͯ͠࡞Δ • ৭ΜͳΞϓϦʹ৮ΕΔػձʹ΋ͳΔͷͰΑ͍

Slide 66

Slide 66 text

ެ։͢Δͧʂ

Slide 67

Slide 67 text

ެ։͢Δͧʂ • Ͱ͖ͨΒ͍͍͔Βެ։͢Δ • ΋ͷ͕Ͱ͖ͯΔͷʹ͙͢ग़͞ͳ͍ͷ͸
 ΋͍ͬͨͳ͍ • Google Playͷઆ໌΋ద౰Ͱ͍͍ • ޙ͔ΒͰ΋ม͑ΒΕΔ

Slide 68

Slide 68 text

Google Playͷઆ໌΋ద౰Ͱ͍͍ Neko Atsume Launcher

Slide 69

Slide 69 text

ެ։Ͱࠔͬͨͧʔ https://support.google.com/ googleplay/android-developer Google Play Developer Help Centerݟͯ!

Slide 70

Slide 70 text

͜͜·Ͱͷ·ͱΊ • ໎ͬͯ࡞Εͳ͍ͷ͸΋͍ͬͨͳ͍ͷͰ
 ࡶͰ΋΍͍ͯ͜͏ • ͔̍Β࡞ΔͨΊʹυΩϡϝϯτ͸੔ͬͯΔ

Slide 71

Slide 71 text

ΞϓϦ࡞ΔྲྀΕཧղͨͧ͠

Slide 72

Slide 72 text

΋ͬͱ͍͍ΞϓϦ࡞Γ͍ͨͳ

Slide 73

Slide 73 text

΋ͬͱ͍͍ΞϓϦ࡞Γ͍ͨͳ • ඞཁʹͳΔ΋ͷ • ٕज़ྗ • ΞϓϦͷΞΠσΟΞΛߟ͑Δྗ

Slide 74

Slide 74 text

΋ͬͱ͍͍ΞϓϦ࡞Γ͍ͨͳ • ඞཁʹͳΔ΋ͷ • ٕज़ྗ • ΞϓϦͷΞΠσΟΞΛߟ͑Δྗ

Slide 75

Slide 75 text

৭ΜͳΞϓϦ࡞͖ͬͯͨͳʔ • ௚ۙ2೥͘Β͍Ͱ࡞ͬͨ΋ͷ • ϝϧΧϦ • Ξος • Taxnote

Slide 76

Slide 76 text

৭ΜͳΞϓϦ࡞͖ͬͯͨͳʔ • ௚ۙ2೥͘Β͍Ͱ࡞ͬͨ΋ͷ • ϝϧΧϦ (ӡ༻) • Ξος (৽ن) • Taxnote (৽ن)

Slide 77

Slide 77 text

3ͭͷΞϓϦΛ࡞Δ্Ͱ
 ඞཁʹͳٕͬͨज़

Slide 78

Slide 78 text

৭ʑ͋Δ͚Ͳʔ

Slide 79

Slide 79 text

• Android API • Google Play Services • ৽͍͠OSόʔδϣϯͷରԠ 3ͭͷΞϓϦΛ࡞Δ্Ͱ
 ඞཁʹͳٕͬͨज़

Slide 80

Slide 80 text

3ͭͷΞϓϦΛ࡞Δ্Ͱ
 ඞཁʹͳٕͬͨज़ ࣮ࡍ΋ͬͱ͋Δ͚Ͳ
 ಛʹ࿩͓͖͍ͯͨ͠΋ͷͰ͢ʂ

Slide 81

Slide 81 text

Android API

Slide 82

Slide 82 text

Android API • Ұ൪ॏཁͳ஌ࣝ • ஌ͬͯΔ͔஌Βͳ͍͔ͷੈք • Α͘࢖ΘΕΔAPI͸ܾͦͦ͜͜·ͬͯΔ

Slide 83

Slide 83 text

Android APIΛཧղ͢Δ ެࣜυΩϡϝϯτɾReferenceΛಡΉ

Slide 84

Slide 84 text

Android APIΛཧղ͢Δ • API Reference • https://developer.android.com/ reference/packages.html • API Guides • https://developer.android.com/guide/ index.html

Slide 85

Slide 85 text

Android APIΛཧղ͢Δ • util package - ஌͓ͬͯ͘ͱศར • https://developer.android.com/reference/ android/util/package-summary.html • https://developer.android.com/reference/ android/support/v4/util/package-summary.html • https://developer.android.com/reference/ android/support/v7/util/package-summary.html

Slide 86

Slide 86 text

Android APIΛཧղ͢Δ • ৭ΜͳίʔυΛಡΜͰAPIͷ࢖͍ํΛཧղ͢Δ • Androidͷ಺෦ߏ଄ΛಡΉ • OSSͷLibraryΛಡΉ

Slide 87

Slide 87 text

Androidͷ಺෦ߏ଄ΛಡΉ • AndroidιʔείʔυݕࡧαʔϏε • https://sites.google.com/site/ devcollaboration/codesearch

Slide 88

Slide 88 text

ֶΜͩ͜ͱΛoutput͢Δ Android APIΛཧղ͢Δ

Slide 89

Slide 89 text

ֶΜͩ͜ͱΛoutput͢Δ • ϑϧεΫϥον(ࣸܦ)ͰRadioGroupͱRadioButtonΛ
 ࣮૷ͯ͠Έͨ • http://qiita.com/operandoOS/items/ d943479cb7bb61c2cede • ANDROID ID͕ͲͷΑ͏ʹੜ੒͞Ε͍ͯΔ͔ͬ͘͟Γௐ΂ͨ • http://qiita.com/operandoOS/items/ b41fa4a1c6c009c64a10

Slide 90

Slide 90 text

࣌୅ͷྲྀΕͱAPIΛߟ͑Δ • ωοτͰௐ΂ͯग़ͯ͘Δ৘ใ͕ݹ͘ͳΓͭͭ͋Δ • ඇਪ঑API • ΋ͬͱ͍͍API͋ΔΑʂతͳ͋Ε

Slide 91

Slide 91 text

ඇਪ঑APIͱͷઓ͍ • Android StudioͰඇਪ঑ͰΔ͔ΒͪΌΜͱݟΔ • υΩϡϝϯτʹʮ୅ΘΓʹ͜Ε࢖ͬͯͳʂʯ
 ͱॻ͍ͯ͋Δ • Lint͔͚ͯඇਪ঑API࢖ͬͯͳ͍͔νΣοΫ͢Δ

Slide 92

Slide 92 text

Android StudioͰඇਪ঑ͰΔ
 ͔ΒͪΌΜͱݟΔ

Slide 93

Slide 93 text

υΩϡϝϯτʹʮ୅ΘΓʹ͜Ε ࢖ͬͯͳʂʯͱॻ͍ͯ͋Δ

Slide 94

Slide 94 text

Lint͔͚ͯඇਪ঑API࢖ͬͯͳ͍͔ νΣοΫ͢Δ

Slide 95

Slide 95 text

͋ͳͨͷ࣮૷ͷ΍Γํ 
 "࠷৽൛" 
 ʹͳ͍ͬͯ·͔͢?

Slide 96

Slide 96 text

• ΞϓϦΛ࢖͏Ϣʔβ͕ظ଴͢Δಈ͖͸ͳʹ͔ • OSࣗମ͸χʔζʹ͋ͬͨAPIΛఏڙ͍ͯ͠Δ…͸ͣ... • লిྗͳΒDoze • ϞόΠϧͰ΋ը໘͕Ͱ͔͘ͳͬͨɺͳ͕Β࡞ۀ͍ͨ͠
 ΞϓϦΛ·͍ͨͰͳʹ͔͍ͨ͠= Multi-window ΋ͬͱ͍͍API͋ΔΑʂతͳ͋Ε

Slide 97

Slide 97 text

• χʔζʹର͢Δٕज़ͷΩϟονΞοϓ͸େࣄ • ৽͘͠ఏڙ͞ΕΔAPI͸ࠓͷχʔζɺকདྷͷ
 χʔζΛݟӽ͍ͯ͠Δ΋ͷ ΋ͬͱ͍͍API͋ΔΑʂతͳ͋Ε

Slide 98

Slide 98 text

΋ͬͱ͍͍API͋ΔΑʂతͳ͋Ε ݹ͍APIΛ࢖ͬͯ΋࣮૷Ͱ͖Δ͚Ͳ
 ͦΕ͸ੲϢʔβ͕ٻΊ͍ͯͨಈ͖Λ࣮ݱ͢Δ ΋ͷͰ͋ͬͯɺࠓϢʔβ͕ٻΊ͍ͯΔಈ͖Λ ࣮ݱ͢Δʹ͸ͬͪ͜ͷ৽͍͠API͕Α͍ʂ
 ͱ͍͏ؾ࣋ͪͰΞϓϦ࡞ͬͯ͜

Slide 99

Slide 99 text

Google Play Services

Slide 100

Slide 100 text

Google Play Services • Google Play ServicesΛ௨ͯ͠Googleͷ
 αʔϏεΛࣗ਎ͷΞϓϦͰ࢖͑ΔΑ͏ʹ͢Δ • ͬ͘͞ͱGoogleͷαʔϏεΛࣗ਎ͷΞϓϦ ʹ૊ΈࠐΉ͜ͱ͕Ͱ͖Δ

Slide 101

Slide 101 text

ΞϓϦΛ࡞Δ্Ͱ
 ͔ܽͤͳ͍΋ͷ͕͍ͬͺ͍ ఏڙ͞ΕͯΔๅശ

Slide 102

Slide 102 text

͗͢ΐ͍

Slide 103

Slide 103 text

Overview of Google Play Services https://developers.google.com/ android/guides/overview

Slide 104

Slide 104 text

Google Play ServicesͰ࢖ͬͯΔػೳ • ϝϧΧϦ - plus,wallet,appinvite,gcm,ଞଟ਺ • Ξος - maps,location,gcm • Taxnote -In-app Billing(ΞϓϦ಺՝ۚ)

Slide 105

Slide 105 text

Google Play Services߈ུͷΧΪ • Google Play ServicesΛ࢖ͬͯͲΜͳ͜ͱ͕
 Ͱ͖Δͷ͔೺Ѳ͓ͯ͘͠ • ৽͍͠ػೳ͕௥Ճ͞ΕΔͷΛ௥͏

Slide 106

Slide 106 text

• Google Play Services Release Notes • https://developers.google.com/android/ guides/releases • Google Developers - Youtube • https://www.youtube.com/user/ GoogleDevelopers Google Play Services߈ུͷΧΪ

Slide 107

Slide 107 text

Α͘νΣοΫ͢ΔAndroid։ൃͰॏཁ ͳ΋ͷͷRelease NotesϦϯΫ·ͱΊ http://qiita.com/operandoOS/ items/d2feb53cd55e94c4e9a6

Slide 108

Slide 108 text

Α͘νΣοΫ͢ΔAndroid։ൃͰॏཁ ͳ΋ͷͷRelease NotesϦϯΫ·ͱΊ http://qiita.com/operandoOS/ items/d2feb53cd55e94c4e9a6 ͜ͷ·ͱΊ࠷ߴʂ(ࣗըࣗࢍ

Slide 109

Slide 109 text

ΑΓૣ͘⚡

Slide 110

Slide 110 text

Google Play Services Public Beta Program

Slide 111

Slide 111 text

Google Play Services 
 Public Beta Program https://developers.google.com/ android/guides/beta-program

Slide 112

Slide 112 text

৽͍͠OSόʔδϣϯͷରԠ

Slide 113

Slide 113 text

৽͍͠OSόʔδϣϯͷରԠ • Android M • Android N

Slide 114

Slide 114 text

Android M • RuntimePermission • Auto Backup • Doze • Apache HTTP Client Removal • etc.

Slide 115

Slide 115 text

Android N • Multi-window • Dozeվ!! • Project Svelte: Background Optimizations • App Shortcut • etc.

Slide 116

Slide 116 text

৽͍͠OSόʔδϣϯͷରԠʹ ޲͚ͨԶͨͪͷઓ͍

Slide 117

Slide 117 text

ޫ଎⚡ ϝϧΧϦ Android MରԠ • Android M ਖ਼ࣜϦϦʔεͨ͠ͷ͕ 2015/10 • ϝϧΧϦ Android MରԠ • 2015/10຤ ରԠ൛ϦϦʔε • ਖ਼ࣜϦϦʔε͞Ε͔ͯΒ1ϲ݄ఔ౓ͰରԠ׬ྃ

Slide 118

Slide 118 text

ޫ଎⚡ ϝϧΧϦ Android MରԠ • Android M ਖ਼ࣜϦϦʔεͨ͠ͷ͕ 2015/10 • ϝϧΧϦ Android MରԠ • 2015/10຤ ରԠ൛ϦϦʔε • ਖ਼ࣜϦϦʔε͞Ε͔ͯΒ1ϲ݄ఔ౓ͰରԠ׬ྃ • ͪͳΈʹၦ͕΍ͬͨ

Slide 119

Slide 119 text

஗Ε͖ͯͨ৽ੜ 
 Ξος Android NରԠ • Android M ਖ਼ࣜϦϦʔεͨ͠ͷ͕ 2016/8 • Ξος Android NରԠ • 2017/2 ରԠ൛ϦϦʔε • Multi-windowఘΊͨ • Support Library্͛Δͷʹखͣͬͨ͜

Slide 120

Slide 120 text

৽͍͠OSόʔδϣϯͷରԠʹ
 ޲͚ͨԶͨͪͷઓ͍ • ΤϯδχΞओಋͰಈ͍ͯΔ • ରԠ͢ΔλΠϛϯά΋ܾΊͯΔ

Slide 121

Slide 121 text

৽͍͠OSόʔδϣϯͷରԠ൑அج४ • શମ૾͕ݟ͖͑ͯͨΒରԠ࣌ظΛݟۃΊΔ • ૣ͗ͯ͢΋μϝ?ɺ஗͗ͯ͢΋μϝʂ • ͜ͷΞοϓσʔτ͸ΞϓϦʹͱͬͯωΨςΟϒ or ϙδςΟϒ • γΣΞ཰Λݟͳ͕Βߟ͑Δ • Dashboards - Platform Versions • https://developer.android.com/about/dashboards/ index.html

Slide 122

Slide 122 text

ରԠʹ޲͚ͯ·ͣ΍Δ͜ͱ • Preview͔Β༡ͼ౗͢ • compileSdkVersionɺtargetSdkVersionΛ
 ্͛ͯbuildͯ͠ΈΔ • υΩϡϝϯτΛԿ౓΋ಡΈฦ͢

Slide 123

Slide 123 text

Preview͔Β༡ͼ౗͢ • Android Beta ProgramʹࢀՃ͢Δ • https://www.google.com/android/beta

Slide 124

Slide 124 text

Preview͔Β༡ͼ౗͢ • ༡ͼ౗ͨ͜͠ͱΛϝϞͨ͠Γɺoutput͢Δ • Android N Memo • https://github.com/operando/Android-N-Memo • Inside Android N • https://www.slideshare.net/shinobuokano7/ inside-android-n

Slide 125

Slide 125 text

compileSdkVersionɺtargetSdkVersion Λ্͛ͯbuildͯ͠ΈΔ • build͕௨Δ͔ • ݹ͍API΍ෆཁͳAPI͸ফ͑Δӡ໋ • ඇਪ঑APIͷνΣοΫ • API Differences ReportಡΈ·͘Δ • ىಈͰམͪͳ͍͔

Slide 126

Slide 126 text

Android API Differences Report • Android N API Differences Report • https://developer.android.com/sdk/ api_diff/24/changes.html • https://developer.android.com/sdk/ api_diff/25/changes.html

Slide 127

Slide 127 text

υΩϡϝϯτΛԿ౓΋ಡΈฦ͢ • େࣄͳ2ͭͷυΩϡϝϯτ • New Features Document • Behavior Changes Document

Slide 128

Slide 128 text

New Features Document • Android N New Features Document • https://developer.android.com/about/ versions/nougat/android-7.0.html • https://developer.android.com/about/ versions/nougat/android-7.1.html

Slide 129

Slide 129 text

Behavior Changes Document • Android N Behavior Changes Document • https://developer.android.com/about/ versions/nougat/android-7.0-changes.html

Slide 130

Slide 130 text

ͱʹ͔͘ؾʹͳͬͨهࣄͳͲ͸ཷΊࠐΉ • ΈΜͳ͕outputͯ͘͠ΕΔ΋ͷΛर͍·͘Δ • ΞϯςφΛ͸Γ·͘Δ

Slide 131

Slide 131 text

ৗʹΞϯςφ͸ͬͯΔͱ͜Ζ • Qiita • Blog • Medium • Twitter • etc.

Slide 132

Slide 132 text

ҰݸҰݸϦϯΫ
 ঺հ͢Δͷ΋͋ΕͳͷͰ…

Slide 133

Slide 133 text

RSSϑΟʔυͷެ։ • ࢲͷAndroid ϑΟʔυެ։͠·͢ʂ • ؾʹͳΔͷ͋Ε͹ొ࿥ͯ͋͛ͯ͠Ͷʂ

Slide 134

Slide 134 text

RSSϑΟʔυͷެ։ https://goo.gl/Zqg5RD

Slide 135

Slide 135 text

͜͜·Ͱͷ·ͱΊ • Android APIΛཧղ͢ΔԆ௕ઢ্ʹΞϓϦΛ
 ࡞Δ্Ͱେ੾ͳ͜ͱ͕͍ͬͺ͍ͭ·ͬͯΔ • AndroidͷมԽͷྲྀΕʹ͍͍ͭͯ͘͜ͱͰ
 ͞Βʹ͍͍ΞϓϦ͕࡞ΕΔՄೳੑ͕޿͕Δ✨

Slide 136

Slide 136 text

Android։ൃͷࠓͱ͜Ε͔Β

Slide 137

Slide 137 text

Android։ൃͷࠓ

Slide 138

Slide 138 text

Android։ൃͷࠓ • Android Framework΍Library͕੔͖ͬͯͨ • LibraryͳͲΛۦ࢖ͯ͠Ͳ͏ΞϓϦྉཧ͢Δ͔

Slide 139

Slide 139 text

ϥΠϒϥϦʹ͍ͭͯ...
 ͍͍͘͢͝·ͱΊ͋Γ·͢ • OSSͷಈ޲Λଊ࣮͑ͨ૷ํ਑ by wasabeef • https://speakerdeck.com/wasabeef/day1-keynote-in- droidkaigi-2016 • https://www.youtube.com/watch?v=kArtZzDz1xU&t=7m • ࠓ͔Β৽نͰAndroidΞϓϦΛॻ͖࢝ΊΔͳΒɻ by wakwak312 • http://wakwak3125.hatenablog.com/entry/ 20161202/1480613604

Slide 140

Slide 140 text

Ͳ͏΍ͬͯ
 ৽͍͠ɾྑ͍ϥΠϒϥϦΛݟ͚ͭΔ͔ • Android ArsenalΛ΢Υον͢Δ • https://android-arsenal.com/ • GithubͷFeedΛ࢖ͬͯ୳͢ • ΞϓϦͷϥΠηϯεϖʔδΛͷͧ͘

Slide 141

Slide 141 text

New Android Layouts

Slide 142

Slide 142 text

ConstraintLayout + FlexboxLayout

Slide 143

Slide 143 text

ࠓ·͞ʹผͷ෦԰Ͱthagikura͞Μ͕
 ʮExploring new Android layoutsʯ
 ͱ͍͏࿩Λͯ͠Δʂʂ

Slide 144

Slide 144 text

Conference

Slide 145

Slide 145 text

ੈքதͰConference͕ߦΘΕͯΔ • Android Conferences • http://androidstudygroup.github.io/conferences/ • ConferenceͷࢿྉΛݟΔ • droidcon͸ݟͯΈΔͱ͍͍ • ੈքతʹ͸ͲΜͳ࿩͕͞ΕͯΔͷ͔ʁ • Կ͕ਓؾͳͷ͔ʁ

Slide 146

Slide 146 text

Android։ൃͷ͜Ε͔Β

Slide 147

Slide 147 text

Android։ൃͷ͜Ε͔Β • Android O • Instant Apps • Android Things • Chrome • Java 9 Support??

Slide 148

Slide 148 text

Android։ൃͷ͜Ε͔Β • Android O • Instant Apps • Android Things • Chrome • Java 9 Support??

Slide 149

Slide 149 text

Instant Apps

Slide 150

Slide 150 text

Instant Apps ΠϯετʔϧෆཁͰ࣮ߦͰ͖ΔΞϓϦ

Slide 151

Slide 151 text

Instant Apps Access Apps From Anywhere

Slide 152

Slide 152 text

Instant Apps https://developer.android.com/ topic/instant-apps/index.html

Slide 153

Slide 153 text

Instant Apps • ͍ܰ • ଎͍ • ͺͳ͍

Slide 154

Slide 154 text

Viki - Instant Appsͷྫ https://developer.android.com/topic/instant-apps/ images/viki.gif

Slide 155

Slide 155 text

͗͢ΐ͍

Slide 156

Slide 156 text

Preparing Your App Instant Apps https://developer.android.com/ topic/instant-apps/prepare.html

Slide 157

Slide 157 text

Instant AppsͷͨΊʹ৺͕͚Δ͜ͱ • ΞϓϦΛখ͍ͯ͘͞͠Βͳ͍΋ͷ͸ࣺͯΑ͏ • App LinksʹରԠ͢Δ • Ϣʔβೝূͱ͔ʹ͸Smart Lock for Passwords Λ࢖͏ • Instant AppsͰͰ͖ͳ͍͜ͱΛ஌Δ

Slide 158

Slide 158 text

Instant AppsͷͨΊʹ৺͕͚Δ͜ͱ
 (Զత؍఺) • Google Play ServicesͷػೳΛ͞Βʹख़஌ͯ͠͏·͘
 ࢖͏ඞཁ͕͋Γͦ͏ • Google PlayҎ֎͔ΒΞϓϦͷಋઢΛͲΕ͚ͩ޿͛ΒΕΔ͔ • Web • SNS / Messaging • Real World • etc.

Slide 159

Slide 159 text

ϞδϡʔϧԽ͢Δ
 ΞϓϦέʔγϣϯ

Slide 160

Slide 160 text

·ͱΊ

Slide 161

Slide 161 text

Thanks!!