ã¨ãããã¨ã§ãå æ¥Googleから発表されたApp Inventor for Androidã§ããã幸éãªãã¨ã«æ¨æ¥ã®æ©æãç§ã®ã¨ããã«ã¦ã¼ã¶ã¼æ¨©éãå±ãã¾ããã
ã¨ããããæ¨æ©ã¨ä»ãã£ãã´ãã§ã´ãã§å¼ã£ã¦ããµã³ãã«ãä½ã£ããããã¨ããã¾ã§ã¯ããã¾ããã
ãã¦ä»åã®ã¨ã³ããªã¯
App Inventor for Androidã®åæè¨å®ã«ã¤ãã¦ãæ¥æ¬èªã§ãã£ããã¨èª¬æãããã¨æãã¾ãã
å
·ä½çã«ã¯Getting Startedå
ã®ï¼ã¤ã®ããã¥ã¡ã³ãã«ã¤ãã¦ã§ãã
大äºãªç´æ
- è±èªã¯ããã
ãããã®ã§ãæ訳ã¨ãç´è¨³ã¨ããã¾ããã
- æ訳ã£ã½ããã¨ã¯ãã¾ããææãå ¨ã¦ä¼ãããã»ã©ã®ããæ°ã¯ããã¾ãã('A`)ï¾ï¾ï¾ï¾ï½²
- ã¤ã¾ãé°å²æ°ã§ãã
- 大é ç®ã«æ²¿ã£ã¦é²ãã¦ããã¾ãã
- è¦è½ã¨ãã¨ããã£ã¦ã((ï¼ï¾Ðï¾)ï½µï¾ï½¼ï¾ï¾ ï½²
- åã®ç°å¢ã¯ç¹æ®ã§ãã
OS | Mac OS X 10.6 Snow Leopard |
---|---|
ãã©ã¦ã¶ | Safari 5.0 |
Android | SHARP IS01 / Android 1.6 |
â»Win, Linuxç°å¢ã«ã¤ãã¦ã¯å°ã触ããç¨åº¦ã«ãã¾ãã
Set up Your Computer and Phone
原文
ã¾ãã¯ããæã¡ã®ã³ã³ãã¥ã¼ã¿ï¼ç§ãå®è¡ããã®ã¯Macã®éªè±¹ã®ã¿ï¼ã¨Androidã±ã¼ã¿ã¤ã®è¨å®ãè¡ãªãã¾ãã
ãApp Inventor for Androidã(以ä¸ãApp Inventor)èªä½ã¯GmailãGoogleããã¥ã¡ã³ãã®ããã«ãã©ã¦ã¶ä¸ã§åä½ãããWebã¢ããªã±ã¼ã·ã§ã³ãã§ãããå®éã®éçºã§ã¯ãæå
ã®ã³ã³ãã¥ã¼ã¿ã«ãApp Inventor Extrasãã¨ããã½ããã¦ã§ã¢ãã¤ã³ã¹ãã¼ã«ãã¦ããã©ã¦ã¶ä¸ã®App Inventorã¨é£æºããããã¨ã«ãªãã¾ãã
Computer Setup
ã»ããã¢ããã¨ãããããåä½ç°å¢ã®ç¢ºèªã§ãã
- OS
- Macintosh: Mac OS X 10.5, 10.6
- Windows: Windows XP, Windows Vista, Windows 7
- GNU/Linux: Ubuntu 8以ä¸, Debian 5以ä¸
- ãã©ã¦ã¶
- Mozilla Firefox 3.6 以ä¸*1
- Apple Safari 5.0 以ä¸
- Google Chrome 4.0 以ä¸
- Microsoft Internet Explorer 6 以ä¸
â»ãã©ã¦ã¶ããã³ã³ãã¥ã¼ã¿ã¸ã®ã¢ã¯ã»ã¹ãéå°ã«æå¶ãããã®ï¼ã¦ã£ã«ã¹å¯¾çã½ããã¨ãããã¡ã¤ã¢ã¦ã©ã¼ã«ã¨ãï¼ã«ãããApp Inventorã®åä½ãé»å®³ãããå ´åãããã¾ãããæ°ãã¤ãã¦ã
- Java
- ã³ã³ãã¥ã¼ã¿ã«æ±ãããããã®ï¼Java 6ã®å®è¡ç°å¢(JRE 1.6ã¨ããã)
- Javaãå ¥ã£ã¦ãªã人ã¯www.java.comããè½ã¨ãã¦ã¤ã³ã¹ãã¼ã«ãããã¨ã
- ãã©ã¦ã¶ä¸ã§ã®Javaã®åä½ç¢ºèªã¨ãã¼ã¸ã§ã³ã®ç¢ºèªã¯ãä¸è¨ã®ãã¼ã¸ã¸ã¢ã¯ã»ã¹ãã¦ãã ãããæ°ç§å¾ ã¤ã¨ãã¼ã¸ã§ã³ãªã©ã®æ å ±ã表示ããã¾ãã
Javaã®ã¤ã³ã¹ãã¼ã«ã¨ãã¤ãã¤ã触ãã¦ãããªãã®ã§ãå²æãã¾ãã
Install the App Inventor Extras Software
ããã§ã¯ããã¼ã«ã«å´ã§åãApp Inventor Extrasãã¤ã³ã¹ãã¼ã«ãã¾ãã
ããããªãã¨ãããã¯ã¨ãã£ã¿ãéãã¾ããï¼å®ä½é¨æ¸ã¿ï¼
ã¤ã³ã¹ãã¼ã«ã®ãä½æ³èªä½ã¯Mac, Linux, Winã®ä¸è¬çãªæé ã«æ²¿ã£ã¦ããã®ã§ãã¤ã³ã¹ãã¼ã«ç¨ãã¡ã¤ã«(dmg, deb, exe)ã¸ã®ãªã³ã¯ã¨ç°¡åãªæé ã ãè²¼ã£ã¦ããã¾ããã
- Mac OS X用dmgファイル
- ãã¡ã¤ã«ããã¦ã³ãå¾ãä¸èº«ã®pkgãã¡ã¤ã«ãããã«ã¯ãªãã¯ãã¦ã¤ã³ã¹ãã¼ã«å®è¡ã
- Ubuntu/Debian用debファイル
- sudo dpkg --install appinventor-extras_1.0-1_all.deb
- Windows用exeファイル
- exeãã¡ã¤ã«ãå®è¡ã
ãã®ä»ãWindowsã«ã¤ãã¦ã¯å端æ«ãã¨ã®ãã©ã¤ããå¿
è¦ã«ãªããããã®ã§ã
ã端æ«å ãã©ã¤ãããããã§ã°ã°ãã¦ã¿ãã¨ä½ãããè¦ã¤ããã¨æãã¾ãã
Setting up your phone
ããä¸è¬çãªãAndroidã¢ããªéçºæã«ããã¤ã¹ã«å¯¾ãã¦è¨å®ããå 容ã§ãã
- è¨å®âã¢ããªã±ã¼ã·ã§ã³âéçºâãUSBãããã°ãããã§ãã¯
- è¨å®âã¢ããªã±ã¼ã·ã§ã³âéçºâãã¹ãªã¼ãã¢ã¼ãã«ããªããããã§ãã¯*2
- è¨å®âç»é¢è¡¨ç¤ºâãç»é¢ã®åããã®ãã§ãã¯ãå¤ã*3
ããã¾ã§è¨å®ããããAndroidã±ã¼ã¿ã¤ãUSBã±ã¼ãã«ã§ã³ã³ãã¥ã¼ã¿ã«ç¹ãã§ã¿ã¾ãããã
Androidã±ã¼ã¿ã¤ã®ç»é¢ä¸é¨ã®éç¥ã¨ãªã¢ã«ã以ä¸ã®ã¡ãã»ã¼ã¸ã表示ããã¦ãããã¨ã確èªãã¦ãã ããã
- USBæ¥ç¶*4
- USBãããã°ãæ¥ç¶ããã¾ãã
ããã§ã³ã³ãã¥ã¼ã¿ã¨Androidã±ã¼ã¿ã¤ã®è¨å®ã¯å®äºã§ãã
Connect App Inventor to Your Phone
原文
ãã¦ããããã¯App Inventorã¨Androidã±ã¼ã¿ã¤ãç¹ãã¦ããä½æ¥ã«å
¥ãã¾ãã
ã¾ãã¯ãApp Inventorã®ç¹å¾´ã«ã¤ãã¦ããããããã¦ããã¾ãããã
- ãã©ã¦ã¶ä¸ã§åä½ããWebã¢ããªã±ã¼ã·ã§ã³ã§ãã
- ãã©ã¦ã¶ä¸ã§è²´æ¹ããã¶ã¤ã³ããã¢ããªã¯ãå³åº§ã«USBçµç±ã§å®æ©ã«åæ ããã¾ãã
- å®æããã¢ããªã¯ãAndroidã¢ããªã®ãã¡ã¤ã«å½¢å¼ã§ãã.apkãã¡ã¤ã«ã¨ãã¦ãã¦ã³ãã¼ããããã¨ãã§ãã¾ãã
Create a New Project
ã¾ãã¯App Inventorã®ãã¼ã¸ã«ã¢ã¯ã»ã¹ãã¦ãã ããã
http://appinventor.googlelabs.com
æåã«éãããã®ããMy Projectsãç»é¢ã§ãã
Googleããã¥ã¡ã³ãã®ããããã¼ã¸ã¿ããã§ããã
ããã§ã¯ãã¢ããªã±ã¼ã·ã§ã³ã®æ°è¦ä½æãè¡ãªãã¾ãããã
å·¦ä¸ã®ãNewããã¯ãªãã¯ãã¦ãã ããã
ããã¸ã§ã¯ãåã¯ãHelloAppInventorãã«ãã¦ããã¾ãããã
ã¡ãªã¿ã«ãããã¸ã§ã¯ãåã¯ã¹ãã¼ã¹ç¦æ¢ã§ãããã¶ãåè§è±æ°ã®ã¿ãã使ãã¾ããã
ãã¦ãããã¸ã§ã¯ãåã決ãã¦OKãæ¼ãã¨ããDesignerãç»é¢ãéãã¾ãã
ã§ã¯ããã®ç¶æ
ããå®æ©ã§ã¢ããªãå®è¡ãã¦ã¿ã¾ãããã
ç»é¢å³ä¸ã®ãOpen the Blocks Editorããã¯ãªãã¯ãããããã¯ã¨ãã£ã¿ã¼ãç«ã¡ä¸ãã¦ãã ããã
â»ãªã³ã©ã¤ã³ã§Java Web Startæ§æãã¡ã¤ã«ï¼.jnlpï¼ãè½ã¨ãã¦ãã¦å®è¡ããã®ã§ãæ°åç§ãããã¾ãã
â»ããããããèªåã§.jnlpãã¡ã¤ã«ãã¯ãªãã¯ãã¦å®è¡ããªãã¨ãããªãããç¥ãã¾ããã
ãããã¯ã¨ãã£ã¿ã¼ãç«ã¡ä¸ãã£ãããAndroidã±ã¼ã¿ã¤ã¨ã³ã³ãã¥ã¼ã¿ãUSBã±ã¼ãã«ã§ç¹ãã£ã¦ãããã¨ï¼éç¥ãã¼ã«ãUSBãããã°ãæ¥ç¶ããã¾ãããã表示ããã¦ãããã¨ï¼ã確èªãã¦ããConnect to phoneããã¿ã³ãæ¼ãã¦ãã ããã
ãããªé¢¨ã«ããã°ãããCommunicating...ãã表示ãããå¾ã
å®æ©ã«ã¢ããªã表示ããã¾ãã
ã¨ãã£ã¦ããã¾ã ä½ãã³ã³ãã¼ãã³ããé
ç½®ãã¦ãªãã®ã§ãçã£ç½ã§ããï¼ï¼¾ï¼¾ï¼
ãã®ã¾ã¾ã ã¨å°ãå¯ããã®ã§ãå·¦å´ã®ãPaletteã(ãã¬ãã)ããã³ã³ãã¼ãã³ã(é¨å)ãé¸ãã§ç»é¢ä¸ã«é ç½®ãã¦ã¿ã¾ãããã
Labelã³ã³ãã¼ãã³ãããScreen1ãã®ç½ãã¨ãªã¢ã«ãã©ãã°ï¼ãããããã¾ãã
ãText for Label1ãã¨ããåæå¤ã®å ¥ã£ãæåã©ãã«ãé ç½®ãããã¨ãã§ãã¾ããã
次ã¯ããã®æåãå¤æ´ãã¦ã¿ã¾ãããã
ã¹ã¯ãªã¼ã³ä¸ã«é
ç½®ããã³ã³ãã¼ãã³ãã«ã¤ãã¦ã®è¨å®ã¯ãç»é¢å³å´ã®ãPropertiesãã§è¡ãªãã¾ãã
ä»åå¤æ´ããã®ã¯ãTextãã®å±æ§ã ãã§ãã
表示ããã¦ãããText for Label1ããæ¶ãã¦ããHello, App Inventor!ãã¨æ¸ãè¾¼ã¿ã¾ãããã
åæ ããã¾ãããï¼
ãã©ã¦ã¶å´ã§ã³ã³ãã¼ãã³ãï¼é¨åï¼ã®ããããã£ï¼å±æ§ï¼ãå¤æ´ããã¨ãå³åº§ã«å®æ©ã«åæ ããããã¨ãä½é¨ã§ããã§ããããã
ã¾ã¨ã
ä»åã¯ããã¾ã§ã§ãã
æ¬å½ã«åæè¨å®ã¨å¼ã¹ãé¨åã¾ã§ããã話ã§ãã¾ããã§ããã
次åã¯Tutorialsのページãè¦ãªããããããã¯ã¨ãã£ã¿ã¼ã«ããããã°ã©ãã³ã°ã解説ãããã¨æãã¾ãã
*1:Firefoxã«JavaScriptãªã©ãæå¶ãããã©ã°ã¤ã³ãå ¥ãã¦ããå ´åã¯ãªãã«ãã¦ããã¦ä¸ãã
*2:App Inventorã§ã®éçºã«ã¯å¿ é ãããã§ããæ®éã«Eclipseã¨ãã§éçºããåã«ã¯ä»»æã
*3:ãããApp Inventorã®ã¿
*4:SDã«ã¼ãã®æç¡ã§è¡¨ç¤ºãããªãããç¥ãã¾ãã