Android Question Pass Activity in In-line Java

cambopad

Active Member
Licensed User
Longtime User
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?
 
Top