Mixing C# and Java languages -


my goal make android application, prints "hello world" text logcat c#. i'm thinking of in c#:

using mylibrary; namespace hello {     public class helloworldclass     {         public helloworldclass()         {             mylibrary.print("hello world");         }     } } 

then in eclipse project:

import hello; public class mainactivity extends activity {     @override     protected void oncreate(bundle savedinstancestate) {         super.oncreate(savedinstancestate);         hello = new hello(); // print "hello world" logcat     } } 

how can create "mylibrary"? related links, references or help?

consider using mono android: http://xamarin.com/monoforandroid has disadvantages. main extreme memory consumtion (at least 2 times more memory consumed) because starts own vm.


Comments