Pro Yearly is on sale from $80 to $50! »

Umeda.apk 報告会資料

Cf72ecd4105b5818fcabcc0c0aaeee22?s=47 jsugai
June 23, 2016
270

Umeda.apk 報告会資料

Cf72ecd4105b5818fcabcc0c0aaeee22?s=128

jsugai

June 23, 2016
Tweet

Transcript

  1. None
  2. Building for Billions - ΨΠυϥΠϯ-

  3. Android App ։ൃͷ த৺తͳυΩϡϝϯτ Building for Billions for Android

  4. Building for Billions Framework • Connectivity • Device Capability •

    Data Cost
  5. • 2020೥ʹ͸10ԯਓ૬౰͕2G؀ڥͱ༧ଌ • ௨৴ํࣜ/઀ଓํࣜʹؔΘΒͣΞϓϦ͕ಈ͘Α͏ ͳઃܭʹઃܭ͢Δ • ωοτϫʔΫͷ଎౓͸༷ʑɺ৭ʑͳ઀ଓ଎౓Ͱ շదʹͳΔΑ͏ʹΞϓϦΛσβΠϯ͢Δ • ʢ৔ॴʹΑͬͯ͸ʣσʔλ͸ߴՁͰ͋Δ


    Ϣʔβʔࣗ਎͕ίϯτϩʔϧͰ͖ΔΑ͏ʹɻ
  6. ΨΠυϥΠϯᶃ ઀ଓੑ
 ৴པग़དྷͳ͍͜ͱ΋͋ΔωοτϫʔΫͩͱΞϓ Ϧ͕࢖͍΋ͷʹͳΒͳ͍ɺΈ͍ͨͳͷΛճආ͢ ΔͨΊʹίϯςϯπΛద੾ʹΩϟογϡ͢Δ

  7. ΨΠυϥΠϯᶄ ը૾ͷ࠷దԽ • WebP ΍ VD Λ࢖ͬͯϦιʔεΛখ͘͢͞Δ • ಈతʹը૾αΠζΛมߋ͢Δ࢓૊ΈΛߟ͑Δ •

    Glide ΍ Picaso ͳͲΛ࢖ͬͯը૾Λ࠷దԽ
  8. ΨΠυϥΠϯᶅ ωοτϫʔΫͷ࠷దԽ • ΦϑϥΠϯ༻ͷઃܭ(Offline != Data Empty) • GCM NetworkManager

    ͳͲΛར༻ • ωοτϫʔΫͷར༻ঢ়گΛ؅ཧ
 ʢଳҬ෯ʹ༏ઌॱҐΛ͚ͭͯ؅ཧ͢Δʣ • Ωϟογϡઓུ
  9. ΨΠυϥΠϯᶆ ޓ׵ੑ • targetSdkVersionͱminSdkVersionΛద੾ʹઃఆ • Support Library Λར༻͢Δ • Google

    Play Service API Λར༻͢Δ
  10. ΨΠυϥΠϯᶇ ޮ཰తͳϝϞϦར༻ • ϝϞϦͷϑοτϓϦϯτʹ஫ҙ͢Δ • ௕ظ࣮ؒߦ͞ΕΔϓϩηεΛආ͚Δ • ϝϞϦϓϩϑΝΠϥͰͷϕϯνϚʔΫ

  11. ΨΠυϥΠϯᶈ ΞϓϦαΠζΛݮΒ͢ • APK͸ 10MBytes ҎԼ ʹ • Proguard Λ࢖ͬͯίʔυαΠζΛ࡟ݮ

    • ΞϓϦͷϩʔΧϧΩϟογϡΛ์ஔ͠ͳ͍
 (DB΍FileͳͲͷΩϟογϡ͸ఆظతʹ૟আʣ
  12. ΨΠυϥΠϯᶉ όοςϦʔফඅΛ཈͑Δ • ޮ཰తͳωοτϫʔΫͷར༻
 ※ Radio State Machine ͔Βཧղ͢Δ •

    GPS ଌҐʹ͸ FusedLocationProviderApi Λར༻ • Batterystats&Battery HistorianͰϕϯνϚʔΫ
  13. ΨΠυϥΠϯᶊ ίϯςϯπ • Responsive interaction ͱ Customizing Touch Feedback. •

    ର࿩తͳ UI • 100 to 200 ms ͷݪଇ
 Keeping Your App Responsive : Reinforce Responsiveness
  14. ͦͷଞ

  15. SafetyNet -Google APIs protected synchronized void buildGoogleApiClient() { mGoogleApiClient =

    new GoogleApiClient.Builder(this) .addApi(SafetyNet.API) .addConnectionCallbacks(myMainActivity.this) .build(); }
  16. RequestPermission ରԠίʔυΛࣗಈੜ੒ػೳ͕ Android Stuido ʹೖΔ!Β͍͠…

  17. Google Play Badges https://play.google.com/intl/en_us/badges/ OLD NEW

  18. GCM / FCM FCM Λಋೖ͢ΔͱࣗಈతʹGCM΋ಋೖ͞Ε
 ϥοϓͨ͠ Firebase ͷ Receiver ͕ૠೖ͞ΕΔ

    <receiver
 android:name="com.google.firebase.iid.FirebaseInstanceIdReceiver"
 android:permission="com.google.android.c2dm.permission.SEND"
 android:exported="true">
 
 <intent-filter>
 <action
 android:name="com.google.android.c2dm.intent.RECEIVE" />
 
 <action
 android:name="com.google.android.c2dm.intent.REGISTRATION" />
 
 <category
 android:name="jp.co.yahoo.android.fbstest" />
 </intent-filter>
 </receiver> AndroidManifest ※ C2DM/GCM ʹඞཁͳ͢΂ͯͷPermission ΋௥Ճ͞Ε·͢
  19. Play Store What’s new in Google Play

  20. What’s new in Google Play 1. Google Play Early Access/Collections

    2. Pre Launch Report 3. Review BENCHMARKS & Reply to Review API 4. Building for Billions Guidelines
  21. Google Play Early Access βςετϓϩάϥϜ

  22. Google Play Early Access ैདྷͷ Alpha/Beta Program ͷ৔߹͸ঝೝը໘͔Βͷ
 ࢀՃొ࿥͕ඞཁʹ͕ͩͬͨ Play

    Store ʹ౷߹͞ΕΔ ࢀߟ : FaceBook App ͷ BetaProgram
  23. Pre-Launch Report • Alpha/Beta Channel Λར༻͢Δͱ͖ʹ Opt-in ͢Δ ͱࠓ·ͰΞοϓϩʔυͨ͠શͯͷ apk

    Λςετ ͢Δ͜ͱ͕ग़དྷΔ • 1͙࣌ؒΒ͍ͰϨϙʔτͷαϚϦ͕ඈΜͰ͘Δ • Firebase Test-Lab Λϕʔεʹߏங͞Ε͍ͯΔ • ಠࣗͷςετΛ Android Studio + Firebase ίϯ ιʔϧͰ௥ՃߏஙͰ͖Δʢ༗ྉʣ https://support.google.com/googleplay/android-developer/answer/7002270
  24. Firebase Test-Lab • ࣮ػΛฒ΂ͨσʔληϯλʔͰ։ൃऀ͕ςετ Λ࣮ࢪͰ͖Δಛผͳ৔ॴɻ
 ʢੈքத͔ΒΞΫηε͞Ε͍ͯΔʣ • Test Lab ୯ମͰ΋ར༻Ͱ͖Δ

    Pre-Launch Report Ͱར༻͢ΔͱɺΑΓޮՌతͰ͋Δɻ • Espresso, Robotium, UI Automator 2.0 ΋αϙʔτ https://firebase.google.com/docs/test-lab/
  25. None
  26. Review BENCHMARKS

  27. ݱࡏɺӳޠͷΈʂ

  28. Review Analysis • TOPICS ͸ΞϓϦʹؔ࿈͢Δݸผͷ୯ޠΛर͍
 ”Design”΍”Speed”ͳͲͷ୯ޠ͕ϨϏϡʔͱ
 Ͳ͏ؔ܎͢Δ͔ΛՄࢹԽ • ϨʔςΟϯάผͷτϐοΫ܏޲
 ˑ1

    ͷ50% ͸ΞϓϦͷ҆ఆੑ΍όάʹ͍ͭͯ
 ˒5 ͷ Design, Peformance, Usability ʹ͍ͭͯ
  29. Reply to Review API • ΞϓϦͷϨϏϡʔΛ֎෦͔Βऔಘ͢ΔAPI • ΞϓϦͷϨϏϡʔʹରͯ͠ฦ৴͢ΔAPI • ಠࣗͷΧελϜΠϯςάϨʔγϣϯͷߏங͕༰қ

    https://youtu.be/MoPHE6B3gmM
  30. Ϣʔβʔ֫ಘσʔλ

  31. Ϣʔβʔ֫ಘσʔλ • طʹϦϦʔεࡁΈ͕ͩվળ͢Δ༧ఆ • ࠃผͷϢʔβʔ֫ಘσʔλʢΠϯετʔϧ਺ɺ
 ༗ঈίϯςϯπͷߪೖ཰ɺྲྀೖݩ෼ੳɺ
 A/Bςετʣͷ֬ೝ • Play Store

    ಺ͷผͷ/ྨࣅΞϓϦͱͷίϯόʔδϣ ϯ཰ͳͲͷϕϯνϚʔΫͱൺֱՄೳʢNew!ʣ
  32. Ϣʔβʔ֫ಘσʔλ

  33. Play Console app

  34. Playbook by Google Play https://play.google.com/apps/testing/com.google.android.apps.secrets

  35. ࢿྉ 1. Playbook by Google Play 2. Google Play ͰΞϓϦΛ੒ޭʹಋ͘ʹ͸

    3. Build for Billions 4. FireBase Console 5. Google Cloud Message 6. Google I/O 2016 Codelabs 7. Android Developers Training 8. Android Performance Patterns 9. Android Development Patterns 10. Android Design Patterns 11. Google Developers