如何将VB.NET程序转换为在Android平台上工作 [英] How do I convert VB.NET programme to work on android platforms

查看:732
本文介绍了如何将VB.NET程序转换为在Android平台上工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在过去的几年里,我一直在教我自己使用vba和vb.net在我的和其他PC上使用。我现在购买了三星平板电脑,并希望将其中一个应用程序放到平板电脑上。我该怎么做呢?应用程序是使用visual studio创建的。



我尝试过:



我不知道要开始。我很退休,这对我来说是新的。

解决方案

这不是一项微不足道的任务,甚至不是轻微的。 Android在大多数方面都不像Windows,所以你需要学习一个新环境。

你可以做到 - Xamarin支持VB,并且包含在VS2015中(包括社区版)。 />
但是......我刚刚开始使用它,我花了两天的时间来运行仿真器来执行Hello World!。到目前为止我看到的所有文档都在C#中,包括来自Charles Petzold的免费MS Press书:使用Xamarin.Forms Book First Edition创建移动应用程序 - Xamarin [ ^ ] - 我很想说如果你要转向Android,那么首先可能值得转向C#(非常简单如果您只使用过.NET VB并忽略了所有可怕的遗留内容,那么请从Petzold书开始学习如何同时为Andorid(以及iOS和Windows Phone)编写代码。

如果你是一名经验丰富的VB开发人员,那么学习C#不应该花费你几天的时间 - 如果你已经了解.NET框架内容,那么这是一种非常简单的语言。


< blockquote>正如格里夫所说,这不是一项微不足道的任务。但是,您可以查看 xamarin vb.net - Google搜索 [ ^ ]。


I have over the last few years taught myself to use vba and vb.net for use on mine and others PCs. I have now purchased a Samsung Tablet and wish to put one of the applications onto the tablet. How do I do this? The applications were created using visual studio.

What I have tried:

I have no idea were to start. I am well into retirement and this is new to me.

解决方案

This is not a trivial task, not even slightly. Android is not like Windows in most respects, so you need to learn a new environment.
You can do it - Xamarin supports VB, and is included in VS2015 (incl. the Community edition).
But...I've just started with it and it took me two days to the the emulator running to execute "Hello World!". And all the documentation I've seen so far is in C#, including the free MS Press book from Charles Petzold: Creating Mobile Apps with Xamarin.Forms Book First Edition - Xamarin[^] - I'm very tempted to say that if you are moving to Android it might be worth moving to C# first (pretty simple provided you only ever used .NET VB and ignored all the horrible legacy stuff) and then starting on the Petzold book to learn how to code for Andorid (and iOS, and Windows Phone all at the same time).
If you are an experienced developer in VB, it shouldn't take you more than a few days to learn C# - it's a pretty simple language if you already know the .NET framework stuff.


As Griff says, this is not a trivial task. However, you may wish to look at xamarin vb.net - Google Search[^].


这篇关于如何将VB.NET程序转换为在Android平台上工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆