Android
æ¬æ¥ããã¿ã ãããã¨ãããã¿ã ãã風ãªè³ãã¬ããºã«ã²ã¼ã ããªãªã¼ã¹ãã¾ããï¼www.youtube.com ãããã´ã¼ã«ã«é£ãã¦è¡ããããã¿ã ãã風ãªè³ãã¬ããºã«ãã¿ã ããï¼ éã³æ¹ã¯ç°¡åãæ¿ãåããã¦ãããã¿ããããã ãã ç°¡åãªããã§é£ããæ°ã ã®ã¹ãã¼â¦
ååã®ããã¼å°å ¥ã«å¼ãç¶ãä»åº¦ã¯ã¤ã³ã¿ã¼ã¹ãã£ã·ã£ã«ç·¨ãAdMobããã¼ã表示åºæ¥ã¦ããã°ãAndroidManifest.xmlã®å¤æ´ã¯ä¸è¦ãªã®ã§ãã³ã¼ãã追è¨ãã¦ããã ãã§å¯¾å¿ã§ããã
cocos2d-xã§ã¯ä½ãç¹å¥ãªå¦çãå¿ è¦ãªã®ããªã¨æã£ã¦ããããã©ãããã¼è¡¨ç¤ºã®ã¿ã§ããã°iOSã¨Androidããã©ãããã©ã¼ã æ¯ã«åå¥å¯¾å¿ããã¦èµ·åæã«è¡¨ç¤ºããã ãã§ããããããã¨ãããã¨ã§æ®éã«ããããã®ã¢ããªãéçºããã®ã¨åãæé ãè¸ãã°OKãï¼ã¹ãâ¦
Androidã®ãã«ãé ããªã¼ã¨æã£ã¦ããããããªè¨äºãè¦ã¤ããã®ã§æ©éå°å ¥ãcocos2d-x(Android NDK)ãã«ããé«éåããæ¹æ³ã¨ãªã¹ã¹ã¡è¨å® - matsukaz's blogmatsukaz.hatenablog.com
ããã¾ã§cocos2d-xã®ç°å¢æ§ç¯ã¡ã¢ã§èª¿ã¹ãæé ã§Androidããã«ããã¦éçºãã¦ããã¨ãããGoogle Play servicesãã¤ã³ãã¼ããã¦Eclipseã§ãã«ããããã¨ããã¨ã¨ã©ã¼ãé »çºããããã«ãªãä¸åãã«ãã§ããªããªãã¨ããç¶æ³ã«..ãç°å¢å ¨é¨ä½ããªããããããâ¦
Androidã§ã¯ã®ã£ã©ãªã¼ã¢ããªã«åºã¦ããç»åãåç»ã¯å ¨ã¦ContentProviderã§ç®¡çããã¦ãããããåçã¢ããªãªã©ã§ãã¡ã¤ã«æä½ãè¡ã£ãå ´åãContentProviderã®ãã¼ã¿ã«ã¤ãã¦ãæ£ããã¢ãããã¼ãããããå¿ è¦ãããã¾ãã4.3ã¾ã§ã¯ãã¡ã¤ã«å¤æ´å¾ãä¸è¨ã®â¦
ãªã½ã¼ã¹å®ç¾© ç»é¢å¯åº¦ åç ç«¯æ« åè ldpi 120dpi x0.75 mdpi 160dpi x1.0 åºæºãµã¤ãº hdpi 240dpi x1.5 xhdpi 320dpi x2.0 Nexus4, 7, 9, SO-02G HD(1280x720) xxhdpi 480dpi x3.0 Nexus5, 10 ãã«HD(1920x1080) xxxhdpi 640dpi x4.0 Nexus6 主ã«4K解å度â¦
åçç³»ã¢ããªãéçºããéããã¹ãç¨ãã¼ã¿ã®æºåãçµæ§é¢åãããã®ã§adbã使ã£ã¦å®æ© or ã·ãã¥ã¬ã¼ã¿ã¼ã«ææ©ã転éããã ãã¡ã¤ã«ã転éãã $ adbp push ~/Desktop/pictest /sdcard/DCIM/pictest adb -s YT910Z5UUQ push /Users/ntaku/Desktop/pictestâ¦
Androidéçºã¯1年以ä¸ãã©ã³ã¯ãããæããªã®ã§è²ã ã¨æãåºãã¤ã¤ãææ°ã®ç°å¢ã«æ´ãã¦ãã£ã¦ãã¾ããã¨ããããããã¾ã§ã¯Eclipseã ã£ãã®ããAndroid Studioã¨ã·ãã¥ã¬ã¼ã¿ã¼ã¯Genymotionã®ç°å¢ã«ãªãã¬ã¤ã¹ããã¨ã¯adbå¨ããªã©ã®ãã¼ã«ç³»ã®ä½¿ãæ¹ããã£â¦
ãã°ãã追ãããã¦ãªãã£ãã®ã§ãæè¿ã®Android端æ«ã£ã¦ã©ããªã ã£ãã£ãã¨æã調æ»ä¸ãã¹ãã¼ããã©ã³ã·ã§ã¢ã©ã³ãã³ã°TOP10ã«ããã¨ãXperiaã·ãªã¼ãºã人æ°ãªæ¨¡æ§ãOSã®ãã¼ã¸ã§ã³ã·ã§ã¢ã¯4.1.x Jelly Bean以éã§85%ã«éãã¦ããã¿ããããªã®ã§ãä»å¾å¼ç¤¾â¦
iPhoneã§85ä¸ãã¦ã³ãã¼ããçªç ´ããå¼ç¤¾iãã©ãã¢ã«ãã ã®Androidçããªãªã¼ã¹ãã¾ãããèªç±ã«ã¢ã«ãã ãæ´çã§ããããã¼ãã®çãæ¿ããã§ãããã¨ããç¹å¾´ã¯ãã®ã¾ã¾Androidä»æ§ã«ç¹åãããã¢ããªã«ãªã£ã¦ãã¾ãã ãã¦ã³ãã¼ãã¯ãã¡ããã
AdMob SDKããã¦ã³ãã¼ãå¾ãçµã¿è¾¼ã¿æ¹ãããåãããªãã¦æå¤ã¨ã¯ã¾ã£ãã®ã§ã¾ã¨ãã åºæ¬çã«ã¯ä¸è¨ã®ããã¥ã¡ã³ãã®éãã§ãããåºåããªãå ´åã¯è¡¨ç¤ºãããªãã£ããã端æ«ã«ãã£ã¦è¡¨ç¤ºãããªãã£ãããã¾ãããAdMobå´ã®è¨å®ã§ããªãã¬ãã·ã¥ã¬ã¼ããçâ¦
Android Marketãããã¦ã³ãã¼ã Androidéçºããããã¨æãã¤ã¤æ©2å¹´ãããããiOSã ãã§ã¯ãªãã¦Androidãéçºã§ããªãã¨...ã¨ãããããªé°å²æ°ã«ãªã£ã¦ããã®ã§ãæéãåã£ã¦ä½ã£ã¦ã¿ã¾ããã Androidã¯ä¹ ã ã ã£ãã®ã§æã®ä»ãæã«å°ã£ãã®ã§ãããAndroâ¦
Androidãå§ãã¦ã¿ããã¨æãã¤ã¤ããä½ãæãä»ããã«åå¹´ã»ã©çµéãã¦ãã¾ã£ãã®ã§ãããSDK 2.0ãå ¬éãããããã«ã¼ãããçºè¡¨ããããã¨ãæ°ã«ãªã話é¡ãã¾ãå¢ãã¦ããã®ã§åãçµãã§ã¿ããã¨ã«ãã¾ããã ç°å¢æ§ç¯ããå®æ©ã¤ã³ã¹ãã¼ã«ã¾ã§ä¸éã試ãâ¦
ä»æ¥ã¯Google Developer Dayã«åå ãã¦ãã¾ããã äºæ³å¤ã®äººã®å¤ãã§é©ãã¦ããã®ã§ãããåºèª¿è¬æ¼ã§ãäºåç»é²ããã¦åå ããäººå ¨å¡ã«Androidéçºæ©ããã¬ã¼ã³ããã¾ããã¨ãããµãã©ã¤ãºããã£ã¦ããã«ã³ã£ãããdocomoã®HT-03Aãè²·ããè¿·ã£ã¦ããã®ã§ã©â¦