I'm trying to use this code to see the log in the java code:
https://www.b4x.com/android/forum/threads/any-news-about-native-ads-advanced.88100/#post-562893
But I get this error in compile:
How I can see log in inline java code?
B4X:
#if Java
public static class MyAdListener extends com.google.android.gms.ads.AdListener {
String eventName = "nativead";
BA.Log(eventName);
@Override
public void onAdClosed() {
processBA.raiseEventFromDifferentThread(null, null, 0, eventName + "_adclosed", false, null);
}
But I get this error in compile:
B4X:
javac 1.8.0_92
src\br\com\b4a\testes\main.java:1788: error: <identifier> expected
BA.Log(eventName);
^
1 error