AndroidãC#ã«ç§»æ¤ããXobotOS
Xamarinãè¨ç«ããã¦ãããããã1å¹´ãçµã¨ãã¨ãã¦ãã¾ãï¼ã¤ãã§ã«Mono for Androidã®ãã¼ã¸ã§ã³1.0ãåºã¦ãã1å¹´ã¨1ã¶æãããã§ãï¼ããã®éã«Xamarinã¯ã¨ã³ã¸ãã¢ãæããããã¥ã¡ã³ããã¼ã ãç·¨æããQAãã¼ã ãåç·¨æãããªã³ã©ã¤ã³ã»ããã¼ãè¡ãããããªä½å¶ãæ´ãã¦ããããã§ããããã ããã£ã¦ã¾ã 1å¹´ã¨ãâ¦ã¾ãããããjoinããã®ã¯8æã§ããã©ã*1
ãããªããã§ãè¨ç«1å¨å¹´ãè¨å¿µãã¦(?)ãXamarinããã§ã£ããé£ãé¤ãAndroidãC#ã«ç§»æ¤ãããªãµã¼ãããã¸ã§ã¯ãXobotOSããªãªã¼ã¹ããã¾ããã
http://blog.xamarin.com/2012/05/01/android-in-c-sharp/
ããã¯ãã¢ããªã±ã¼ã·ã§ã³ãDalvik VM (zygoteããã»ã¹ï¼ä¸ã®Androidãã¬ã¼ã ã¯ã¼ã¯ã®ä¸ã§åä½ãã¦ããMono for Androidã¨ã¯ã¾ã£ããéããã®ã§ããOSã¯Linuxã§ãåºæ¬çãªã¢ããªã±ã¼ã·ã§ã³ã®ã©ã¤ããµã¤ã¯ã«ã¯Androidã¨åãã ãã©ããããåããã¦ããã®ã¯Dalvikã§ã¯ãªãmono VMã¨ãããã¨ã«ãªãã¾ããAndroidã®ä»çµã¿ã¯ããããããªå³é¢ã§èª¬æããã¾ããã
XobotOSã¯ããã®å³é¢ã®Android RuntimeãApplication Frameworkï¼ã¨ããããä¸ï¼ãC#ã®ã³ã¼ãã§æ骨奪èãããã®ã¨è¨ããã§ãããã
ãããJavaã§æ¸ãããAndroidã®ãã¬ã¼ã ã¯ã¼ã¯ã¯ã©ããã£ã¦åãã¦ããã®ã?ã¨ããã¨ãSharpenã¨ããJava-to-C#ã®ãã©ã³ã¹ã¬ã¼ã¿ãå©ç¨ãã¦ãAOSPã®ã½ã¼ã¹ã³ã¼ãã®ä¸é¨ãC#ã«å¤æãããã®ããã«ããã¦åããã¦ããããã§ã*2ãSharpenã¯å ã ã¯Xamarinã§ä½ããããã®ã§ã¯ãªãã®ã§ãããMonoDevelopã§gitãµãã¼ããçµ±åããã«ããã£ã¦JGitãã½ã¼ã¹ã³ã¼ãå¤æãã¦NGitããã«ãããããã«æ¹è¯ãå ãããã®ã§ãSharpenã¯ãiPadã§é»ååè·¯ãè¨è¨ãããã¨æã£ããã¨ã®ãã人ãªãä¸åº¦ã¯è¦ããã¨ãããããããªããã¨æãããiCircuitã®éçºã§ã使ããã¦ãã¾ããä»åãXobotOSãéçºããã«ããã£ã¦ããã®Sharpenã«ãããã«ä»åå¤§å¹ ã«æ¹è¯ãå ããããããã§ãããã®ææã¯XobotOSã®ã½ã¼ã¹ã³ã¼ãã®ä¸ã«å«ã¾ãã¦ãã¾ãã
https://github.com/xamarin/XobotOS
ç¾å¨ã®XobotOSã§ã¯ãæ¢ã«Androidã®ã¬ã¤ã¢ã¦ãã¨ã³ã¸ã³ã¨ã³ã³ããã¼ã«ã®ã¬ã³ããªã³ã°ãC#ã ãã§è¡ãã¦ããã¨ããã¾ã§åºæ¥ã¦ããããã§ããï¼ç»åã¯githubã®ãªãã¸ããªããé©å½ã«å¼ã£å¼µã£ã¦ãã¾ããï¼
ä»åã®blog postã§ã¯ãããã©ã¼ãã³ã¹æ¯è¼ãããã¤ãåºã¦ãã¾ãããmonoããããéãã§ãã
ã¡ãªã¿ã«ããããã¡ã¢ãªæ¶è²»ã¯ã©ããªã®ããã§ããã3å¹´åã«androidmonoã®éçºè ï¼CyanogenModã®éçºè ã¨ããã®ã表ã®é¡ã§ããããï¼ãdalvikとmonoの比較記事ãæ¸ãã¦ãã¾ãã
Xamarinã¯æ¢åã®ã¢ãã¤ã«ãã©ãããã©ã¼ã ãã¿ã¼ã²ããã«å売ãã¦ããã®ã§ãXobotOSã®éçºã«ãªã½ã¼ã¹ãæå ¥ãããããªãã¨ã¯åºæ¥ãªãããã§ããããã£ããé¢ç½ããã®ãä½ããããããªãã?ã¨ããã®ããä»åã®çºè¡¨ã¨ãããã¨ã«ãªãã¾ããä»åã®ææã®ä¸é¨ã¯ãä»å¾ã®Mono for Androidã«ãçµã¿è¾¼ã¾ãã¦ããããããã¾ãããæ¢ã«Skiaã®C#ãã¤ã³ãã£ã³ã°ãªããã¯ããããã§ãã
XobotOSã®ã¢ã¤ãã£ã¢ã¯ããã¨ãã¨1å¹´åã«Xamarinè¨ç«å¾åãã¦è¡ããã社å ãã¼ãã£ã³ã°ã®æã«åºã¦ãããã®ã§ãã*3ã1å¹´åã¨ããã¨ãã¾ã Honeycombã®ã½ã¼ã¹ã³ã¼ãããã£ã¨éå ¬éã§ã2.3ã§ããããNativeActivityãå ¬éããããã®ã®ããã®ã¢ããªã±ã¼ã·ã§ã³ã©ã¤ããµã¤ã¯ã«ãJavaããæãåºãã¦ããªãã¦æ®å¿µãªãã®ã«ãªã£ã¦ãããã¨ããç¶æ ã ã£ãããã«æãã¾ã*4ããããè¦ã¦ãããJavaãã¼ã¹ã®ãã¬ã¼ã ã¯ã¼ã¯ãC#ã«ç½®ãæãã¡ããã°ãããããã?ã¿ãããªè©±ããã¦ããã®ã§ãããæ°æ¥å¾ã«Monospace conferenceãéããã¾ããããããã§ããmono phoneã¯ãã¤åºããã ?ï½ãã¿ãããªè³ªåãã·ã¡ã®ã¹ãã¼ãã®æã«åºã¦ããã®ãæãåºãã¾ãã
â¦ã¨ããããã§ããªããªãé¢ç½ãçºè¡¨ã ã£ãã¨æãã¾ããã©ãã§ããã? ããã ããã£ã¦ã¾ã 1å¹´ãªã®ã§ã次ã®1å¹´ã¯ã©ããªãã®ããã¾ã ã¾ã 楽ãã¿ã§ãã
news links
*1:ãããªããã§ããã£ã¨ãã¼ã ã®åçã«åã£ã¦ãã¾ããããã®æã¾ã ãããã¯ã¡ã³ãã¼ãããªããã§ããâãå ¥ç¤¾ãããã¨ã¯æ±ºã¾ã£ã¦ãããã©ã
*2:ä¸é¨ã¨ããããå¿ è¦æå°é?
*3:ãã£ããæ¸ãã¾ããããä½ã§ã¾ã joinãã¦ããªãã£ãããããããã«ãããã§ããããã
*4:æ®å¿µãªã®ã¯ä»ã§ãå¤ããã¾ããã
PS Suite SDK public betaã§C# 4.0 dynamicã使ã
æ¨æ¥ã¤ãã«PlayStation Suite (PSS) SDKãå
¬éãã¼ã¿ã«ãªãã¾ãããã
http://www.playstation.com/pss/developer/index_j.html
æ¨æ¥ã¯ãã®ã¿ã¤ãã³ã°ã§è¡ãããSCEã®Androidã®ä¼ã®ã¤ãã³ãã§ã®è©±ãèãã«è¡ã£ã¦ãã¾ããã
http://atnd.org/events/27043?updated_at=1332783364
ãã®å 容㯠id:nakamura001:20120419:1334857193 ã詳ããã®ã§ãããè¦ã¦ãã ããã¨ãããã¨ã«ãã¦ã
ãããã®ç解ãã¦ããç¯å²ã§ã¯ãPSSã§åãã¦ããã®ã¯ãMonoTouchãMono for Androidã¨åçã®.NET 2.1ãã©ãã®ã©ã³ã¿ã¤ã ã¨ãããã¨ã«ãªãã¾ããã©ã³ã¿ã¤ã ã¯ããã©ããã£ã¦ã»ã©ã§ããªãããªãã¯ã©ã¹ã©ã¤ãã©ãªã¯ããã¨ãã°XPathNavigatorãXmlSerializerã使ããç¨åº¦ã«ã¯.NET 2.1ãã§ã¯ãªããã§ããããã¯MTãMfAã¨åãåããããã¾ãã
ãã¦ãMono for Android 4.1ã«DLRãµãã¼ãã追å ããã®ã¯ããããªã®ã§ãåãäºãPSSã§ããã£ã¦ã¿ã¾ãããPSSããµãã¼ããã¦ããã®ã¯C# 4.0ç¸å½ã®ã³ã³ãã¤ã©ã¨ããã«å¯¾å¿ããCoreCLRç¸å½ã®ã¯ã©ã¹ã©ã¤ãã©ãªã¨ãããã¨ã«ãªããæ¨æ¥ã®ã¤ãã³ãã§ãSCEã®æ¹ã質åã«ããçãã¦ãã¾ããããå®ã¯ã³ã³ãã¤ã©ã®å®è£ ã§ããmcsãC# 4.0ããµãã¼ããã¦ããã ãã§ã¯dynamicåã¯ä½¿ãã¾ããããªããã¨ããã¨â¦
- mcsã¯ãdynamicã使ã£ãã³ã¼ããã³ã³ãã¤ã«ããéã«ã¯ãMicrosoft.CSharp.dllã®åç §ããããã¨ãè¦æ±ãã¾ãï¼System.Core.dllãåç §ã«è¿½å ãã¦System.Linqãusingæã§ã¤ã³ãã¼ãããªãã¨LINQæ§æã使ããªããã¨ã¨ä¼¼ããããªæ§å³ã§ãï¼ã
- ããã¦ãmonoã®Microsoft.CSharp.dllã¯ãå é¨çã«ã¯Mono.CSharp.dllã¨ããC#ã³ã³ãã¤ã©ã®å®ä½ãè¦æ±ãã¾ãã
- ããã«ãSystem.Core.dllã«å«ã¾ããExpression Treeã®APIã«ãDLRããµãã¼ãããããã®ã³ã¼ããå«ã¾ãã¦ããªããã°ãªãã¾ããã
ãããã¯ã©ããç¾å¨ã®PSSã«ã¯å«ã¾ãã¦ãã¾ãããã¤ã¾ããç¾å¨ã®PSSã§ã¯C# 4.0ç¸å½ã®ã³ã³ãã¤ã©ããã£ã¦ããC# 4.0ã®dynamicã¯ä½¿ããªããã§ããã
ä»åã¯ãããç¡çãã使ããããã«ãã¾ãããããã¨ã¯ç°¡åã§ãã
- monoæ¬ä½(git master or mono-2-10)ãmonodroidã®ã©ã¤ãã©ãªãã«ãã®ãªãã·ã§ã³ --with-monodroid=yes ã§ãã«ãããã--with-moonlightã--with-monotouchã¯ãã¡ï¼ãããã¯dynamicããµãã¼ããã¾ããï¼ã
- åºæ¥ä¸ãã£ãmcs/class/lib/monodroid ã«å«ã¾ããSystem.Core.dll, Microsoft.CSharp.dll, Mono.CSharp.dll ããPSS Studioã®ã¢ããªã±ã¼ã·ã§ã³ ããã¸ã§ã¯ãã§åç §ã«è¿½å ãããPSS SDKã«å«ã¾ããSystem.Core.dllã¯åç §ããªã(!)
ããã ãã§ãPSSã¢ããªã±ã¼ã·ã§ã³ ããã¸ã§ã¯ãã§ãdynamicã使ããããã«ãªãã¾ããä»çµã¿ã¨ãã¦ã¯ãï¼ç¢ºèªã¯ãã¦ãã¾ãããï¼mcsã¯ãMicrosoft.CSharp.dllã®åç §ã®æç¡ãè¦ã¦ãdynamicãµãã¼ãã®ç¶æ ãåãæ¿ããã®ã§ãããã ãã§dynamicãæå¹ã«ãªããã¨ããããã§ãã
id:atsushieno:20120406:p1 ã§ãæ¸ãã¾ããããMfA 4.1ã®ãµã³ãã«ã«ã¯dynamicã³ã¼ãã®ä¾ã¨ãã¦ãMicrosoftãæè¿å ¬éããaspnetwebstackããå¼ã£å¼µã£ã¦ããSystem.Json.dllã«å«ã¾ããJsonValue.AsDynamic()ã使ã£ããã®ãå«ã¾ãã¦ãã¾ãããã®ã½ã¼ã¹ãPSSã©ã¤ãã©ãªããã¸ã§ã¯ãã«åãè¾¼ãã§ãã³ã³ãã¤ã«ãªãã·ã§ã³ã«MONODROIDãè¨å®ããã°ãPSSã§ããã«ãã§ãã¦ãdynamicãªJSONã使ããããã«ãªãã¾ãã
ãã ãä¸è¨ã¨ã³ããªã§ãè¨åãã¾ããããdynamicã³ã¼ãã¯ã³ã¹ããä¼´ããã®ã ã¨ãããã¨ã¯ç解ãã¦ããã¦ãã ããããããå®éã«ãã£ã¦åããã¦ã¿ãã¨ãããã©ã«ãã®ç©ºã£ã½ã«è¿ãç¶æ ã§ã¯è»½å¿«ã«åä½ãã¦ããããã«è¦ããPSSã§ãã決ãã¦è»½ãã¯ããã¾ããã
ã¡ãªã¿ã«ãmono-reactiveã«å«ã¾ãã System.Reactive.Android.csproj ã¨åãæ§æã§ãPSSåãã«System.Reactive.dllããã«ããã¦ä½¿ããã¨ãã§ãã¾ããPSSã®ã¯ãã¹ãã©ãããã©ã¼ã æ§ãå®æãã¦ãã ããï½
Windows Developer Days 2012
4/24-4/25ã®WDDã§ãããåå è²»ããã¾ãããã¨èãã¦ä»åã¯ã¹ã«ã¼ãã¦ãããããªã¨æã£ã¦ããã®ã§ãããã²ãããªãã¨ããåå ã§ãããã¨ã«ãªã£ãã®ã§ãéã³ã«è¡ããã¨æãã¾ãï¼ç¹ã«èªåãããã¹ãã¤ãã³ãã¯ããã¾ããï¼ã
Windows 8ã¯VirtualBoxããæ°ã«å¬ããªãã¦ã¤ã³ã¹ãã¼ã«ã§ããããã¤ãã£ãã§å ¥ãããã¨ããããã¼ãã£ã·ã§ã³ã®åãåããã¨ããä½ãç¡ãã¦ãããã¦å ¥ãã¦ããªãã®ã§ï¼å¤åãã®ã¾ã¾ã ã¨ãªãªã¼ã¹ãåºã¦ãã¤ã³ã¹ãã¼ã«ããªãï¼ãMetroã¾ããã¯ãã¾ã«ä»äººã®å®æ©ã§è¦ã¦ããã ãã®ç¶æ ã§ããåãã£ã¦ãã¾ãããããã§WinRTãåã°ä»äººäºã«ãªã£ã¦ããã®ã§ããã®æ©ã«è²ã çºãã¦ãããããªãã¨æã£ã¦ãã¾ãããããªããã§ãä»ã¾ã§èªåãåå ãã¦ããæã«èãã¦ãããããªã®ã¨ã¯å ¨ç¶éãã»ãã·ã§ã³ã°ããè´ãã¦ããã¨æãã¾ãã
ã¨ãããããããªããã§å½æ¥ã¯ç¡é§ã«ãµããµããã¦ããã¨æãã¾ãã®ã§ãè¦ãããã声ããã¦ãã£ã¦ãã ããã
MfA session at 4/7 ããã°ã©ãã³ã°çæ¾éï¼ããçï¼çµäº
å
æ¥æ¸ãã¦ããã¨ãã4/7ã¯ããçã§Mono for Androidã®ãã¿ãããã¹ã£ã¦ãã¾ãããgihyo.jpã«ã¬ãã¼ããä¸ãã£ã¦ããããã§ãã
http://gihyo.jp/news/report/2012/04/1301
å°å³ã§ããå½æ¥çºè¡¨ããè³æã¯ãã¡ãã«ããã¾ãï¼å½æ¥twitterã§ããã¹ãåã«æµãããã¤ã¨åãã§ãï¼
http://dl.dropbox.com/u/493047/2012/04/MonoforAndroid20120407.pdf
ä»åã¯Mono for Androidã«ã¤ãã¦è©±ãããã®ã¯ç´åå¹´ã¶ãã¨ãããã¨ã§ã大ã¾ããªç´¹ä»ãmonoã®ã¬ãã«ããå§ãã¦ãµã³ãã«ãåããã¦å é¨è§£åã®è©±ããããã§ãåºæ¬çã«MfAã¨é¢ä¿ãªã話ã¯ããªããã¨ããæ§æã«ãã¾ãããid:atsushieno:20120321:p1 ã§ãäºåã«ããã£ã¨æ¸ãã¾ããããããããåºæ¬çã«ãã¦ã¼ã¶ã¼åããã®è©±ã§çµããããªã主義ãªã®ã§ï¼ãã¼ã±ãã£ã³ã°ã®ä»äºã§ããã¹ã£ã¦ããããã§ãããã¾ãããï¼ãMfAã«ã¯é¢å¿ãç¡ãã£ãï¼ç¡ããAndroidã®è©±ã¨ãã¦ã¯èå³ããããã¨ãã人ã«ãåºæ¿ã«ãªããããä»å¾ãä¼¼ããããªæ©ä¼ãããã°è©±ã«çãè¾¼ãã§ããã¤ããã§ãããããããã¨ãé£ããã¦å ¨ç¶ãããããã£ããã¨ããåå¿ã¨ãããã¯é¢ç½ãã£ããã¿ãããªåå¿ãã ãããåããããè¦ããã¦ãæ¦ãæå¾ éãã«ãªãã¾ãï¼ä»åã¯ã¢ã³ã±ã¼ãã®åçãè¦ãã¦ããããã®ã§ããããããªæãã§ããï¼ã
ãã¢ã¯ãããã¯ã¼ã¯ãä¸èª¿ã ã£ããåæ¥ã«ãã£ãæã«ã¯å¼ã£ããããªãã£ããããªåé¡ãè¸ãã ãã¨ãå人çã«è¸ãã ãè¹´ã£ãããªå¤±æä¾ã ã£ãã®ã§ããããµã³ãã«ã¯å ¬éãªãã¸ããªã«ããã®ã§ã½ã¬ãè¦ã¦ã¿ã¦ãã ãããMfA 4.1ã¯åæ¥ãªãªã¼ã¹ã§ããããUI designerã¯ãªãªã¼ã¹åæ¥çã¨ããããã§ã¯ãªãã£ãããå½ç¶ãªããä¸ã®äººç¹æ¨©ã§ææ°çã§æºåãã¦ããã®ã§ãããããåé¡ã§ã¯ããã¾ããã§ãããï¼ã¹ã©ã¤ãã®ä¸èº«æªçºè¡¨ã®ãã¿ãããã¼ã!ã©ãããã ã!?ã£ã¦ãããã¬ãã·ã£ã¼ã¯ããã¾ãããâ¦ï¼
ã¡ãªã¿ã«æå¾ã«åºã¦ãããã¾ãã®è©±ã§ãããåºæ¬çã«4æãã£ã±ããæéã¨ãããã¨ã«ãªãã¾ãã
æ親ä¼ã§ãmonoã®åå¼·ä¼çãªãã¨ããã£ã¦ã»ããã¨ãã話ãããã ããã®ã§ãããèªåã§ã¤ãã³ãç«ã¦ã¦äºç´ã¨ã£ã¦äººéãã¦ã¨ãããæ¬å½ã«é¢åã§ä»æ¹ãªãã®ã§â¦åå¼·ä¼ãããã®ã§ããã¹ã£ããåå ããããã¦ã»ããã¨ãããã¨ãããã¾ãããå°äººæ°ã¨ãéå ¬éã¨ãã§ãæ°è»½ã«è¡ãã¾ãã®ã§å£°ãããã¦ãã ãã(!?)
ãµã£ãã¤
ååæ¸ããããçã®å¾é¢¨éªå¼ãããã¡ãã£ã¨ãã£ã¤ãã³ã¼ããæ¸ãã¦ãããæ¥ã
å¤åºãããã§ãã£ããå¿ãã¦ãã¾ãããé
ããªã£ã¦ãã¾ãã¾ããããããã¤ããã¿ãæ¸ãã¦ããã¾ãã
Mono for Android 4.1 released
ååã®4.0ãªãªã¼ã¹ãã4ã¶æãããã£ã¦ãã¾ãã¾ããã*1ãMono for Androidã®ææ°çããªãªã¼ã¹ããã¾ããã
http://docs.xamarin.com/android/Releases/Mono_For_Android_4/Mono_for_Android_4.1.0
Alphaçãã£ãã«ã¸ã®é ä¿¡ã«ãªãã®ã§ãMonoDevelopãªãã¢ãããã¼ãã®ãã§ãã¯ãã¤ã¢ãã°ã§ãVSãªãMono for Androidã®è¨å®ã§ãã¢ããã°ã¬ã¼ãã®ãã£ãã«ãAlphaã«ããªãã¨åºã¦ãã¾ããã
ä»åã®ãªãªã¼ã¹ã®å¤æ´ç¹ã¯ããªãªã¼ã¹ãã¼ãããå¼ã£å¼µã£ã¦ããã¨ãããªæãã§ãï¼ãã°ãã£ãã¯ã¹ãé¤ãï¼:
- Java binding library project
- 縮å°ãããããã°å ±æã©ã³ã¿ã¤ã
- VS addinã®ã¦ã¼ã¶ããªãã£æ¹å: ããã¤ã¹é¸æãã¼ã«ãã¼, non-modal deployment, ã¾ã¨ããããlogcat
- MonoDevelopã®publisher dialog
- ICS/Honeycombãã³ãã¬ã¼ããFragmentãã³ãã¬ã¼ã
- APIã®æ¹å
- API Level 15ãµãã¼ã
- intå®æ°ããenumã¸ã®ç§»è¡ã®å®äºï¼ã®ã¯ãï¼
- Android compatibility libraryã®ãµãã¼ã
- ä»»æã®Javaã³ã¼ãçæ
- C# 4.0 dynamicã®ãµãã¼ã
- Instrumentationã®ãµãã¼ã
- Java annotationãAttributeã«å¤æ/AttributeããJavaã³ã¼ãã«åæ
- ãªã½ã¼ã¹XMLã§.NETã®ååãå©ç¨å¯è½ï¼ä»¥åã¯Javaåã®ã¿ï¼
Javaãã¤ã³ãã£ã³ã°ãç°¡åã«ä½¿ããããã«ãªã£ãã®ã¯å¤§ããã¨æãã¾ããæ¬æ¥ã¯Mono.Android.dllãçæããããã«ä½¿ç¨ãã¦ãããã¼ã«ã§ããããããããæãå ãã¦å¤é¨ã©ã¤ãã©ãªã«å¯¾å¿åºæ¥ãããã«ãããã¨å§ãã¦æåã«åºæ¥ãã®ãååã®ãªãªã¼ã¹ã«ãã£ãmaps.jarã®ãã¤ã³ãã£ã³ã°ãããã¦ä»åã®compatibility libraryã®ãã¤ã³ãã£ã³ã°ã¨ãããã¨ã«ãªãã¾ããã½ã¬ã¨ã¯å¥ã«admob, svg-android, facebook sdkãã®ä»ãããã試ãã¦ã¿ã¾ããï¼ãã®è¾ºã¯プレビューブランチのmonodroid-samplesã«å«ã¾ãã¦ãã¾ãï¼ã
facebook sdkã¯å°ã äºæ ãç¹æ®ã§ãããã¯Android Library Projectã¨ãã¦é å¸ããã¦ãããã®ãªã®ã§ãåãªãJarã®ãã¤ã³ãã£ã³ã°ã§ã¯ãªãããªã½ã¼ã¹ã®éåãå«ãããã«ãçæç©ãzipã«ã¾ã¨ããä¸ã§dllã«ãã³ãã«ããã¨ãããããªããã¼ãªä»çµã¿ãå®è£ ãã¾ãããLibrary projectã®ãã«ãåºåï¼binãã©ã«ã以ä¸ï¼ãzipã«ã¾ã¨ãã¦LibraryProjectZipã¨ãã¦binding library projectã«è¿½å ããã¨ããªã½ã¼ã¹ãã¾ã¨ãã¦é¢åã¿ã¾ãããããã¯ããã«ãæ¸ã¿android library projectã®project.propertiesã追å ããã¨ãããããåæã«ãã¡ã¤ã«ãå¼ã£å¼µã£ã¦ãã¾ã(!)ãã¤ããJavaã¦ã¼ã¶ã¼ã®äººãã¡ãé å¸ãããã©ãããã¨ãè¨ã£ã¦ãããããªã®ã§ãGoogleã¯Library Projectã®ã¢ã¦ããããã1ã¤ã®jarã«ã¾ã¨ããããã«ãã¹ãã
ä»åã®ExportAttributeãµãã¼ãã§ãAPIã¾ããã®å¶ç´ã§Javaã§ããåºæ¥ãªãã£ããã¨ããã£ããåºæ¥ãããã«ãªãã¾ãããParcelable.CREATORã¨android:onClickã¨java.io.Serializableã¨WebView.addJavascriptInterface()ã使ããããã«ãªã£ãã®ã¯ç¢ºèªãã¦ãã¾ããä»ã«ãç¹å®ã®Javaã³ã¼ããè¦æ±ãããããªæ©è½ãããã°ãããããµãã¼ãã§ãã¦ããããããã¾ããã
ã¡ãªã¿ã«ãParcelableãµãã¼ãã¾ããã確èªãã¦ããã¨ãã«ãaidlããC#ã³ã¼ããçæãããã¼ã«ãä½ã£ãã®ã§ããããã£ã¤ãã§ãã©ãã·ã¥ã¢ããããæéãç¡ãã£ãã®ã§ä»åã®ãªãªã¼ã¹ã«ã¯å«ã¾ãã¦ãã¾ããï¼ã¨ãããéè¦ãããã®ãåãããªãã®ã§ä»å¾ãã©ããããâ¦ï¼ã
dynamicã使ããããã«ãªã£ãã®ã¯ã人ã«ãã£ã¦ã¯å¬ããããããã¾ããããã ãMicrosoft.CSharp.dllã¨Mono.CSharp.dllã¸ã®åç §ãå¢ãã¦ã³ã¼ããµã¤ãºãå¢ãã¦ããããåçå解決ã¯è»½ãã¨ã¯è¨ããªãã®ã§ã使ãã©ããã«ã¯æ°ãã¤ããæ¹ãè¯ãã§ããããæè¿Microsoftããªãªã¼ã¹ããaspnetwebstackã«å«ã¾ãã¦ããSystem.Jsonã«ãã£ãJsonValue.AsDynamic()ã使ã£ããµã³ãã«ã書いてみましたãï¼ã©ããã§è¦ããããªä¾!ï¼ããã¼ãå®äºããã¾ã§å²ã¨æéããããã¾ãã
ãããªããã§ãä»åã®ãªãªã¼ã¹ã®æ°æ©è½ã®å¤ãã¯ãããããã£ã¤ãã¦ããã®ã§ãããç¡äºåºã¦ãã¦å®å¿ãã¾ããã
ã¡ãªã¿ã«明日のプロ生勉強会ã§ãã®è¾ºã®è©±ãããäºå®ã¯ã»ã¨ãã©ããã¾ãã(!)ãããã¾ã§Mono for Androidã使ã£ã¦ããã¨ãã人ã«ãããããããªãã¨æãã®ã§â¦UI designerã®è©±ãªã©ã¯ã¡ããã£ã¨ããäºå®ã§ããæéããã£ãããã²éã³ã«æ¥ã¦ä¸ããã
追è¨: Android Designer betaã¨MfA 4.1ã®é¢ä¿ã§ãããdesigner betaã¯MonoDevelopã®alphaãã¼ã¸ã§ã³ã¨ãã¦æãã¦ããããã°è¯ãã¨æãã¾ããMonoDevelopãã¢ãããã¼ãããã¨designer betaã¯æ¶ãã¦ãã¾ãã¾ãããMfA 4.1ã«ã¢ãããã¼ããã¦ãdesignerã¯åä½ããã¯ãã§ãã
*1:2æã«ãªãªã¼ã¹ã¨è¨ããã¦ããé ã«ã¡ã³ãã¼ã®ä¼æãéãªãã3æã«ãªãã¨ããã¥ã¡ã³ããã¼ã ãMonoTouch 5.2ã§æä¸æ¯ã¨ããç¶æ³ã«æ¼ããããâ¦
WP7ã§iso2022jp / MS932 (sjis) / MS51932 (euc-jp)ã使ã
WP7ã§ã¯Unicode以å¤ã®ã¨ã³ã³ã¼ãã£ã³ã°ãã»ã¨ãã©?å ¨ã?使ããªãã¿ããã§ããã
id:ch3cooh393:20120209:1328742115 - Windows Phoneã§Shift-JISãEUC-JPã®æååãæ±ã
ããã§JpEncodingã¨ããããã¸ã§ã¯ãããã£ã¦ãããããã®ã¯ååãã«ä½¿ã£ã¦ããããã°ããã¨æãã®ã§ãããã³ã¡ã³ãããã¦ããããã«ã確ãã«Dictionaryã«å¤æãã¼ãã«ãçªã£è¾¼ãã§ããã®ã¯ã¡ãã£ã¨å¹çæªãã§ãã
ãããªããã§æ®éã«monoã®MS932å®è£
ãå¼ã£å¼µã£ã¦ããã°ãããããã?ãã£ã¡ã¯å¤æãã¼ãã«ãªã½ã¼ã¹ã ããã¨æã£ã¦ææ¡ããããã§ãããã¹ã«ã¼ããã¦ãã¾ããæãå¿é ryãªã®ã§ããã¾ãã¾ä»æ¥Silverlightãæ¼ãå²ãä¼ã§Windowsãããã£ã¦ããã®ã§ã移æ¤ãã¦ã¿ã¾ãããå
è·ãªãããã¦ããã¯ãããªã!
http://dl.dropbox.com/u/493047/2012/03/I18N.CJK.WP7.zip
ããã¸ãå¤ã¼ãã³ã¼ããªã®ã§ç¢ºãJIS X 0213ã¾ãããæªããã£ããããªæ°ããã¾ãããæ¬å®¶ã½ã¼ã¹ã¯ããã«ãããã¾ãï¼ãã¶ãcjk.tableãåçæããå¿ è¦ãããå ´åã«ã¯å¿ è¦ï¼ã誰ãæ°ãåãããä¿®æ£ãéã£ã¦ããã ããã°ã¨æãã¾ã(!)
æå¾ã«èå©å¿ãªããæ¸ãã¦ããã¾ãããã³ã¼ãã®æ¬ ç¹ã®ææãäººæ ¼éé£ã¨åãéãã¦ã¯ããã¾ããããã£ã¤ãä»äºã«ã¯ãã£ã¤ãä»äºã®ä¾¡å¤ï¼ã¹ãã¼ãï¼ãããã¾ãã