Tizen SDK 2.2ã®ãªãªã¼ã¹
ã7ææ«ãTizenSDKã®2.2ã®ãªãªã¼ã¹ãè¡ããã¾ããã主ãªå¤æ´ç¹ã¨ãã¦ã¯ããã¼ãã¦ã§ã¢ãã¼ï¼Backãã¼ã¨Menuãã¼ï¼ã®ãµãã¼ããWebã¢ããªã®ã»ãã¥ãªãã£è¨å®ã®å¼·åãTizen UI Frameworkã®ãã¶ã¤ã³ã®å·æ°ãIDEã®æ©è½å å®ãä»APIã®æ©è½è¿½å ãªã©ãæãããã¾ãã
ãä»åã®ã¢ãããã¼ãã®ä½ç½®ã¥ãã¨ãã¦ã¯ãç·é¡400ä¸ãã«ã®Tizenã¢ããªã³ã³ãã¹ãã«ã¤ãã¦ã®å¿åç¨ã®æ£å¼ãªéçºç°å¢ã¨ãã¦æºåããã¾ããããã®ã¢ããªã³ã³ãã¹ãã¯Tizenã¹ãã¢ã«ç»é²ãããã¨ãåæã¨ãªãã®ã§ãã¤ã¾ãä»ãã¼ã¸ã§ã³ãTizenã¹ãã¢ãªã¼ãã³æã®æåã®ãã©ãããã©ã¼ã ãã¼ã¸ã§ã³ã¨ãããã¨ã«ãªãã¾ãã
ãTizenã端æ«ã¨ãã¦æåã«çºå£²ãããå½ã¯æ¥æ¬ããã©ã³ã¹ãã¢ã¡ãªã«ãä¸å½ããã·ã¢ã®äºãå½ã«éããã¦ãã¾ãããã®ããããã®ã³ã³ãã¹ãã§æ¥æ¬çºã®ã¢ããªã®æ´»èºãæå¾ ããã¦ãã¾ããå¿åç· ãåãã¯11æ1æ¥ã¨ãªã£ã¦ããã®ã§ãããããå§ãã¦ã¿ããã¨æã£ã¦ããæ¹ããã²åå ãæ¤è¨ãã¦ã¿ã¦ãã ããã
ããã¦ãTizen SDK 2.2ã®å 容ã«ã¤ãã¦ããã®ç« ã§ã¯ã¤ã³ã¹ãã¼ã«ããããã¯ã¢ããã°ã¬ã¼ãã«ã¤ãã¦ã®æ³¨æç¹ã¨Webã¢ããªã®ã»ãã¥ãªãã£å¼·åã«ã¤ãã¦è§£èª¬ãã¾ãã
ã¤ã³ã¹ãã¼ã«ã®æ³¨æç¹
ã2.2ããæ°ããSDKãã¤ã³ã¹ãã¼ã«ãããæ¹ã«åãã¦ãã¤ã³ã¹ãã¼ã«ã§ã¤ã¾ãããããç®æã«ã¤ãã¦è¿°ã¹ã¦ããã¾ããã¾ããããã«è©³ããåä½ç°å¢ã«ã¤ãã¦ã¯ããTizen SDKã®åææ¡ä»¶ãã®ãã¼ã¸ã§ç¢ºèªã§ãã¾ãã
ãã¾ãå¿ è¦ãªç°å¢ã¨ãã¦ãåOSåãã®Java JREãããã¯JDKã®1.6以ä¸ï¼Oracleç´æ£ã®Javaæ¨å¥¨ï¼ãæãããã¾ããããã«Mac OSã®å ´åããã¤ãã£ãã¢ããªéçºãããããã®ã³ã³ãã¤ã«ç°å¢ã¨ãã¦ãCommandLineToolsã®ã¤ã³ã¹ãã¼ã«ãå¿ è¦ã«ãªãã¾ããä¸è¨ã®URLããCommandLineToolsãã¤ã³ã¹ãã¼ã«ãã¦ãã ããã
ãã¾ããMac OSã§ã¤ã³ã¹ãã¼ã«ããã¼ã¸ã£ã¼ãèµ·åã§ããªãã¨ãã人ã¯ãã·ã¹ãã ç°å¢è¨å®ã®ï¼»ã»ãã¥ãªãã£ã¨ãã©ã¤ãã·ã¼ï¼½ã®ï¼»ä¸è¬ï¼½ã¿ãã®ä¸é¨ï¼»ãã¦ã³ãã¼ãããã¢ããªã±ã¼ã·ã§ã³ã®å®è¡è¨±å¯ï¼½ã®é ç®ãï¼»ãã¹ã¦ã®ã¢ããªã±ã¼ã·ã§ã³ã許å¯ï¼½ã«ãã¦ã¿ã¦ãã ããã
ãWindows 8ï¼ç¹ã«ã¤ã³ã¹ãã¼ã«ã«å¤±æãã64bitï¼ã«ã¤ãã¦ã¯æ®å¿µãªããä¾ç¶ãµãã¼ãã¯è¡¨æããã¦ã¯ãã¾ããããããã§éå ¬å¼ã«ã¤ã³ã¹ãã¼ã«ããæ¹æ³ãç´¹ä»ãã¾ããé常éããã¦ã³ãã¼ãããå®è¡ãã¡ã¤ã«ãèµ·åããã¨ããã°ã©ã ãå¼·å¶çµäºãã¾ããããã®å¾ãä¸æãã¡ã¤ã«ãä½æããã¦ãããã©ã«ãï¼»(ã¦ã¼ã¶ãã©ã«ã)\AppData\Local\Temp\tizensdk_(æ¥æ)ï¼½ãã³ãã³ãããã³ããã§éããï¼»javaw -jar InstallManager.jarï¼½ãå®è¡ããã¨æ¬æ¥ã®ã¤ã³ã¹ãã¼ã©ãç«ã¡ä¸ããã¾ãããã¨ã¯ç»é¢ã®ã¬ã¤ãéãã«ã¤ã³ã¹ãã¼ã«ãé²ãã¦ãããã¨ãã§ãã¾ãã
ãWindowsç°å¢ã§ããã»ããµã¼ãIntelãã¼ã¹ã®ãã®ã§ã¯ãªãå ´åãTizenã¨ãã¥ã¬ã¼ã¿ãä»®æ³åæ¯æ´æè¡ï¼Intel Vt-xï¼ã«ããé«éåä½ãããããã®ãã¼ã«ãHAXMãã®ã¤ã³ã¹ãã¼ã«ãã§ããªããªãã¾ãããã¨ãã¥ã¬ã¼ã¿ã®HWã¢ã¯ã»ã©ã¬ã¼ã·ã§ã³ããªãã«ãªã以å¤ã«ã¤ãã¦ã¯æ£å¸¸ã«SDKã使ããã¨ãå¯è½ã§ãã
ããã§ã«2.1ã2.2 Betaãã¤ã³ã¹ãã¼ã«æ¸ã¿ã®äººã¯ãã¤ã³ã¹ãã¼ã«æ¸ã¿ã®ããã°ã©ã ããinstallManagerãèµ·åããä¸åº¦å¤ããã¼ã¸ã§ã³ã®SDKãã¢ã³ã¤ã³ã¹ãã¼ã«ãã¦ãã ããã
ãã¢ããã°ã¬ã¼ãå¾ã®IDEã®èµ·åç»é¢ã¯ãã以åã®ãã®ã¨å¤ãããªãã§ãããã¢ããã°ã¬ã¼ãããå ´åã«ã¯ConnectionManagerãªã©ã®ä¸é¨ã®ç»é¢é ç®ãé ãã¦ãã¾ã£ã¦ãããã¨ãããã¾ãããã®éã«ã¯ï¼»Preferencesï¼½-ï¼»ResetPerspectiveï¼½ãé¸æãã¦ç»é¢æ§æãä¸åº¦ãªã»ãããããã¨ã§ãæ¬æ¥ã®ç»é¢ã¬ã¤ã¢ã¦ãã復帰ãã¾ãã
Webã¢ããªã±ã¼ã·ã§ã³ã®ã»ãã¥ãªãã£è¨å®ã®å¼·å
ãWebã¢ããªã®ã»ãã¥ãªãã£è¨å®ã®å¼·åã¨ãã¦ãFirefoxãChromeã§å©ç¨ãããW3Cã§ã®çå®ãããã¦ããContent Security Policy 1.0ãæ¡ç¨ããã¾ãããããã«ãã£ã¦ç«¯æ«ã§è¡¨ç¤ºãå®è¡å¯è½ãªãªã½ã¼ã¹ã種é¡ã«åãã¦ãã¡ã¤ã³æå®ã§ããããã«ãªãã¾ãããå ·ä½çã«ã¯JavaScriptã½ã¼ã¹ãå®è¡ã§ãããã¡ã¤ã³ãCSSã ããã¤ã³ãã¼ããããã¡ã¤ã³ãç»åã ãããã¦ã³ãã¼ããããã¡ã¤ã³ãªã©æå®ã§ããããã«ãªãã¾ãã
ãå ·ä½çã«ã¯ä½ãå ¥åããã¦ããªãç¶æ ã ã¨ãä¸è¨ã®ãããªç¶æ ã«ãªã£ã¦ãã¾ãã
default-src '*'; script-src 'self'; style-src 'self'; object-src 'none';
ãããã¯ãããããä¸è¨ã®è¡¨ã®ãããªå ·åã«åä½ãã¾ãã
default-src '*'; | åºæ¬çã«ã¯ãã¹ã¦ã®ãã¡ã¤ã³ã®ãªã½ã¼ã¹ã®å®è¡ã許å¯ãã |
---|---|
script-src 'self'; | ãã ãScriptã«é¢ãã¦ã¯ã¢ããªå ã®ãªã½ã¼ã¹ã®ã¿ã¨ãã |
style-src 'self'; | Styleï¼CSSï¼ã«ã¤ãã¦ãã¢ããªå ã®ãªã½ã¼ã¹ã®ã¿ã¨ãã |
object-src 'none'; | objectã¿ã°ã«ã¤ãã¦ã¯å®è¡ã許å¯ããªã |
ãããã§JavaScriptãã¤ã³ã¿ã¼ãããä¸ããã¤ã³ãã¼ããã¦å®è¡ãããå ´åã¯ã
script-src 'self' http://cdnjs.cloudflare.com/;
ã¨ãã£ã風ã«æå®ãã¦ããã¾ããCSPã«ã¤ãã¦ã¯ãæå±å ã§ããMozillaã®ãµã¤ãã§è©³ãã解説ãèªããã¨ãã§ãã¾ãã
ãã¾ããã¢ããªã±ã¼ã·ã§ã³èªä½ã®URLé·ç§»ããã¡ã¤ã³ã§å¶éããallow-navigationè¨å®ã追å ããã¾ãããããã§ãã¡ã¤ã³ãå¶éãããã¨ã§ãã¢ããªå ã§ä»»æã®Aã¿ã°ã®ãªã³ã¯ãªã©ãéããå ´åã«ã許å¯ããããã¡ã¤ã³ä»¥å¤ã®ã¢ãã¬ã¹ã§ãã£ãå ´åã¯ã¢ããªå ã§ãªãå¤é¨ãã©ã¦ã¶ã§è¡¨ç¤ºãããããã«ãªãã¾ãã
ãCSPã¨allow-navigationã¯ãconfig.xmlã®Policyã¿ãã§è¨å®ãããã¨ãã§ãã¾ããåãã¼ã¸ã§ã³ã¾ã§ã®Accessè¨å®ã¨CSPè¨å®ãåæã«è¨å®ããã¨ããã«ãã失æãããã¨ã«æ³¨æãã¦ãã ããã