Test initialisation of MUIA_List_AdjustWidth and MUIA_List_AdjustHeight, and
[AROS.git] / arch / all-android / bootstrap / ui.c
blobed76460b35b9433de78a24e1389984fa9209df97
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <stdarg.h>
7 #include <stdio.h>
9 #include "android.h"
10 #include "bootstrap.h"
12 void DisplayError(char *fmt, ...)
14 va_list args;
15 jstring str;
17 va_start(args, fmt);
18 vsnprintf(buf, sizeof(buf), fmt, args);
19 va_end(args);
21 str = (*Java_Env)->NewStringUTF(Java_Env, buf);
22 (*Java_Env)->CallVoidMethod(Java_Env, Java_Object, DisplayError_mid, str);