Google TV add-onã試ãã¦ã¿ãï¼Previewçï¼ã
2011/08/22ï¼ç±³å½æ¥æï¼ã«GoogleããAndroid SDKã«Google TV add-onã®ãã¬ãã¥ã¼çããªãªã¼ã¹ããã¾ãã
ä»åã®ãªãªã¼ã¹ã¯ãã¬ãã¥ã¼çãªã®ã§å
¨ã¦ã®æ©è½ã使ããã¨ã¯ã§ãã¾ããããGoogle TVåãã®ã¢ããªã±ã¼ã·ã§ã³éçºï¼ãã¹ãã
è¡ããã¨ãã§ãã¾ããã¾ããMarketã¸ã®ç»é²ãè¡ããã¨ãã§ãã¾ãã
ã¾ã ãã¬ãã¥ã¼çã¨ã®ãã¨ã§ãç¾æç¹ã§ã¯ãå®è¡ç°å¢ã¯Linux+KVMãããµãã¼ãããã¦ãã¾ãããã
ä»ã®OSï¼WindowsãMac OSï¼ã®ãµãã¼ããæºåä¸ã¨ã®ãã¨ã§ãã
ããã§ã¯ãã£ããç°å¢ãæ§ç¯ãã¦Google TV add-onããã¦ã³ãã¼ããã¦åããã¦ã¿ããã¨æãã¾ãã
â»æ¢ã«Androidã®ç°å¢ãæ§ç¯ããã¦ããåæã§é²ãã¦ããã¾ãã
åä½ç¢ºèªããPCã®ç°å¢ã¯ããUbuntu 11.04ãã§ãã
â 1. ã¿ã¼ããã«ã¾ãã¯Eclipseã®ADTããããAVD Managerããèµ·åãã¾ãã
â 2. å·¦å´ã®ãAvailable packagesããé¸æãããPackages available for downloadãæ¬ã®ãThird party Add-onããé¸æãã¾ãã
ããã¨ã以ä¸ç»åã®ããã«ãGoogle TV by Google Inc., Android API 12, revision1ãããªã¹ã表示ããã¾ãã
ãã§ãã¯ããã¯ã«ãã§ãã¯ããå³ä¸ã®ãInstall Selectedããã¿ã³ãæ¼ãã¾ãã
â 3. ãChoose Packages to Installãç»é¢ã«é·ç§»ãã¾ãã®ã§ãå¿
è¦ãªããã±ã¼ã¸ãå
¨ã¦ã¤ã³ã¹ãã¼ã«ãã¾ãã
â»Google TV add-onã¯ãAndroid SDKå
ã«ä¿åããã¾ãã android-sdk-linux_x86/add-ons/addon_google_tv_google_inc_12
â 4. ã¤ã³ã¹ãã¼ã«ãå®äºãããGoogle TVã®AVDãä½æãã¾ãã
ãAVD Managerãã®ãVirtual devicesããããNewãã®ãã¿ã³ãæ¼ãã¦ããCreate new Android Virtual Deviceï¼AVDï¼ãã表示ããã¾ãã
Nameã«ã¯ä»»æã®ååãè¨å
¥ããTargetã«ã¯ãGoogle TV Addonããé¸æãã¾ããå³ä¸ã®ãCreate AVDããã¿ã³ãæ¼ãã¦AVDãä½æãã¾ãã
â»ä»åã¹ãã³ã¯ã720pã¨1080pãç¨æããã¦ãã¾ãã
â 5. ããã§ãã£ããAVDãèµ·åãããã¨ããã§ãããGoogle TVã®ã¨ãã¥ã¬ã¼ã¿ã¯ãKVMä¸ã§åä½ããããã¨ãã§ãã¾ãã
KVMãªãã§ãåä½ãã¾ãããé常ã«åä½ãéãããããKVMä¸ã§åä½ããããã¨ããªã¹ã¹ã¡ãã¾ããã
ã¾ããKVMã¯Googleãæ£å¼ã«ãµãã¼ããã¦ãããã¤ã³ã¹ãã¼ã«ããã®ã¿ã¨ãªã£ã¦ãã¾ãã
ã»KVMã®ã¤ã³ã¹ãã¼ã«
$ sudo apt-get install kvm qemu
â»ããã§ã/devé
ä¸ã«ãkvmããæ ¼ç´ããã¾ãã
ã»KVMã«å®è¡æ¨©éãä»ãã
$ sudo chmod a+rw /dev/kvm
â»KVMã®ã¤ã³ã¹ãã¼ã«ï¼è¨å®ã¯ä»¥ä¸ã§ãã
â 6. Google TVã¨ãã¥ã¬ã¼ã¿ãèµ·åããã
KVMãæ£å¸¸ã«åä½ãã¦ããããå
¼ãã¦èµ·åãã¦ã¿ã¾ãã
ãAVD Managerãããã§ãèµ·åã§ãã¾ãããã¿ã¼ããã«ããã以ä¸ã³ãã³ããå®è¡ãã¾ããï¼-verboseãã©ã°ãä»ãã¾ãï¼
$ emulator -avd <AVD Name> -verbose
ã¿ã¼ããã«ä¸ã«ã以ä¸ã®åºåãããã¦ããã°KVMã¯æ£å¸¸ã«åä½ãã¦ãã¾ãã
emulator: KVM mode auto-enabled!
ã¾ããKVMã使ããªãããã«èµ·åãããã¨ãå¯è½ã§ãã
$ emulator -avd <AVD Name> -qemu -disable-kvm
â»ä¸ç®çç¶ã§KVMä¸ã§åä½ãããã»ãããããã¨ããããã¨æãã¾ãã
é常KVMä¸ã§åããå ´åã¯ã-verboseãã¯å¿
è¦ããã¾ãããã¾ããAVD Managerãããã®èµ·åãKVMä¸ã§åãããã«ãªã£ã¦ãã¾ãã
ç°å¢æ§ç¯ã¯ä»¥ä¸ã§ãã
次ã«Google TVã¨ãã¥ã¬ã¼ã¿ãåããã¦ã¿ã¾ãã
èµ·åã¯æãã®ã»ãæ©ãã§ããããããã¢ããªã±ã¼ã·ã§ã³ãå°ãªãããã§ãããã
å³ä¸ã«ãã¼ããã¼ãã¤ãã¦ãã¦ãå·¦ãããHOMEããMENUããBACKããSERCHãã¨ãªã£ã¦ãã¾ãã
ã©ã³ãã£ã¼ç»é¢ã§ããAPI demosãLive TVãªã©ãå
¥ã£ã¦ãã¾ãã
Settingsã¢ããªã®Aboutç»é¢ã§ããFirmwareã¯3.1ã¨ãªã£ã¦ãã¾ãã
Live TVã¢ããªã®ç»é¢ã§ãããã±ã¼ã·ã§ã³ã«å¿ãã¦ãã£ã³ãã«è¨å®ãã§ãã¾ãã
ä»åã®ãªãªã¼ã¹ã§UIã¬ã¤ãã©ã¤ã³ãä¸ç·ã«å
¬éããã¦ãã¾ãã
UI guidelines
ç»é¢ã大ããåããããªãã®ãã¶ã¤ã³ããããã¨ãã§ãããã§ããã
æè¡é¨ è¤ç°ç«å²