Can I install a visual basic application on android?
I have been trying开发者_运维技巧 to code and run the hello world application but am not able to get the emulator to boot all the way. Plan b is vb.
HELP!
Do you mean VB or VB.NET?
The Mono project recently announced VB.NET support, though C# is the preferred language (do yourself a favor and switch!). Since Mono runs on Android (and just about everything else), it should get you going in the right direction.
Update Okay, downvoters: a little lesson in basic math: the transitive property of inequalities states that if a < b, and b < c, then a < c.
So:
If VB.NET can be compiled by Mono,
and Android supports the Mono framework,
Then Vb.Net can be used to write an Android application.
We can get into a discussion about the available features, framework completeness, etc, but the OP asked about compiling "Hello world" in VB for Android.
Or, skip the above references and just consider this: The MS VB compiler produces MSIL/CIL.
Just take the CIL that the compiler produces and throw it into Mono. The Mono compiler will convert this to IR, optimize it and produce the appropriate binary for the target platform.
If you're going to downvote, cite your sources instead of arbitrarily throwing out acronym soup that is irrelevant to the topic at hand.
Unfortunately, you can not run a visual basic application on Android. Maybe if you provide some additional information about the problem you are having with the emulator we can help with that?
I'll guess at the emulator issue...
Sometimes the emulator can be quite slow. If you are impatient and start clicking on buttons in the emulator before it has finished, it doesn't seem to work properly. I did this when I first started and thought the emulator was broken - but it actually just took several minutes to launch. My clicking on buttons just made sure it never finished.
Try running your helloworld program, but be sure to wait until the emulator is fully ready to go before you interact with it. The good news is, once you have launched the emulator once, you can keep the emulator running while you write and try out your code.
精彩评论