[Mono-dev] [PATCH] Android Support [1/4]

Rodrigo Kumpera kumpera at gmail.com
Mon Apr 19 14:15:30 EDT 2010


+static void
+out_vfprintf (FILE *ignore, const gchar *format, va_list args)
+{
+ __android_log_vprint (ANDROID_LOG_ERROR, "mono", format, args);
+}

Shouldn't we identify the entry by the application name instead of mono?


On Mon, Apr 19, 2010 at 2:44 PM, Jonathan Pryor <jonpryor at vt.edu> wrote:

> This is a series of patches to add support to Mono for building against
> the Android NDK [0].  Android runs the Linux kernel, but moves many
> things around compared to a "normal" desktop Linux distro.
>
> These patches are based against the mono-2-6 branch.
>
> This first patch patches eglib so that messages produced by g_print(),
> g_printerr(), and g_log() are sent to the Android message log:
>
>        * src/glib.h: Rebase g_return_if_fail(), g_return_val_if_fail() in
>          terms of g_critical() instead of printf, and turn g_printerr()
> into
>          an actual function instead of a macro.
>        * src/goutput.c: Add Android support, sending g_print(),
> g_printerr(),
>          and g_log() messages to the Android system log.
>
> Permission to commit?
>
>  - Jon
>
> [0] http://developer.android.com/sdk/ndk/index.html
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100419/eba7504a/attachment.html 


More information about the Mono-devel-list mailing list