cambopad Active Member Licensed User Longtime User Mar 11, 2016 #1 Hi all! I have a problem passing the activity to java code inside Inline Java! For main activity, I can pass like below: B4X: MobileCore.showInterstitial(main.this, MobileCore.AD_UNIT_TRIGGER.APP_START, null); and it works fines. But for other activities besides the main activity, how can I pass the parameter?
Hi all! I have a problem passing the activity to java code inside Inline Java! For main activity, I can pass like below: B4X: MobileCore.showInterstitial(main.this, MobileCore.AD_UNIT_TRIGGER.APP_START, null); and it works fines. But for other activities besides the main activity, how can I pass the parameter?
Erel B4X founder Staff member Licensed User Longtime User Mar 13, 2016 #2 Change main.this to this. Upvote 0