Translating a .NET DLL using Monodroid - xamarin.android

I have written a networking library using C# and .NET. .NET/Mono developers can use the library to develop multiplayer applications.
I want to make the library available on the Android platform so that native Android developers can use the library. Is Monodroid (Mono for Android) capable of performing this translation and what is the best way to proceed?
Thanks.

If I'm understanding the question correctly, you are looking to build a DLL using Mono for Android that you give to Java developers to use? That's not currently possible since Mono for Android isn't simply translating from C# to Java. Mono for Android apps include the Mono runtime, and .NET code is run against that. It generates callable wrappers so that Mono and Dalvik (the Java virtual machine in Android) can talk to each other, but without the Mono runtime the DLL wouldn't be very useful.
If the developer is using Mono for Android to build the application, then they can use your DLL in the app.

Related

What technology stack does Autodesk FormIt use?

Autodesk's FormIt software exists on Windows,Web,Android and IOS.
Does anyone know what technology stack they are using?
For Desktop is C++ with Qt Framework. For Android is Java and for Web is HTML5 and JS
Because app is made for multiple platforms not means use same language in all. Only way to do that is using HTML5/JS in all platforms and that is not used in this case.

How is Microsoft's iOS bridge IslandWood implemented?

Microsoft's newly announced Project Islandwood is interesting, as it allows Objective-C code written for iOS to be repurposed into a Universal Windows app.
I couldn't find any information on the details, so:
Has Microsoft effectively implemented an iOS subsystem in Windows 10?
Is it built on existing software (e.g. the old OpenStep source code) or built from scratch?
Are all the various iOS frameworks - Core Data, Core Text, Core Graphics, OpenGl, etc - implemented?
It allows writing Universal Windows Apps in Objective-C using the normal Windows Runtime along with an iOS API compat layer.
Visual Studio 2015 has a language projection for Objective-C so that you can compile Objective-C into a Windows app. The most common iOS API (CoreGraphics, CoreText, OpenGL, etc.) are provided .
You can import an Xcode project into Visual Studio and then compile it as a Windows app.
See the Project Islandwood site at http://aka.ms/islandwood and the Build talk Compiling Objective-C Using the Visual Studio 2015 C++ Code Generation that Builds Windows, SQL, .Net, and Office for details. Jim Radigan talks about the Objective C code generation in the first half. Salmaan Ahmed starts talking specifically about Project Islandwood about 33 minutes in.

How do Delphi XE4 and Xamarin Monotouch differ in the way they target iOS?

I was intrigued to discover that Delphi XE4 now targets iOS. What are the main differences between the way Monotouch and Delphi XE-4 target the iOS platform?
If I understand correctly, Xamarin Monotouch targets iOS development by providing C# wrappers for the iPhone Cocoa Touch libraries. You still use the XCode Interface Builder to generate the user interface and therefore you need some understanding of iOS concepts like UIViews or Outlets and Actions which are quite different from say, using C# to develop for WinForms or WPF.
Does the Delphi-XE4 approach work the same way? Does it provide Delphi wrappers for the iPhone libraries?
Also, from an interface building perspective, does its interface builder work similar to the XCode interface builder along with the identical native controls and concepts? How different is it for a Delphi developer to target iOS rather than Windows?
The Embarcadero approach is quite different from what you describe for Xamarin.
The Xamarin approach, as you describe it, uses the platform native framework. In contrast, the Delphi iOS solution is based on the FireMonkey cross-platform framework, FMX. The FMX framework does not use native controls. Instead the framework emulates the look and feel of the native controls.
When you develop an FMX mobile app for iOS, it's a straight-forward re-compile to make that app run on Android, the up-coming mobile platform that is coming with XE5. Embarcadero view this as a significant benefit to their approach. It's up to the developer to decide whether or not the common source benefit of the FMX approach outweighs the non-native UI widgets.
All that said, it is perfectly feasible to use the Delphi iOS compiler to generate Cocoa applications. But that would require extra effort and most likely third party components.
The FMX platform is also available on Windows and Mac. So you can develop for those platforms using the same framework as your mobile apps. Obviously the mobile apps will be quite different, but if you master the concepts of FMX on one platform then they transfer easily to other platforms.

Can I develop libraries (dll's) with Monodroid which are consumed by native Java apps?

I would like to develop a library (like a dll or jar) with Monodroid that can be called by Java applications on Android.
Is this possible?
If not, is there another possibility? (IPC...)
There is a solution for iOS, is there a similar solution for Android?
http://www.guidebee.biz/forum/viewthread.php?tid=172
Thank you!
A DLL compiled for Mono for Android will need the Mono runtime in order to run it, so it wouldn't be very useful for a standard Java app. Xamarin has some good documentation on the architecture available here. It is possible to go the other way around, though, and use Java libraries from within a Mono for Android application.

What is RhoMobile for?

I do not understand. I have to download xcode and bunches of other stuff to make it work. I don't understand what I'm getting. Is it that I can use Ruby instead of Objective-C and it compiles down to a native app? Thanks.
Rhomobile, selected Best Startup at Interop 2009, lets developers use HTML and Ruby to create native iPhone, BlackBerry, Windows Mobile, Symbian, and Android applications.
The development in it is called rhodes.
Rhodes is a free and open source MVC-based framework written in Ruby under the MIT license for building native cross-platform mobile development applications. Rhodes enables developers to harness their traditional web skills such as HTML, HTML5, CSS, and JavaScript, instead of in Objective-C or other complex native device OS language, to create a native app, and porting the app in cross operating systems such as Android, Appleā€™s iPhone and iPad, BlackBerry, Windows Mobile, Symbian and HP/Palm's Linux-based WebOS.
Download rhoStudio. Using the rhoStudio you can create your iOS, android,BB,WP application easily.
What you have to do is to code in simple html, javascript and if you want to use MVC architecture you have to use Ruby for that. As it is build on Ruby framework.
Good thing is it also supports HTML 5.
Once you build the project you can transform into any of your favorite device application.
with just only couple of commands.
I just coded in html in rhoStudio and now I can run the same application in my Xcode also. its fun.
At the same time of development you can run your project for other devices too.
The ruby that you write is compiled to Ruby bytecode and the compiled bytecode is executed as a resource by Rhodes and compiled to native code. A rubyVM interpreter is integrated into the application.

Resources