Hello guys im trying to make a very simple wrapper for RevMob but i can't seem to get it right ba.activity always return NULL !! even with the "@ActivityObject".
so any advice guys ?
so any advice guys ?
B4X:
package revmob.test.wrapper;
import com.revmob.RevMob;
import android.app.Activity;
import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.BA.ActivityObject;
import anywheresoftware.b4a.BA.ShortName;
@ActivityObject
@ShortName("RevmobTest")
public class revmob extends Activity {
private BA ba;
private String eventName;
private RevMob revmob;
public void InitializeRevMob(BA ba, String EventName )
{
this.ba = ba;
revmob.start(ba.activity);
revmob.showFullscreen(ba.activity);
}
}