æ¥ã9æ21æ¥ï¼éï¼ã«ããã£ã1æ¥ã§åºæ¬ã身ã«ä»ãï¼ãAndroidã¢ããªéçºè¶ å ¥éãã¨ããæ¬ãæè¡è©è«ç¤¾ããããåºããã¨ã«ãªãã¾ãããé»åæ¸ç±çãããã¾ãã
ãã£ã1æ¥ã§åºæ¬ã身ã«ä»ã! Androidã¢ããªéçºè¶ å ¥é
- ä½è : ä¸å·å¹¸å
- åºç社/ã¡ã¼ã«ã¼: æè¡è©è«ç¤¾
- çºå£²æ¥: 2018/09/21
- ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼
- ãã®ååãå«ãããã°ãè¦ã
人çåã®åæ¥åãåèã§ãï¼ãããã©ãã£ããä¸ã®ä¸ã®åèerã®çãããããã
ããããæãåºãããã®ã§ãåºçã«ããã£ã¦ã®ãããããæ¸ãã¦ã¿ããã¨æãã¾ãã
ã©ããªæ¬ãªã®ï¼
ããã°ã©ãã³ã°æªçµé¨è ãAndroidæªçµé¨è ã®æ¹ããæ¬ã®å 容ã§æãåãããªããï¼ãããããåçµããããªããï¼Javaè¨èªãAndroid Studioã®ä½¿ãæ¹ãå¦ãã§ããæ¬ã§ãã
åå¦è åãã®æ¬ã«ããã«ããã£ã¦ã次ã®3ç¹ã工夫ãã¦ãã¾ãã
- Android Studioãæ¥æ¬èªåãã¦ãã§ããã ã解説ã«è±èªãåºã¦ããªãããã«ãã
- Javaè¨èªã«ã¤ãã¦ã®è§£èª¬ã¯æä½éã«ãã
- ã¬ã¤ã¢ã¦ãã¯GUIã¨ãã£ã¿ã¼ã®ã¿ã§è¡ã
ä½è¨ãªåæç¥èãæ±ããã¨ãèºãã¦ãã¾ãæ¹ããããã ã£ãã®ã§ãã§ããã ãåæç¥èãæ±ããã«ãå¦ã³ãããã¨ãã¹ãã¬ã¼ãã«å¦ã¹ãããã«ããå½¢ã«ãªãã¾ãã
Android Studioã®æ¥æ¬èªå
Android Studioãæ¥æ¬èªåãããããã§ã解説ã®ä¸ã§åºã¦ããæè¨ã®å¤ããæ¥æ¬èªã«ãããã¨ãã§ãã¾ããã
è¦æ
£ããªãã¢ã«ãã¡ãããã®åèªãå
¥ãæ··ãã£ãæç« ã¯ã³ã³ããã¹ãã¹ã¤ãããå¤ããªããããªã®ã§ãè¯ãåãçµã¿ã ã£ãã¨æãã¾ããã ããã¨ãã£ã¦ã«ã¿ã«ãã大éã«åºã¦ããããã«ãªã£ãã®ãè¯ãã£ãã®ãã¨ããã¨æªããã§ãããScrollView
ã®ãããªã¯ã©ã¹åã¯ãã®ã¾ã¾è¡¨è¨ãã¦ããã®ã§ãã©ã®ãããèªã¿ãããã«å¯ä¸ããã®ãã¯ãèªè
ã®ææ³ãå¾
ã¡ããã¨ããã§ãã
Javaã説æããããªã
æ¬æ¸ã¯ããã°ã©ãã³ã°æªçµé¨è ã対象ã«ãã¦ãããããJavaè¨èªã«ã¤ãã¦ã®è§£èª¬ãè¡ãã¾ãããåçµãã¦ããä¸ã§ç»å ´ãããå¤æ°ãã¡ã½ããã¨ãã£ãæä½éã®è¦ç´ ã ãã解説ãã¦ãã¾ãã
æãåã£ãç¹ã¨ãã¦ãã¯ã©ã¹ã«ã¤ãã¦ã®è§£èª¬ãã»ã¨ãã©ãã¦ãã¾ãããã¯ã©ã¹ã®æ¸ãæ¹ã解説ãå§ããã¨ééãªã話é¡ãè¨ããã§ããããã§ãã
èªä½ã®ã¯ã©ã¹ãæ´»ç¨ããã«Androidã¢ããªãä½ã£ã¦ããã¨ãèªç¶ã¨Fat Activityã«ãªãã¾ããããèªä½ã¯å¾ã ã«åé¡ãå¼ãèµ·ããå¯è½æ§ã¯ããã¾ãããã ããããåé¡ã«ãªããããã«ã³ã¼ããããããæ¸ããããã«ãªã£ã人ãªããæ¬æ¸ã§ã¯ãªããã£ã¨å¥ã®æ¬ããã£ããããããã«ãªã£ã¦ããã¯ãã§ãã
ãã®ããã£ã1æ¥ã§ãã·ãªã¼ãºã®è¯ãã¯èããæ軽ãã§ãããAndroid Javaã®æ£ããããèªãéããªãããã«ããã¤ãããªã®ã§ãèªè ããµã¯ãµã¯èªã¿é²ããããããããªã¨æãã¾ãã
ã¬ã¤ã¢ã¦ãã¨ãã£ã¿ã¼ã¯ãã¶ã¤ã³ã¢ã¼ãã®ã¿
ã¬ã¤ã¢ã¦ãä½æã®è§£èª¬ã¯ãã¬ã¤ã¢ã¦ãã¨ãã£ã¿ã¼ã®ãã¶ã¤ã³ã¢ã¼ãã®ã¿ã§è¡ãã¾ãããã¬ã¤ã¢ã¦ãã®è§£èª¬ã«XMLã¯ç»å ´ãã¾ãããããã¯çè ã®ãã ããã§ãã
XMLãæ¸ããªãããã¬ãã¥ã¼ãè¦ãã¹ã¿ã¤ã«ãçè ã¯å¥½ãã§ãããåå¦è æ代ãæãåºãã¦è¦ãã¨ãJavaã¨XMLãè¡ã£ããæ¥ããããã®ã¯å°å³ã«å¿ãæãããã«ãªããã¤ã³ãã ã£ãè¨æ¶ãããã¾ãã
ç¾ä»£ã®Android Studioã«ã¯ãConstraintLayoutãç¨ãããããããå®ç¨çã¨ãããWYSIWYGãªã¬ã¤ã¢ã¦ãã¨ãã£ã¿ã¼ãããã¾ãããããªãã°å¿ççãªéå£ãå¹¾åãä½ããªãã®ã§ã¯ãªããã¨èããå ¨ç·¨ã§æ¡ç¨ãã¾ããããã©ãã°ï¼ããããã§å¶ç´ãä»ãã¦ããä½æ¥ã«ã¤ãã¦ã¯ãéãããç´é¢ã®ä¸ã§ãã§ããã ãä¸å¯§ã«è§£èª¬ããã¤ããã§ããã¢ããªéçºã®ééå³ã®ã²ã¨ã¤ãã¬ã¤ã¢ã¦ãä½æã楽ããä½é¨ãã¦ããããã°ã¨æãã¾ãã
ä½è«ã¨ãã¦â¦â¦æ¬æ¸ã¯Android Studio 3.1.4åãã«æ¸ããã®ã§ãAndroid Studio 3.2ã§å°å ¥ãããããã²ã¼ã·ã§ã³ã¨ãã£ã¿ã¼ãç¨ããç»é¢é·ç§»ã®å®ç¾©ã¯çãè¾¼ãã¾ããã§ããï¼ããããç»é¢é·ç§»ãåãæ±ãç´é¢ã®ä½è£ããªãã£ãã®ã§ãã:-pï¼ã2019å¹´ã«ä¼¼ããããªæ¬ãåºã¦ããã¨ãã«ã¯ãæ¯éããã²ã¼ã·ã§ã³ã¨ãã£ã¿ã¼ã®è§£èª¬ãå«ã¾ãã¦ãã¦ã»ãããªãã¨æãã¾ãã
å·çã®çµç·¯
æè¡è©è«ç¤¾ããã§åè¡ãã¦ãããã£ã1æ¥ã§åºæ¬ã身ã«ä»ãï¼ã·ãªã¼ãºã®Android Studioçãä½ãããã¨ããä¼ç»ãå ã«ããã1æã«ç¥äººãéãã¦å£°ããããã¾ãããã¾ãã«éã£ã¦æ¹§ãããããªãã£ã³ã¹ã ã£ãã®ã§ãæä½éã®èª¿æ´ã ããè¡ã£ã¦ãã»ã¼äºã¤è¿äºã§OKãã¾ããã
ããã¾ã§ã«æ¸ãããã¨ããã£ãä¸ã§æãé·ãæ¬ã¯ã88Pã®æè¡æ¸å ¸4æ¬ã§ããã
200ãã¼ã¸è¶ ã®å·çã¯åãã¦ã ã£ãã®ã§ãããªãä¸å®ãããã¾ãããã¨ã¯ãããããã¾ã§å¤§ãããã£ã³ã¹ã¯æ» å¤ã«æ¥ã¾ãããå¤å°èªä¿¡ããªãç¨åº¦ã§éãããã«ããããªãã£ãã®ã§ããã
å½åã®äºå®ã§ã¯5æãããã¾ã§ã«æ¸ãä¸ãã¦ã7æåè¡ãããã®ã¹ã±ã¸ã¥ã¼ã«ãå¼ãã¦ããæ°ããã¾ãããçè ã®é çãåå ã§ããããã¨å»¶ã³ã¦ã8æå ¥ç¨¿ã¨ãªãã¾ãããé¢ä¿è ã®çããã«ã¯ãè¿·æãããããã¾ããã
å·çã®ä½å¶
å·çã®ä½å¶ã«ã¤ãã¦ã¯ããã£ããã¨æ¬¡ã®ãããªæãã§ãã
- ç·¨éãããã¯ã·ã§ã³ã¨ã®ããåã
- GitHubã¨Slackã§Issue管çã¨é£çµ¡ãè¡ã
- å·çç°å¢ï¼ã¡ã³ã¿ã«ï¼
- éä¸ã§ããããã«ãããã«ãã§ã«å ¥ã浸ã
- å·çç°å¢ï¼ã·ã¹ãã ï¼
- VivlioStyleã§Markdown+CSSçµçã§æ¸ãã
- Macã§æ¸ããããããã ãã«VPNãå¼µã£ã¦ãªã¢ã¼ããã¹ã¯ããããè¨å®ãã
- å稿ã®å·®å管çã¯Gitã§è¡ã
- 以éã®æ ¡æ£ä½æ¥ã¯PDFãã¼ã¹ã§ã³ã¡ã³ããä»ãã
æ¥æ¬èªã®æç« ã®å·®å管çã«ãGitã使ãã®ãæç¨ãªã®ã¯ãããã°ã©ãã¼ã®éã§ã¯èªç¥ããã¦ãã¦ãããã¨ã§ããã
å人çã«é¢ç½ãåãçµã¿ã ã£ããCSSçµçã¨ãªã¢ã¼ããã¹ã¯ãããã«ã¤ãã¦æãä¸ãã¾ãã
CSSçµç
ä»åã®æ¬ã¯ç·¨éãããã¯ã·ã§ã³ã®ãªããã¯ã¼ã¯ã¹ããã¨ä¸ç·ã«ä½ã£ãã®ã§ããããªããã¯ã¼ã¯ã¹ããã§ã¯VivlioStyleã¨ããCSSçµçã®ãã¼ã«ã«Markdownãçµã¿åãããå·çç°å¢ãç¨æãã¦ããã¦ãã¾ãã
Atomã«ãã©ã°ã¤ã³ãå ¥ãã¦ããã°ãå®éã®æ¬ã¨åããããªè¦ãç®ã§ãã¬ãã¥ã¼ããªãããå·çãè¡ããã¨ãã§ãã¾ãã
ReVIEWã«ããªã¢ã«ã¿ã¤ã ãã¬ãã¥ã¼ãè¡ããã¼ã«ã¯ãã£ãã®ã§ãå·çä½é¨ã¨ãã¦ã¯æ¢ç¥ã®ï¼ç´ æ´ãããï¼ãã®ã§ãããããã¡ãã®ã»ããããå®ç©ã«è¿ãå½¢ã§å®ç¾ããã¦ããã®ã§ã楽ããå·çã§ãã¾ããã
ãªã¢ã¼ããã¹ã¯ããã
ä»åã®æ¬ã¯Windowsåããªã®ã§ãAndroid Studioã®åä½ç¢ºèªãã¹ã¯ãªã¼ã³ã·ã§ããã®æ®å½±ã¯Windowsä¸ã§è¡ãå¿ è¦ãããã¾ãããä¸æ¹ã§ãç§ã¯æ®æ®µMacã使ã£ã¦ãããæãæãã¹ã ã¼ãºã«åãã®ã¯Macã§ããEmacsãã¼ãã¤ã³ãã«æãæ±æããã¦ããããXKeymacsã¯å¥½ã¿ãããªãã®ã§ä»æ¹ãªãã§ããã
Android Studioã®æä½ãWindowsã«æºãããã®ã«ãªãã®ã¯åé¡ãªãã£ãã®ã§ãããAtomã§æ¥æ¬èªãå ¥åãã¦ããã¨ãã«Windowsã®ãä½æ³ã«ç¸ãããã®ã¯å«ã§ããããWindowsä¸ã«å¿«é©ãªç°å¢ãä½ãä¸ããå´åãæãã®ãå«ã§ããã
ä»æ¹ããªãã®ã§ãMacããWindowsãã·ã³ã«ãªã¢ã¼ããã¹ã¯ãããã§ã¢ã¯ã»ã¹ããAndroid Studioã触ããã¨ã«ãã¾ãããWindowså´ã§æ®å½±ããã¹ã¯ãªã¼ã³ã·ã§ããã¯èªåã§Dropboxã®ãã©ã«ãã«å ¥ãããã«ãã¦ãã»ã¼ãªã¢ã«ã¿ã¤ã ã§Macå´ã«å ±æãããããã«ãã¾ããã
ã¾ããåè¿°ã®ã¨ããããããã«ãã§ã§ã®ä½æ¥ãå¤ãã£ããããèªå® ã®å¤ããã§ãWindowsãã·ã³ã«ç¹ãããããVPNãè¨å®ãã¾ãããããã§å¿«é©ãªå·çç°å¢ã®å®æã§ãã
ãã®ç°å¢ãã§ããã¾ã§ããªããªãæç« ãæ¸ãå§ããããªãã£ãã®ã§ãæ å½ãããããããããã¦ãã¾ã£ã¦é常ã«ç³ã訳ãªãã£ãã§ãâ¦â¦
ã°ã©ã³ãã¹ã©ã éæ
ããã¯æ¬ã®å 容ã¨é¢ä¿ãªãã§ãã
ä»åã®åºçã®ãããã§ãããã¾ã§æ¬ã®å½¢ã§å·çãã¦ãããã®ãªã¹ãã次ã®ããã«ãªãã¾ããã
ã¿ã¤ãã« | åºçå¹´æ | åºç | å½¢æ |
---|---|---|---|
ã¯ãããï¼ Corona SDK | 2011å¹´7æ | é人åºçä¼ï¼åæ¥ï¼ | é»åæ¸ç±ï¼åèï¼ |
TechBoosterã®åäººèª | éæ | TechBoosterï¼åäººï¼ | ç´ã»é»åæ¸ç±ï¼å ±èï¼ |
Effective Android | 2013å¹´8æ | é人åºçä¼ï¼åæ¥ï¼ | é»åæ¸ç±ï¼å ±èï¼ |
Effective Android | 2014å¹´1æ | ã¤ã³ãã¬ã¹ï¼åæ¥ï¼ | ç´ï¼å ±èï¼ |
Cheap Dive into React Native | 2018å¹´4æ | è¶å¾å±ï¼åäººï¼ | ç´ã»é»åæ¸ç±ï¼åèï¼ |
ãã£ã1æ¥ã§åºæ¬ã身ã«ä»ãï¼ Androidã¢ããªéçºè¶ å ¥é |
2018å¹´9æ | æè¡è©è«ç¤¾ï¼åæ¥ï¼ | ç´ã»é»åæ¸ç±ï¼åèï¼ |
ãã®è¡¨ãèªã¿æãã¦ã¿ãã¨ããªãã¨ã(åæ¥|å人)ã(é»å|ç´)ã(åè|å ±è)ã®çµã¿åãããå ¨ãã¿ã¼ã³ç¶²ç¾ ãã¦ããã®ã§ãã
- åæ¥ã»é»åã»åèï¼Corona SDKï¼
- åæ¥ã»é»åã»å ±èï¼Effective Androidï¼
- åæ¥ã»ç´ã»åèï¼ãã£ã1æ¥ã§ï¼
- åæ¥ã»ç´ã»å ±èï¼Effective Androidï¼
- å人ã»é»åã»åèï¼Cheap Diveï¼
- å人ã»é»åã»å ±èï¼ã¦ãã¶ï¼
- å人ã»ç´ã»åèï¼Cheap Diveï¼
- å人ã»ç´ã»å ±èï¼ã¦ãã¶ï¼
ã°ã©ã³ãã¹ã©ã éæã¯è¨ãéããã*1ã§ãããã¡ãã£ã¨ããéææãããã¾ãã
ãã®7å¹´éãããããæ¸ãã¦ãããã ãªããã¨ãã¿ãã¿ãã¦ãã¾ãã¾ãããæ¬ãæ¸ã楽ãããæãã¦ãããçããã«ã¯æè¬ããã°ããã§ãã
ä»å¾ããæ©ä¼ãè¦ã¤ãã¦æ¬ãæ¸ãã¦ããããã¨æãã¾ãã®ã§ããããããé¡ããã¾ãã
ã¾ã¨ã
妻ãç·¨éããã«å©ãã¦ããããªãããä½ã¨ãæ¬ãæ¸ãä¸ãããã¨ãã§ãã¾ããããã®è¦æ¨¡ã«ãªã£ã¦ããã¨ãã¨ã¦ããããªãã§ããèªåã®åã ãã§ããã¾ããã¨ã¯è¨ãã¾ãããæ¬ã¥ããã£ã¦è²ããªäººã®åã§æãç«ã£ã¦ããã ãªã¼ã¨æãã¾ããã
çè ãAndroidãããå§ããã¨ãã«ããå¤ãã®æ¸ç±ã«å©ãããã¾ãããç§ã®æ¬ããç¾ä»£ã®åå¦è ã®å©ãã«ãªãã°ãæå¤ã®åã³ã§ãããã®æ¬ã§å ¥éããèªè ã5å¹´å¾ãããã«DroidKaigiã§ç»å£ãã¦ãããããæ³£ãã®ã§ãããããæ¹ãããã°5å¹´å¾ã«ã声ãããã ããã
æ¸åºã«POPã¨ãæã¡è¾¼ãã ãç½®ãã¦ããããã®ããªâ¦â¦
*1:ç´åªä½ã®éèªé£è¼ã¨ãã¯ãããã¨ãªãã§ããã