[mono-android] Non-apk applications (and mixed assemblies)

Daniele Salvatore Albano d.albano at gmail.com
Wed Dec 7 05:35:45 EST 2011


2011/12/7 Jonathan Pryor <jonp at xamarin.com>:
> Maybe? You could certainly compile your app against the Mono for Android BCL assemblies (mscorlib.dll, etc.) using CSC.EXE (.NET) or /Developer/MonoAndroid/usr/bin/smcs (OS X) in order to get a .exe out of it. As for running on the device, you might be able to use Assembly.Load() from a "normal" Mono.Android app and then execute the .exe...

mmm, i need to start it from command line because i need to start it
as root or adb privileged user (on non rooted phones)

> However, I'm not sure how stable this will actually be. This isn't a tested configuration, and the BCL contains a number of changes to support Android devices, for example stdout and stderr are copied to the Android Debug Log:
> ...
> In short, if it breaks, you're unlikely to get any significant support unless it also breaks "normal" apps.

Understood, and if i compile it normally with mono can i run it on
mono for android?


-- 
Daniele Salvatore Albano
---
IT Consultant
Website Design and Development
Software Engineer and Developer
Linux Servers SetUp And Administration
Embedded Network Solutions

http://www.daccii.it
http://www.itechcon.it


More information about the Monodroid mailing list