istereo2
diff src/android/amain.c @ 31:48a0660bac82
fucked up the ads
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 08 Oct 2015 16:23:27 +0300 |
parents | 900651a2f401 |
children |
line diff
1.1 --- a/src/android/amain.c Thu Oct 08 06:54:18 2015 +0300 1.2 +++ b/src/android/amain.c Thu Oct 08 16:23:27 2015 +0300 1.3 @@ -85,6 +85,8 @@ 1.4 jmethodID method; 1.5 if(!jvm) return; 1.6 1.7 + printf("ad_banner_show called\n"); 1.8 + 1.9 if(!(method = (*jni)->GetMethodID(jni, activity_class, "show_ad", "()V"))) { 1.10 fprintf(stderr, "failed to retrieve MainActivity.show_ad method\n"); 1.11 return; 1.12 @@ -97,6 +99,8 @@ 1.13 jmethodID method; 1.14 if(!jvm) return; 1.15 1.16 + printf("ad_banner_hide called\n"); 1.17 + 1.18 if(!(method = (*jni)->GetMethodID(jni, activity_class, "hide_ad", "()V"))) { 1.19 fprintf(stderr, "failed to retrieve MainActivity.hide_ad method\n"); 1.20 return; 1.21 @@ -113,7 +117,7 @@ 1.22 1.23 case APP_CMD_INIT_WINDOW: 1.24 printf("APP_CMD_INIT_WINDOW\n"); 1.25 - ad_banner_show(); 1.26 + //ad_banner_show(); 1.27 1.28 if(init_gl() == -1) { 1.29 exit(1);