我有一个使用Microsoft Visual Studio 2010 C#开发的现有应用程序.我刚购买了Xamarin的Monotouch产品,它允许我使用他们的IDE MonoDev通过编码C#从头开始创建iPhone/iPad应用程序.现在我不想编写新的应用程序.我想把我现有的C#应用程序导入到monodev/monotouch中,并在iPhone/iPad上运行结果.我现有的C#应用程序专为使用Xamarin的Android产品在Android手机/平板电脑上部署而设计.它很棒!我已经开始涉足Xamarin文档,示例,教程等.但我现在需要立即将现有应用程序移植到iPhone/iPad上.我真的没有浪费时间从头开始学习.我必须相信某人已经走下了这条迁移路径.如果您有,我们可以聊天,发送电子邮件,或者您是否知道是否有指南描述了实现这一目标的具体步骤?TIA
我正在使用Android SDK与Microsoft VS2010 C#.我想在我的C#代码中使用my/resources/values/strings文件中的字符串值.这是一段代码,说明了我想要做的事情.我没有得到字符串值.我知道资源id是一个int,但我需要的是id后面的实际字符串值.
        void vx2OkButton_Click(object sender, EventArgs e)
    {
        Log.Info(LOG_TAG, "Hello from OkButton|Enter()button");  // also used as Enter button
        strVx20kButtonText = vx2OkButton.Text.ToString();
        mDwnLdCodeEnteredByUser = vxxDwnldCodeEntered.Text.Trim();
        string strDwnldCodeOut = mActCode.Bad.ToString();
        if(strVx20kButtonText == Resource.String.Enter.ToString())
        {
            if (mDwnLdCodeEnteredByUser.Length < 1)
            {
                vxxSystemMsgBox.SetText(Resource.String.FieldRequried_);
                m_txvEnterDwnLdCode.SetTextAppearance(this,Resource.Color.Red);
                return;
            }
            // verify the dwnldcodeenter by the user matches the assigned to user when at the time the downloaded the app 
            mDwnLoadStatus = VerifyDwnLoadCode(mDwnLdCodeEnteredByUser);
            if (mDwnLoadStatus == mDwnLdStatCode.BadDwnLdCode.ToString())
            {
                vxxSystemMsgBox.SetText(Resource.String.InvalidValueEntered);
                m_txvEnterDwnLdCode.SetTextAppearance(this, Resource.Color.Red);
                return;
            }
            mActionCD = mActCode.Ok.ToString();
            vx2OkButton.SetText(Resource.String.OkButtonText); …