Can I use VB.NET to develop applications using MonoDroid? - android

I would like to know if it is possible to develop smartphone applications using VB.NET rather than C# with the MonoDroid Visual Studio addin?
Also, if possible could anyone point me in the right direction of some example code in VB.NET not C#?
Many thanks in advance.

Here is an article
From http://mono-android.net/FAQ
Currently Mono for Android does not support Visual Basic.
We are looking at adding support for
Visual Basic on upcoming versions of
Mono for Android.
Technically, what needs to happen is
the following: we need to provide the
Visual Basic helper library (part of
Microsoft.VisualBasic.dll) and compile
it to work with the Mono for Android
mscorlib.dll instead of the standard
Mono 2.0 mscorlib.dll
With the above it will be possible to
use Microsoft's Visual Studio to
compile VB code that will run on Mono
for Android. But we want to support
Mono's own Visual Basic compiler, but
that will also require the compiler to
run using the Mono for Android
mscorlib.dll. This is not difficult,
but requires time to get done and
integrate into our release process.
At this point there is no ETA on when
the above will happen. [enter link
description here][1]
[1]: http://mono-android.net/FAQ

Not at this time. You can find an explanation in the FAQ, but the first few lines state:
Does Mono for Android support Visual
Basic?
Currently Mono for Android does not
support Visual Basic.
We are looking at adding support for
Visual Basic on upcoming versions of
Mono for Android.

Related

How to use GUI in visual studio 2010 for android application

Hy I am new to visual studio .I search a lot and successfully create first application of android in visual studio 2010 using c++ but I don't find anything related to GUI.Please help me I want to create button,imageview,textbox etc in my android application using visual studio 2010 with c++
regards
To use native(C++) code in android application you need Android
NDK
Are you sure you want to create a GUI for Android using C++ there several libraries to create layouts with few XML/Java lines? For your question I suggest you read the Android NDK documentation to know how to properly implement C++ in your project.

Port .NET dll to different platforms

I have a dll based on .NET 2.0 with full source code access.
So I can build it in VS2010.
I need to port this to Android/iOS/MacOS.
As a result I expect some equivalent of dll for each platform.
So another programmer can link (doesn't matter how) this equivalent to his own project at one of that targeted platform.
For example I ran MonoDevelop on Mac and don't see how I can build my .NET project and to receive such equivalent of dll.
So I need help to find solution and understand what to do to receive requierd result.
There are CLI implementations, primarily Mono, that work on both iOS and droid. The simplest tools here are MonoTouch and Mono for Android, both available from Xamarin. With these tools, you can build and test your dll targetting the relevant frameworks. Another programmer, again using the MonoTouch or Mono for Android tools, can reference those dlls, and build their application, with all the tools necessary to package and deploy (side-loading or via, say, the device's store) an application using that library. This deployment will typically also include all the runtime/framework pieces needed by the application.
MonoTouch makes use of the MonoDevelop IDE, so will be familiar to you as a MonoDevelop user. Mono for Android can do that (i.e. be hosted inside MonoDevelop), but can also be used inside Visual Studio.
Running .NET code requires a .NET runtime to be installed. Neither Android nor iOS devices come with such a runtime preinstalled.
In theory, you could install the Mono Runtime (a open-source .NET alternative) on an Android device or a jailbroken iPhone/iPad. However, as I understand it, you're looking for a way to create a library to give developers, so this isn't a good solution.
However, what could work is creating a library with MonoTouch. MonoTouch compiles your .NET code to a binary that iOS devices can use - regardless if they're jailbroken or not, without needing a runtime installed.
If you follow best practices, you might port your library successfully, such as
http://sharpsnmplib.codeplex.com/discussions/390251
However, it purely depends on the characteristics of your library, which you does not mention yet.

What languages are mature to develop native apps in Android [except Java]

Is there a languages other then Java to develop native apps in android without script layer/AIR and others 3rd party abstractions.
Mostly im interested in Clojure,JRuby, Scala
Since Scala is compiled to native JVM bytecode, it could be use to develop native Android apps.
The biggest problem is that using 3rd party library is not that easy in Android development, and you need use proguard to reduce the size of your program, sometimes this will cause problem.
But it is still feasible to develop an Android app using Scala, for example, I've wrote an little android app (page in Chinese, but there is screenshots) using Scala. It's not a complex app, but should demonstrate what Scala could do in Android app development.
Here is also an SBT plugins that help you build your Scala/Android program.
Finally, if you want develop Android using Scala, I will suggest using Scala 2.8.x. I found my program crashes during adb install when I extends a collection class using Scala 2.9.
If you use Mirah, you can get code that is exactly as fast and small as writing Java, but you get niceties like type inference, closures, and macros. The tooling is still pretty immature compared to Scala, but if you want to minimize overhead above all else you should give it a look: http://mirah.org and https://github.com/mirah/pindah

How to create Android apps using Delphi

I have been asked to research on how to make an android app using Delphi, Now I am not sure that this can be done. I have not come across tutorials on the same. Somebody please clarify on this issue.
Delphi cannot create Android apps at present. This is being worked on for a future release.
Update: As of the release of XE5, Delphi now supports Android development for certain ARM hardware using the mobile Delphi compiler.
Free Pascal is now able to produce code for the Java platform - so it might be feasible to create Delphi code which can be compiled to Java bytecode with FPC and then converted for the Dalvik VM.
The FPC backend for the Java Virtual Machine (JVM) generates Java byte
code that conforms to the specifications of the JDK 1.5 (and later).
While not all FPC language features work when targeting the JVM, most
do (or will in the future) and we have done our best to introduce as
few differences as possible.
This FPC JVM backend is not related to Project Cooper by RemObjects,
nor does FPC now support the Oxygene language.
Two choices to follow at present - check out Delphi for Android which is in design/beta phase: http://lenniedevilliers.blogspot.com/
Or, use Prism http://www.embarcadero.com/products/prism (and check out their Oxygen for Java coming soon http://www.remobjects.com/oxygene/java.aspx which is in Beta)
With DWS as backend script compiler and the soon to come Smart Mobile Studio (aka OP4JS) component library and RAD interface it will be possible to make apps running with HTML5 in android applications (and iOS or any other html5 compatible system).
By using object pascal, all Delphi and freepascal users will have a short learning curve and a high code reuse factor.
There are some samples using only the DWS backend here :
taming-the-flock-with-object-pascal
taming-html5-verlets-with-object-pascal
Update :
More samples can now be found on their homepage.
First steps with native Android applications made with Lazarus/FPC are here.
One way is to use a combination of Delphi, Sencha and PhoneGap by leveraging the Raudus framework. You can try the RaudusEmployee.apk example on your phone and see if this method will work for you.
http://www.raudus.com/samples/
This is not a native application, but similar to many new HTML5 applications.
Delphi XE5 is now released with Android support.
http://www.embarcadero.com/products/rad-studio/create-android-apps

porting a library to Android; beginner

I am a newbie in android development but having plans to become an active developer
I had a c++/Java library called Wt. I need to install this library on android.
http://www.webtoolkit.eu/wt
Do I need to port the source code of library?
If yes please point to me a good resource to start with.
Expecting a good helping hand from this community
It is possible to use native C/C++ code in Android applications, using the Android NDK (Native Development Kit)
And it is apparently possible to compile wt for Android, so hopefully not much porting to do!
See http://redmine.emweb.be/projects/wt/wiki/Installing_Wt_on_Android

Categories

Resources