Navit SVN

/work/compile/navit/src/navit/android.h

00001 #ifdef HAVE_API_ANDROID
00002 
00003 #include <jni.h>
00004 extern JNIEnv *jnienv;
00005 extern jobject *android_activity;
00006 extern int android_version;
00007 int android_find_class_global(char *name, jclass *ret);
00008 int android_find_method(jclass class, char *name, char *args, jmethodID *ret);
00009 int android_find_static_method(jclass class, char *name, char *args, jmethodID *ret);
00010 
00011 struct jni_object {
00012         JNIEnv* env;
00013         jobject jo;
00014         jmethodID jm;
00015 };
00016 
00017 #else
00018 
00019 struct jni_object {
00020         int dummy;
00021 };
00022 
00023 #endif