If Not(ctxt.IsInitialized) Then ctxt.InitializeContext
'INIT SDK
StartAppSDK.InitializeStatic("com.startapp.sdk.adsbase.StartAppSDK")
StartAppSDK.RunMethod("init", Array(ctxt,startAppKey,True))
'SET TEST MODE
StartAppSDK.RunMethod("setTestAdsEnabled", Array(True))
'INIT ADS
StartAppAd.InitializeNewInstance("com.startapp.sdk.adsbase.StartAppAd", Array(ctxt))
'INIT LISTENER
Dim AdListenerIntersticial As Object = StartAppAd.CreateEventFromUI("com.startapp.sdk.adsbase.adlisteners.AdEventListener", "AdListenerIntersticial", Null)
'CALL LOAD AD WITH LISTENER
Try
StartAppAd.RunMethod("loadAd", Array(AdListenerIntersticial))
Catch
Log(LastException)
End Try