Upgrade to Pro — share decks privately, control downloads, hide ads and more …

GCM Topic Messaging

mochico
July 14, 2015

GCM Topic Messaging

2015/7/14 potatotips
詳しい解説は 8/16(sun)コミックマーケット C88 東A-39a で発売の「ダンジョンにAndroidの最新情報を求めるのは間違っているだろうか(仮)」にて!

mochico

July 14, 2015
Tweet

More Decks by mochico

Other Decks in Programming

Transcript

  1. GCM Topic Messaging
    NPDIJDP

    View full-size slide

  2. !@NPDIJDPO@
    ˖ 吳䒭⠓爡KAYAC
    ˖ ➬✲דAndroid/iOS،فٔ⡲׏גתׅ
    • Lobi
    • techbooster
    • 8/16(sun)ίϛοΫϚʔέοτ
    • C88 ౦A-39a

    View full-size slide

  3. 5PQJD.FTTBHJOHהכ
    Topicʹߪಡొ࿥ͨ͠ϢʔβʔʹҰ౓ʹϝοηʔ
    δΛૹΔػೳ
    !
    Topic = GCMίωΫγϣϯαʔόʔʹొ࿥͞Εͨ
    ϝοηʔδΛૹΔͨΊͷάϧʔϓ

    View full-size slide

  4. Topic Messagingͬͯ⡦ָ㴍׃ְך
    • ։ൃऀͷΞϓϦέʔγϣϯαʔόʔ͔Βϝοηʔ
    δΛͻͱͭૹΔ͚ͩͰɺTopicʹొ࿥͞Εͨ100
    ສ·Ͱͷ୺຤ʹϝοηʔδ͕ૹΒΕΔ
    • TopicͷߪಡΛొ࿥ͨ͠ϢʔβʔͷϦετΛ։ൃ
    ऀ͕؅ཧ͢Δඞཁ͕ͳ͍
    • ड৴Մ൱Λબ΂Δχϡʔεͷ഑৴ͳͲʹ

    View full-size slide

  5. ($.ך㹋鄲倯岀
    ˖ %FWFMPQFST$POTPMFד،فٔ׾涫ꐮׅ׷
    ˖ ($.ךٓ؎ـٓٔ٥فؚٓ؎ٝ׾鷄⸇ׅ׷
    ˖ ،فٔחTFOEFS*%׾鷏׏גSFHJTUSBUJPO5PLFO
    ׾《䖤ׅ׷؝٦س׾鷄⸇ׅ׷
    ˖ ًحإ٦آ׾「ֽ《׷ؙٓأ׾㹋鄲ׅ׷

    View full-size slide

  6. Topic Messagingͷ࣮૷ͷઆ໌ͷલʹ

    View full-size slide

  7. ($.ろ׭׋(PPHMF"1*Tך
    ⢪欽倯岀ָ㼰׃㢌׻׶ת׃׋կ

    View full-size slide

  8. HPPHMFTFSWJDFTKTPO

    View full-size slide

  9. HPPHMFTFSWJDFTKTPO$POHVSBUJPO'JMF
    ˖ TFOEFS*%QSPKFDU@OVNCFS
    ˖ 涫ꐮ歗꬗ך"QQ/BNF嫣חQSPKFDU@OVNCFSכ
    涪遤ׁ׸׷
    ˖ 䖞勻鸐׶%FWFMPQFST$POTPMFַ׵盖椚〳腉
    ˖ ػح؛٦آせ׾涫ꐮכ׃גְ׷ָծずׄ
    4FOEFS*E׾麩ֲ،فٔד⢪ֲֿהכ〳腉
    ˖ ⢪欽ׅ׷4FSWJDFכ˒˒ָ呓秛ׁ׸׷
    ˖ ֿ׸ַ׵׮ֿך倯䒭ד⢪ִ׷"1*Tכ㟓ִ׷ַ
    ׮٥٥٥

    View full-size slide

  10. 1SPKFDU3PPUBQQך♴
    חHPPHMFTFSWJDFKTPO
    ׾؝ؾ٦ׅ׷ה
    (.41MVHJO 如ךل٦
    آדHSBEMFח鷄⸇ׅ׷

    ָSFHJTUSBUJPO5PLFOך
    《䖤ח䗳銲ז
    3TUSJOHHDN@EFGBVMU4
    FOEFS*E׾欰䧭ׅ׷կ

    View full-size slide

  11. ProjectRoot/build.gradle
    ProjectRoot/app/build.gradle

    View full-size slide

  12. 5PQJD.FTTBHJOHך㹋鄲

    View full-size slide

  13. 鸐䌢ך3FDFJWFSהず圫ח「⥋דֹ׷

    View full-size slide

  14. 8/16(sun)؝ىحؙو٦؛حزC88匌A-39a
    筮ך偪ח꧊ִ
    չتٝآّٝח"OESPJEך剑倜䞔㜠׾実׭׷
    ךכ꟦麩׏גְ׷׌׹ֲַ⟎պ
    !
    չ"OESPJEꟚ涪橆㞮ؙحؙـحؙ⟎պ
    !
    չ8FCMBUPPPPO⟎պ

    View full-size slide