Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
Androidʹ Select Photos͕ ͖ͬͯͨ Mobileษڧձ Wantedly × νʔϜϥϘ #9 @akatsuki174
Slide 2
Slide 2 text
ࣗݾհ
Slide 3
Slide 3 text
• Android/iOS/FlutterΤϯδχΞ • 1ࣇͷ • ϲ݄ޙʹ2ࣇͷ • גࣜձࣾΏΊΈॴଐ
Slide 4
Slide 4 text
ࠓͷ
Slide 5
Slide 5 text
• Android 14ͷDeveloper Preview, Google I/O 2023Ͱൃද͞Εͨʮબͨࣸ͠ਅ/ಈըͷΈɹɹɹ ΞΫηεΛڐՄʯʹ͍ͭͯղઆ
Slide 6
Slide 6 text
ʮબͨ͠ϝσΟΞͷΈɹɹ ΞΫηεΛڐՄ͢Δʯʁ
Slide 7
Slide 7 text
IUUQTTFDVSJUZHPPHMFCMPHDPNJPBOESPJETFDVSJUZBOEQSJWBDZIUNMIUNM
Slide 8
Slide 8 text
• ΞΫηεڐՄΛ༩͑Δࣸਅ/ಈըΛબ͢ΔͨΊͷ UI͕දࣔ͞ΕΔ • બޙɺଞͷࣸਅಈըʹΞΫηε͢Δඞཁ͕͋Δ ߹ɺ࠶ϦΫΤετ͢Δඞཁ͕͋Δ
Slide 9
Slide 9 text
Ͳ͔͜Ͱݟͨ͜ͱ͕͋Δ…ʁ
Slide 10
Slide 10 text
J04ʙ
Slide 11
Slide 11 text
READ_MEDIA_VISUAL_ɹ USER_SELECTED ͱ
Slide 12
Slide 12 text
• ࠓճ৽͘͠Ճ͞ΕΔύʔϛογϣϯ • Ϣʔβ͕બͨࣸ͠ਅɺ͘͠ಈըͷΈΞΫηε ΛڐՄ͢Δ • λʔήοτSDKόʔδϣϯʹ͔͔ΘΒͣɺAndroid 14͔Βద༻
Slide 13
Slide 13 text
READ_MEDIA_VISUAL_ɹ USER_SELECTED Λએݴͯ͠ͳͯ͘…
Slide 14
Slide 14 text
• ΞϓϦ͕ҎԼͷ͍ͣΕ͔Λཁٻͨ͠߹ɺ݁ہʮબ ͨࣸ͠ਅ/ಈըͷΈ…ʯͷબࢶ͕ग़ͯ͘Δ • READ_MEDIA_IMAGES • READ_MEDIA_VIDEO • ACCESS_MEDIA_LOCATION
Slide 15
Slide 15 text
ैདྷϢʔβͷڍಈ
Slide 16
Slide 16 text
• ͢ͰʹϑϧΞΫηεڐՄ͍ͯ͠Δ߹ɺͦͷঢ়ଶ อ࣋͞ΕΔ
Slide 17
Slide 17 text
࣮
Slide 18
Slide 18 text
No content
Slide 19
Slide 19 text
No content
Slide 20
Slide 20 text
ࢼͯ͠Έͨ݁Ռ
Slide 21
Slide 21 text
• https://github.com/navczydev/ Android14Samples/tree/more-permisisons Λݩʹ ಈ͔ͯ͠ΈͨͰ͢ɻ • ͜Ε͔ΒͷΞοϓσʔτͰڍಈ͕มΘΔՄೳੑ͕ɹ ͋Γ·͢ • ʢࢲ͕Կ͔ϛεͬͯΔՄೳੑΞϦʣ
Slide 22
Slide 22 text
• READ_MEDIA_VISUAL_USER_SELECTEDΛએݴɹ ͨ͠߹ • →ڐΛʮSelect Photosʯʹ͍͔ͯͭ͘͠ͷࣸਅ Λબ • →READ_MEDIA_IMAGESfalseʹͳ͍ͬͯͨ
Slide 23
Slide 23 text
• READ_MEDIA_VISUAL_USER_SELECTEDΛએݴɹ ͠ͳ͔ͬͨ߹ • →ڐΛʮSelect Photosʯʹ͍͔ͯͭ͘͠ͷࣸਅ Λબ • →READ_MEDIA_IMAGES͕trueʹͳ͍ͬͯͨ • →࣍ճىಈ࣌ʹREAD_MEDIA_IMAGESfalseʹ ͳ͍ͬͯͨ
Slide 24
Slide 24 text
ϕετϓϥΫςΟε
Slide 25
Slide 25 text
• ͦͦ͜ͷύʔϛογϣϯΛ͏ΑΓɺڈൃද ͨ͠Photo PickerΛ͏ • Photo PickerͳΒڐՄΛऔΔඞཁͳ͍ • ݖݶͷڐՄঢ়ଶຖճऔಘ͢Δ • PreferenceͳͲʹڐՄঢ়ଶΛอଘ͍ͯ͠Δͱɺɹ ࠓճͷΑ͏ʹݖݶΞοϓσʔτ͕͋ͬͨ࣌ʹରԠ Ͱ͖ͳ͍
Slide 26
Slide 26 text
·ͱΊ
Slide 27
Slide 27 text
• Կͱ͋ΕAndroidʹSelect Photos͕ͬͯɹ ͘ΔΑ
Slide 28
Slide 28 text
એ
Slide 29
Slide 29 text
IUUQTUFDICPPLGFTUPSHQSPEVDUUZSR4S3"S+8VGTX1[ QSPEVDU7BSJBOU*%8LC+YWG'3TWWZ,/RGVU
Slide 30
Slide 30 text
͓ΘΓ