MonacaクラウドIDEで作る!AndroidThingsアプリの開発

20732baba3bf8632df70cae0007b0abc?s=47 Shinya Suefusa
June 09, 2018
1.7k

 MonacaクラウドIDEで作る!AndroidThingsアプリの開発

20732baba3bf8632df70cae0007b0abc?s=128

Shinya Suefusa

June 09, 2018
Tweet

Transcript

  1.   Ϋϥ΢υ*%&Ͱ࡞Δʂ .POBDB6(0,":"." ϐʔϓϧιϑτ΢ΣΞגࣜձࣾ ຤๪৳໵ ΞϓϦͷ։ൃ

  2. $PQZSJHIU˜1&01-&40'58"3&$03103"5*0/"MM3JHIUT3FTFSWFE   ࣗݾ঺հ େ౎ձԬࢁͰ׆༂தɻ ಘҙͳ͓࢓ࣄ ɹେن໛8FCγεςϜͷߏஙʢ1. ΞʔΩςΫτʣ ɹϞόΠϧ޲͚ϋΠϒϦουΞϓϦͷ։ൃʢ"OESPJE J04ʣ

    *5ͱͷؔΘΓ ɹখֶੜͷ࣌ʹɺ਌෕͕ങ͖ͬͯͨ.49 Ͱ#"4*$Λ֮͑ͨͷ ͕͸͡·Γɻ ޷͖ͳήʔϜ ɹυϥΫΤᶘʜջ͔͍͠ʂ ɹ''ᶛʜҰ൪޷͖X ϐʔϓϧιϑτ΢ΣΞגࣜձࣾ ੢೔ຊࣄۀ෦ ຤๪৳໵ 4VFGVTB4IJOZB  !4IJOZB4VFGVTB
  3. $PQZSJHIU˜1&01-&40'58"3&$03103"5*0/"MM3JHIUT3FTFSWFE   .POBDBͬͯͳΜ͚ͩͬʁ .POBDBͬͯͳΜ͚ͩͬʁ ωΠςΟϒݴޠ࢖Θͳͯ͘΋)5.-ͱ+BWB4DSJQUͰεϚϗΞϓϦΛ࡞ΕΔΫϥ΢υαʔϏε Ͱ͢ɻ "QBDIF$PSEPWB͕ϕʔεʹͳ͍ͬͯͯɺΫϥ΢υ*%&ͰεϚϗΞϓϦͷϏϧυ·Ͱߦ͑·͢ɻ

  4. $PQZSJHIU˜1&01-&40'58"3&$03103"5*0/"MM3JHIUT3FTFSWFE   .POBDB*%& .POBDB*%&͸΢Σϒϒϥ΢βͰεϚϗΞϓϦΛ࡞੒Ͱ͖Δ8FCαʔϏεͰ͢ɻ ΋ͪΖΜɺϩʔΧϧͰ޷͖ͳΤσΟλͰ։ൃ͢Δ͜ͱ΋ՄೳͰ͢ɻ

  5. $PQZSJHIU˜1&01-&40'58"3&$03103"5*0/"MM3JHIUT3FTFSWFE   ͱ͜ΖͰ ͱ͜ΖͰɺεϚϗͬͯ"OESPJE͔J1IPOF͔ͬͯΠϝʔδͰ͢ΑͶɻ "OESPJEͱݴ͑͹ɺ೥݄ʹ(PPHMF͕*P5σόΠε޲͚ͷ"OESPJEΛެ։͠·ͨ͠ɻ "OESPJE5IJOHTͱ͍͏໊લͰ͢ɻ ೥݄೔"OESPJE5IJOHTਖ਼ࣜϦϦʔεʂʂʂ

  6. $PQZSJHIU˜1&01-&40'58"3&$03103"5*0/"MM3JHIUT3FTFSWFE   *P5ͬͯ *P5ͬͯ࠷ۙΑ͘ฉ͖·͢ΑͶɻ ηϯαʔͱ͔͚ͭͯ৘ใΛѻ͏ίϯϐϡʔλΛ࢖ٕͬͨज़Ͱ͢Ͷɻ ࢲͷΑ͏ͳγεςϜΤϯδχΞ͸ɺͦͷ*P5σόΠε͕ूΊ͖ͯͨ৘ใΛॲཧ͢ΔγεςϜΛ࡞Δػձ ͕͋Δ͔΋͠Ε·ͤΜɻ ͦͷγεςϜΛϦϞʔτͰεϚϗ͔Βࢀরͨ͠ΓɺσʔλΛొ࿥ͨ͠Γɾɾͱ͍ͬͨΞϓϦ։ൃ΋͢Δ ͔΋͠Ε·ͤΜͶɻ

  7. $PQZSJHIU˜1&01-&40'58"3&$03103"5*0/"MM3JHIUT3FTFSWFE   Ͱ΋ɾɾɾ Ͱ΋*P5σόΠεͷΞϓϦΛ։ൃ͢Δͷ͸͕͢͞ʹ೉ͦ͠͏ɾɾɾͬͯࢥ͍·ͤΜ͔ʁ ૊ΈࠐΈͷ$ݴޠͱ͔ɺ04͸͋ͬͯ΋-JOVYͱ͔࢖͏ΜͰ͠ΐɾɾɾʁ ૊ΈࠐΈɾɾɾʁ $ݴޠɾɾɾʁ -JOVYɾɾɾʁ ʀƅЧƅ

    ŜƄŞŜƄŞŲƄſŲƄſ ͯ͞ɺઌ΄Ͳ*P5σόΠε޲͚"OESPJE͕͋Δͬͯݴ͍·ͨ͠ɻ ͦΕͬͯɺ"OESPJEΞϓϦ࡞ΕΔਓͳΒ*P5σόΠεΞϓϦ΋։ൃͰ͖Δɾɾʁ "OESPJEͬͯ΋ͱ΋ͱεϚϗͷϓϥοτϑΥʔϜͰ͢ΑͶɻ ΋͔ͯ͠͠.POBDBͰ΋։ൃͰ͖Δͬͯ͜ͱͰ͔͢ʁ
  8. $PQZSJHIU˜1&01-&40'58"3&$03103"5*0/"MM3JHIUT3FTFSWFE   ౴͑͸ ౴͑͸ :FTͰ͖ΔΜͰ͢ɻ )5.-ͱ+BWB4DSJQU͕Ͱ͖Ε͹ɺ.POBDBͰεϚϗ༻ΞϓϦΛ։ൃ͢Δͷͱಉ͡Α͏ʹɺ*P5σόΠεΛΧϯ λϯʹಈ͔ͤͯ͠·͍·͢ʂ ߋʹʂ.POBDB͸$PSEPWBϓϥάΠϯΛαϙʔτ͍ͯͯ͠ɺϞόΠϧόοΫΤϯυΫϥ΢υαʔϏε΋ར ༻͢Δ͜ͱ͕ՄೳͰ͢ɻʢฐࣾαʔϏεͷ#BB4!SBLV[B΋΋ͪΖΜ0,ʂʣ

    Ϟϊ ιϑτ΢ΣΞ Πϯλʔωοτ ݱࡏɺ(PPHMF͕αϙʔτ͍ͯ͠Δ*P5σόΠεʹ͸͍͔ͭ͘ͷػछ͕͋Γ·͕͢ɺ΋ͬͱ΋ೖख͕༰қͳ 3BTQCFSSZ1JͰ*P5ΞϓϦΛ࡞ͬͯΈ·ͨ͠ɻ
  9. $PQZSJHIU˜1&01-&40'58"3&$03103"5*0/"MM3JHIUT3FTFSWFE   /'$ΧʔυΞϓϦΛ࡞ͬͨ ͱ͍͏͜ͱͰɺ 3BTQCFSSZ1Jʹ/'$ηϯαʔΛͭͳ͍Ͱ/'$ΧʔυΞϓϦΛ
 ࡞Γ·ͨ͠ɻ

  10. $PQZSJHIU˜1&01-&40'58"3&$03103"5*0/"MM3JHIUT3FTFSWFE   ࢓૊Έ ࢓૊ΈΛਤʹ͢Δͱ͜͏ͳ͍ͬͯ·͢ɻ εϚʔτϑΥϯ *P5σόΠε Ϋϥ΢υαʔϏε σʔλࢀর σʔλߋ৽

    ϓογϡ௨஌ґཔ σʔλࢀর ϓογϡ௨஌
  11. $PQZSJHIU˜1&01-&40'58"3&$03103"5*0/"MM3JHIUT3FTFSWFE   ϙΠϯτ • "NB[POͰ̒̌̌ԁͰചͬͯΔ/'$λάϦʔμʔΛ.POBDB͔Β੍ޚͰ͖ͨ εϚϗʹ಺ଂͷηϯαʔ͔͠ѻ͑ͳ͍εϚϗΞϓϦ͔Βɺ*P5ΞϓϦ΁ɻ
 ͞Βʹɺ*P5ΞϓϦ΋)5.-ʴ+BWB4DSJQUͰͭ͘Δ࣌୅΁ɻ • 3BTQCFSSZ1J޲͚ͷσόΠευϥΠό

    5IJOHT޲͚ͷ+BWBίʔυ ͕ଟ਺ެ։͞Εͯ ͍ΔͨΊɺϓϥάΠϯԽ͕༰қ υϥΠόͷؔ਺ΛϓϥάΠϯͷ+BWB4DSJQU͔ΒݺͿʮϒϦοδؔ਺ʯ͚ͩॻ͚͹0,ɻ (JU)VCͰެ։தIUUQTHJUIVCDPN4IJOZB4VFGVTBDPSEPWBQMVHJOUIJOHT • *P5΍ϋʔυ෼໺Ͱۤखͳ(6*ͷߏங͕ඇৗʹΧϯλϯ
 "OHVMBS+4Ͱηϯαʔͷঢ়ଶΛίϯτϩʔϧͰ͖ΔͳͲɺΞΠσΞ࣍ୈɻ • σόοά͕Χϯλϯ
 (PPHMF$ISPNFͷΠϯεϖΫλͰσόοάՄೳɻ
  12. $PQZSJHIU˜1&01-&40'58"3&$03103"5*0/"MM3JHIUT3FTFSWFE   ࠔͬͨͱ͜Ζ • "OESPJE.BOJGFTUͳͲͷઃఆ͕ͳ͔ͳ͔໽հ "OESPJE5IJOHT͸"OESPJEϕʔε
 ˠ4%,όʔδϣϯͷઃఆͳͲࡉ͔͘ௐ੔͕ඞཁ
 εϓϥογϡεΫϦʔϯͷϦιʔεը૾ͱͯ͠QBUDI͔Βरͬͯ͘Εͳ͍ ύʔϛογϣϯઃఆͨ͋͠ͱ"1,Πϯετʔϧ࣌ʹݖݶ෇༩͠ͳ͍ͱಈ͔ͳ͍ɹʜFUD

    • άϥϑΟοΫΞΫηϥϨʔλ͕ΤϛϡϨʔλ "OESPJE5IJOHT͸0QFO(-&4Λ$16ϕʔεͰ࣮૷͍ͯ͠Δɻʢ4XJGU4IBEFSʣ
 ΊͪΌͪ͘Ό஗͍ʢϘλϯΛλοϓ͢ΔͱɺϦοϓϧΤϑΣΫτͷϨϯμϦϯάͰΞϓϦ͕Ϋϥογϡ͠·͢ʣ
 ࢓ํͳ͍ͷͰɺIBSEXBSF"DDFMFSBUFEΛ0GGʹɻ • ΧελϜϏϧυσόοΨʔ͕ىಈͰ͖ͳ͍ "OESPJE൛ͷ.POBDBσόοΨʔ͸ॳճىಈ࣌ʹը໘ΦʔόʔϨΠઃఆΛΠϯςϯτͰىಈ͢Δ͕ɺ"OESPJE5IJOHT ͸γεςϜͷઃఆը໘͕ແ͍ͨΊΠϯςϯτىಈͰ͖ͳ͍ʂʢΫϥογϡ͠·͢ʣ ͳͷͰɺΞϓϦΛमਖ਼͢ΔͨͼʹϏϧυࡇΓ͕։࠵͞ΕΔɻ • ΞϓϦͷىಈɾऴྃɾ࠶ىಈ͕໘౗ σϑΥϧτͷϥϯνϟʔΞϓϦ͕ϥϯνϟʔʹͳ͍ͬͯͳ͍ Ͱ͖Δͷ͸8J'Jͷઃఆ͘Β͍ 
 ΞϓϦΛىಈɾऴྃɾ࠶ىಈ͢Δͷʹ"%#ίϚϯυ΍ిݯ0GG0Oͷૢ࡞͕͍Δɻ
  13. $PQZSJHIU˜1&01-&40'58"3&$03103"5*0/"MM3JHIUT3FTFSWFE   ΋ͬͱ͍͍ͱ͜Ζ *P5σόΠεΛ.POBDBͰ։ൃͰ͖ΔϝϦοτ͸ଞʹ΋ͨ͘͞Μ͋ͬͯɺ ✓ ֶशίετ͕௿͍ʂ ✓ .POBDBͷϓϥάΠϯ͕ͦͷ··࢖͑Δʂ ✓

    Πϯλʔωοτʹͭͳ͛͹ɺΫϥ΢υʹΞΫηεͰ͖ͪΌ͏ʂ ✓ ͦͯ͠ɺ։ൃίετ΋҆͘ͳΔʂʂ ϋζ  ͱɺ͍͍͜ͱͮ͘ΊͰ͢ɻ ιϑτ΢ΣΞͷ࿮ʹͱΒΘΕͣɺ ࢲͨͪͷΑ͘஌ٕͬͨज़ͰϞϊΛѻ͑Δ͍ͬͯ͢͜͝ͱͰ͢Ͷʂ
  14. $PQZSJHIU˜1&01-&40'58"3&$03103"5*0/"MM3JHIUT3FTFSWFE   ͓·͚ ͜Μͳ΋ͷ΋࡞ΕͪΌ͍·͢ɻ .POBDBͰ͸ؤுΕ͹ϏϧυͰ͖Δͦ͏ͳͷͰ͕͢ɺ ࣌ؒͷ౎߹্$PSEPWBͰϏϧυ͍ͯ͠·͢ɻ

  15. $PQZSJHIU˜1&01-&40'58"3&$03103"5*0/"MM3JHIUT3FTFSWFE   ຊ೔ͷಈը ຊ೔͝঺հͨ͠ಈը͸:PV5VCF͔Β͝ཡ͍͚ͨͩ·͢ɻ https://youtu.be/ruoTnMewJls "OESPJE5IJOHTͰ/'$ΧʔυΞϓϦ Λ࡞ͬͯΈͨ https://youtu.be/OZe0dcU5OpM "OESPJE5IJOHTͰ31(πΫʔϧ

    Λಈ͔ͯ͠Έͨ
  16. $PQZSJHIU˜1&01-&40'58"3&$03103"5*0/"MM3JHIUT3FTFSWFE   ຊ೔͸͝ࢹௌ͋Γ͕ͱ͏͍͟͝·ͨ͠