B4A Question Beta 3.8 JavaObject CreateEvent / CreateEventFromUI - stevel05    May 10, 2014 I am trying to play with the JavaObject CreateEvent, it seems that there is a parameter missing from the signature. The help has an extra parameter: TargetMethod which can't be entered.... B4A Code Snippet Add image to Gallery Android 5 - 10+ - Erel    Sep 6, 2020   (16 reactions) = MediaScannerConnection.CreateEventFromUI("android.media.MediaScannerConnection.OnScanCompletedListener"...)) Wait For ScanCompleted_Event (MethodName As String, Args() As Object) Log(Args(0... B4J Question Google Map error - Declan    May 30, 2024 I use the following code to load the Google Map: Sub GMap_Ready Private joGMap As JavaObject joGMap = GMap Dim event As Object = joGMap.CreateEventFromUI("com.lynden.gmapsfx.javascript.event.UIEventHandler", "MouseMove", Null) joGMap.GetFieldJO("map").RunMethod("addUIEventHandler", Array("mousemove", event)) GMap.MapType = GMap.MAP_TYPE_TERRAIN Dim cp As CameraPosition cp.Initialize(-25.79886055, 28.32487679... B4J Question jGoogleMaps - Drag/Drop Marker Events - TILogistic (first post)    Jul 15, 2023 events on the map
Dim jo As JavaObject = gMap
Dim event As Object = jo.CreateEventFromUI..., event))
Dim event As Object = jo.CreateEventFromUI("com.lynden.gmapsfx.javascript.event....CreateEventFromUI("com.lynden.gmapsfx.javascript.event.UIEventHandler", "MouseDown"... Java Question How get activity context on a class module (compile to library) - Douglas Farias    Jul 12, 2020 .CreateEventFromUI("com.startapp.sdk.adsbase.adlisteners.AdEventListener", "AdListenerInterstitial", Null) AdDisplayListener = StartAppAd.CreateEventFromUI("com.startapp.sdk.adsbase... As Object Private EventGeneral As String End Sub Public Sub Initialize(EventName As String, AppKey As String, testMode As Boolean) EventGeneral = EventName If Not(ctxt.IsInitialized... AdListenerIntersticial_Event (MethodName As String, Args() As Object) As Object 'EVENTOS DO BANNER... B4J Question Error java.RuntimeException - stevel05 (first post)    Aug 25, 2025   (2 reactions) Strange, I get the error straight after starting and loading.
The Form object is B4j's implementation of the JavaFX Stage, which doesn't support setOnScroll.
What you can do is add the scroll listener on the RootPane.
Dim jo As JavaObject = MainForm.RootPane
Dim e As Object = jo.CreateEventFromUI("javafx.event.EventHandler", "scroll", Null)
jo.RunMethod... B4A Tutorial Accessing third party Jar with #Additionaljar and JavaObject - Picasso - Erel    May 12, 2014   (26 reactions)   tags: Lib, use jar in b4a, JAR with a callback event that is raised when download completes. The first step it to create the interface. This is done with JavaObject.CreateEvent (or CreateEventFromUI). In this case we.../Callback.html Dim callback As Object = jo.CreateEvent("com.squareup.picasso.Callback"....CreateEvent("com.squareup.picasso.Callback", "Callback", Null) GetPicasso.RunMethodJO... then it will be easier to create a wrapper. As an example we will use Picasso image downloader to... B4J Question Help with Project Error in Release Mode (SOLVED) - Erel (first post)    Jul 16, 2024   (1 reaction) I cannot say it based on the error message, but the error might be related to wrong usage of background threads. Make sure not to raise events directly from background threads. You need to use BA.raiseEventFromDifferentThread for this (or JavaObject.CreateEventFromUI).... B4J Question AS CalendarAdvanced and Gesture Trackpad - MarcoRome    Jan 31, 2023   (1 reaction) = Pane1 'or Whichever Node you are tracking Dim O As Object = JO.CreateEventFromUI("javafx.event.EventHandler","MouseEntered",Null) JO.RunMethod("setOnMouseEntered",Array(O)) Dim O As Object = JO.CreateEventFromUI("javafx.event.EventHandler","MouseExited... MouseEntered_Event (MethodName As String, Args() As Object) Log("Mouse inside") End Sub Private Sub MouseExited_Event (MethodName As String, Args() As Object) Log("Mouse Out") End Sub... B4A Library Tappx ads service - Erel    Oct 14, 2018   (22 reactions)   tags: ads )) banner.RunMethod("loadAd", Null) Dim listener As Object = banner.CreateEventFromUI....android.gms:play-services-ads 4. Add to manifest editor: CreateResourceFromFile(Macro...="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" android:theme="@android:style/Theme.Translucent" /> ) Replace CreateResourceFromFile(Macro... /> <!-- AdActivity from Google Play Services,, needed by Tappx --> <activity android... Page: 1   2   3   4   5   6   7   |