7æ17æ¥éå¬ã®ABC 2011 Summerã§ãApp Inventorå ¥éãã¨ããã¿ã¤ãã«ã§ã¯ã¼ã¯ã·ã§ãããè¡ãã¾ããã
ABC 2011 SummerãAppInventorã®èª¬æã¯ãã¡ã
ABCでApp Inventor入門ワークショップを行います! - gabuchanの日記
ã¹ã©ã¤ã
é³å£°èªè + Twitterã¤ã¶ããã¢ããªã®ä½ãæ¹
ã¹ã©ã¤ãã®å®æ¼é¨åã¯å®éã«ã¢ããªãä½ããªãã解説ããã®ã§ã¹ã©ã¤ããããã¾ããã
以ä¸ã§èª¬æãããã¨æãã¾ãã
ã¯ããã«
- App Inventorã®ã¤ã³ã¹ãã¼ã«
- Googleã¢ã«ã¦ã³ãï¼Gmailã¢ã«ã¦ã³ãï¼ã®åå¾
- ããã¸ã§ã¯ãã®ä½æ
ã¾ã§ã¯æ¸ãã§ããã¨ãããã説æãã¾ãã
Designerã§ã³ã³ãã¼ãã³ããç½®ã
1. ãã°ã¤ã³ãã¿ã³ã¨ã¤ã¶ãããã¿ã³ãç½®ãã¾ãã
Buttonã³ã³ãã¼ãã³ããç½®ãã¦ãå³å´ã®Textããããã£ãç·¨éãã¦ãã¿ã³ã®è¡¨ç¤ºæåãè¨å®ãã¦ãã ãããå ¥åãã¦ã¨ã³ã¿ã¼ãã¼ãæ¼ãããä»ã®å ´æãã¯ãªãã¯ããã¨ç·¨éã確å®ãã¦ãViewerã®ãã¿ã³ã®æåãå¤æ´ãããã¯ãã§ãã
2. é³å£°èªèã³ã³ãã¼ãã³ããç½®ãã¾ãã
Other stuffãã¯ãªãã¯ãã¦ãSpeechRecognizerã³ã³ãã¼ãã³ããç½®ãã¦ãã ããã
3. Twitterã³ã³ãã¼ãã³ããç½®ãã¾ãã
Socialãã¯ãªãã¯ãã¦ãTwitterã³ã³ãã¼ãã³ããç½®ãã¦ãã ããã
é³å£°èªèï¼SpeechRecognizerï¼ã³ã³ãã¼ãã³ãã¨Twitterã³ã³ãã¼ãã³ãã¯ç»é¢ã«è¡¨ç¤ºãããªãã³ã³ãã¼ãã³ããªã®ã§ãViewerã®ä¸é¨ã«ä¸ã®ããã«è¡¨ç¤ºããã¾ãã
4. Twitter APIãå©ç¨ããããã«ConsumerKeyã¨ConsumerSecretãè¨å®ãã¾ãã
Componentsã§Twitter1ãã¯ãªãã¯ãã¦ãConsumerKeyããããã£ãConsumerSecretããããã£ã«ãããã以ä¸ã®ãªã³ã¯å ã®å¤ãã³ãããã¦ãå ¥åãã¦ãã ããã
ãã®ConsumerKeyã¨ConsumerSecretã¯ã¯ã¼ã¯ã·ã§ããç¨ã«ç¨æãããã®ãªã®ã§ä»ã®ç®çã«å©ç¨ããªãã§ãã ããããããå°ã£ããã¨ãèµ·ãããå©ç¨ãåæ¢ããå¯è½æ§ãããã¾ããããããã¨ãã®ã¢ããªãåä½ããªããªãã¾ãã
ConsumerKeyã¨ConsumerSecretã®åå¾æ¹æ³ã¯å¥ã®ã¨ã³ããªã¼ã«æ¸ããã¨æãã¾ãã
ã¨ãããããããã§Designerã§ã®ä½æ¥ã¯å®äºã§ãã
5. Blocks Editorãèµ·åããã
å³ä¸ã®ãOpen the Blocks Editorããã¯ãªãã¯ãã¦ãBlocks Editorãèµ·åãã¾ãããããã¦ã³ãã¼ããããæ¡å¼µåã .jnlp ã®ãã¡ã¤ã«ãä¿åãã¦ããéããç´æ¥éãã¨Blocks Editorãèµ·åãã¾ãã
Windowsç°å¢ã®æ¹ã§ä½åº¦ããã¤ã¢ãã°ã表示ãããå ´åã¯ãåºæ¬çã«OKã§å
ã«é²ãã§ãã ããã
Blocks Editorã§ãããã¯ãçµã¿ç«ã¦ã
次ã«ããããã¯ãçµã¿ç«ã¦ã¾ãã
1. 以ä¸ã®é çªã«ã¯ãªãã¯ãã¦ãButton1.Clickãããã¯ããã©ãã°ãã¦ç½®ãã¦ãã ããããããããã°ã¤ã³ããã¿ã³ãã¿ãããããæã«å¼ã³åºããããããã¯ã§ãã
2. Twitter1.Authorizeãããã¯ããã©ãã°ãã¦ãButton1.Clickãããã¯ã®å å´ã«ãããããã¦ç½®ãã¦ãã ããããããTwitterã®ãã°ã¤ã³ãã¼ã¸ã表示ãããããã¯ã§ãã
3. Button2.Clickãããã¯ããã©ãã°ãã¦ç½®ãã¦ãã ãããããããã¤ã¶ããããã¿ã³ãã¿ãããããæã«å¼ã³åºããããããã¯ã§ãã
4. SpeechRecognizer1.GetTextãããã¯ããã©ãã°ãã¦ãButton2.Clickãããã¯ã®å å´ã«ãããããã¦ç½®ãã¦ãã ããããããé³å£°èªèãéå§ãããããã¯ã§ãã
5. SpeechRecognizer1.AfterGettingTextãããã¯ããã©ãã°ãã¦ç½®ãã¦ãã ããããããé³å£°èªèãå®äºããå¾ã«å¼ã³åºããããããã¯ã§ãã
6. Twitter1.SetStatusãããã¯ããã©ãã°ãã¦ãSpeechRecognizer1.AfterGettingTextãããã¯ã®å å´ã«ãããããã¦ç½®ãã¦ãã ããããããTwitterã«ã¤ã¶ããããã®ãããã¯ã§ããstatusã¨ããå¹ã¿ã«ã¤ã¶ããããæååãã»ãããã¾ãã
7. resultãããã¯ããã©ãã°ãã¦ãTwitter1.SetStatusãããã¯ã®statusã«å·®ãè¾¼ã¿ã¾ãããããé³å£°èªèã®çµæã®æååãå ¥ã£ã¦ãããããã¯ã§ããä¾ãã°ããããã«ã¡ã¯ãã¨è©±ãã°ããããã«ã¡ã¯ãã¨ããæååãããã®resultãããã¯ã«å ¥ã£ã¦ãã¾ããï¼ä¾ãã°ããä¾ãã«ãªã£ã¦ããªãã§ãã^^;
ããã§é³å£°èªèã®çµæãã¤ã¶ãããããã¯ãã§ãã¾ããã
8. Androidæºå¸¯ã§ã¢ããªãåããã¾ããAndroidæºå¸¯ãUSBã±ã¼ãã«ã§PCã«æ¥ç¶ãã¦ããå³ä¸ã®ãConnect to Device...ããã¯ãªãã¯ãã¦ã端æ«IDãã¯ãªãã¯ãã¦ãã ããã端æ«IDã¯ããããéãã¾ãã
ã¡ãªã¿ã«ãWindowsç°å¢ã®æ¹ã¯ããã©ã¤ããã¤ã³ã¹ãã¼ã«ãã¦ãã ãããï¼
ã¢ããªã®ä½¿ãæ¹
1. èµ·åãããããã°ã¤ã³ããã¿ã³ãã¿ãããã¦ãã ããã
2. Twitterã¢ã«ã¦ã³ãã®ã¦ã¼ã¶ã¼åãã¾ãã¯ã¡ã¼ã«ã¢ãã¬ã¹ã¨ãã¹ã¯ã¼ããå ¥åãã¦ããé£æºã¢ããªãèªè¨¼ããã¿ãããã¦ãã ããã
3. ãã¤ã¶ããããã¿ã³ãã¿ãããã¦ãã ããã
4. ã¤ã¶ããããè¨èã話ãã¦ãã ããã
5. ã¤ã¶ããã¾ããï¼ï¼ï¼
ã¢ããªãã§ããã
ä»åã¯App Inventorã®ä½¿ãæ¹ãç解ãã¦ããã ãããã«é常ã«ã·ã³ãã«ãªã¢ããªãä½ãã¾ããããã®ã¢ããªã¯ã¾ã ã¾ã è¯ããããã¨ãã§ãã¾ãã
ä¾ãã°ã以ä¸ã®ãããªä»æ§ãæãã¤ãã¾ãã
- ãã°ã¤ã³ããã¾ã§ã¯ãã¤ã¶ããããã¿ã³ãé表示ã«ããã
- ãã°ã¤ã³ãããããã°ã¤ã³ããã¿ã³ã¯é表示ã«ããã
- ãã°ã¢ã¦ãæ©è½ãå¿ è¦ï¼
- é³å£°èªèã®çµæã確èªãã¤ã¢ãã°ã§ç¢ºèªãã¦ãããã¤ã¶ããï¼
- è¦ãç®ããã£ãããorããããããã
ãªã©ãªã©ã
ãã²ãææ¦ãã¦ã¿ã¦ãã ããï¼
ãç¥ããï¼ï¼æ¥æ¬App Inventorã¦ã¼ã¶ã¼ä¼
App Inventorã使ã£ã¦Androidã¢ããªãä½ã£ã¦ããã» ä½ããã人ã®æ
å ±äº¤æã®ããã®ã¡ã¼ãªã³ã°ãªã¹ãã§ãã
ãã¡ãã«è³ªåãæãã¦é ããã°ãåãå
¨åã§è¿äºãæ¸ãã¾ã :D
ãç¥ããï¼ï¼æ¨ªæµã§App Inventorã¤ãã³ãããã¾ãã
2011å¹´8æ6æ¥ï¼åï¼ã«æ¨ªæµã§App Inventorã¤ãã³ãããã¾ãã詳細ã¯ä¸ã®ãªã³ã¯ããã覧ãã ããããã¡ãã®ã¤ãã³ãã§ãåãå ¨åã§ãµãã¼ããã¾ã :D
横浜支部のハッカソン#1 AppInventorでハッカソンしてみよう♪ : ATND
åå ãããæ¹ã¯ããã®ã¤ãã³ãã«åå ç»é²ãããããç»é²ããé¡ããã¾ãã
é·ããªãã¾ããã以ä¸ã§ãã
Enjoy App Inventor ã½(´ã¼ï½)ã