B4A Code Snippet Using StartActivityForResult with JavaObject - Erel    Jun 18, 2020   (11 reactions)   tags: call external for result SubName: StartActivityForResult Description: This code demonstrates how JavaObject can be used to... Sub StartActivityForResult(i As Intent) Dim jo As JavaObject = GetBA ion = jo.CreateEvent... As JavaObject Dim cls As String = Me cls = cls.SubString("class ".Length) jo... jo As JavaObject = i Dim uri As String = jo.RunMethod("getParcelableExtra"... Return Null End Sub Dependencies: JavaObject v1.20+ Tags: StartActivityForResult, OnActivityResult... 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 the help of JavaObject it is now possible to integrate third party jars without a wrapper... service directly. Sub GetContext As JavaObject Return GetBA.GetField("context") End Sub Sub GetBA As JavaObject Dim jo As JavaObject Dim cls As String = Me cls = cls.SubString... will call the static method: Sub GetPicasso As JavaObject Dim jo As JavaObject 'com.squareup... the interface. This is done with JavaObject.CreateEvent (or CreateEventFromUI). In this case we... B4J Question [SOLVED] - Javaobject Problem - JWT with RSA256 - hatzisn    Sep 30, 2022   (1 reaction) KeyFactory kf = KeyFactory.getInstance("RSA"); Dim KeyFactory As JavaObject KeyFactory... META Dim KF As JavaObject KF = KeyFactory.RunMethod("getInstance",Array("RSA")) Dim su As StringUtils Dim keySpecPKCS8 As JavaObject keySpecPKCS8...))) Dim keySpecX509 As JavaObject keySpecX509.InitializeNewInstance("java.security.spec...============================================================ Dim RSAPrivateKey As JavaObject 'I tried both with those two options but no luck... B4A Library JavaObject library - Erel    Jul 11, 2016   (22 reactions) The purpose of JavaObject library is similar to the purpose of Reflection library. Both libraries allow you to directly call Java APIs based on Java reflection features. JavaObject design is different than Reflection library and in most cases simpler to use. However JavaObject doesn't replace... libraries together (both are lightweight libraries). JavaObject approach is more "object oriented". You declare a JavaObject object which then "wraps" any other object and provide... B4A Question [Solved]How to code in JavaCode for using JavaObject? - Theera    Feb 7, 2025 I'm still learning how to use javaobject,but I don't know to recode javacode about return the value.
I need someone to show me the example.... B4J Tutorial OdoMeter with JavaObject - Johan Schoeman    Sep 15, 2025   (13 reactions) JavaObject as the original project extend Region that for some reason jut not want to show the UI... you will figure out the code in the Jar and then add additional methods using JavaObject including events... B4J Tutorial Monitor with JavaObject - Johan Schoeman    Sep 10, 2025   (7 reactions) the the B4J (JavaObject) code to suite your needs. Nevertheless, a very cool project by the original author...
Private xui As XUI
Dim monitor As JavaObject
Private Pane1 As Pane
End Sub
Sub AppStart... As Double = 1
Dim timespan As JavaObject
timespan.InitializeStatic("eu.hansolo.fx.monitor.tools.Timespan")
Dim colortheme As JavaObject
colortheme.InitializeStatic("eu... B4J Question [SOLVED] Turn Off Display - programmatically / from C++ to Java, more specific javaobject - Magma    Mar 8, 2021 much java guy... as far... but nothing at all... :-( Dim user32 As JavaObject user32 = user32...) Dim ahwnd As JavaObject ahwnd=ahwnd.InitializeNewInstance("com.sun.jna.platform.win32.WinDef.HWND","0xffff") Dim awmsys As JavaObject awmsys=awmsys... As JavaObject scmon=scmon.InitializeNewInstance("com.sun.jna.platform.win32.WinDef.LPARAM"... B4J Code Snippet STT - Offline Speech Recognization with Vosk (JavaObject/Inline) - Douglas Farias    May 14, 2024   (10 reactions) downloading the file for your language, simply extract the folder into the objects folder and point..., Array As Object(File.Combine(File.DirApp, "language_folder_path_here"... B4J Code Snippet JXInput - Get controller commands (Xbox, etc.) (JavaObject) - Douglas Farias    May 10, 2024   (5 reactions) ZaHQLIKeAao A simple example of how to obtain (hear) commands from controls such as Xbox and others. The example is simple, it gets the button, trigger and analogue commands. I made the example based on my Xbox controller connected via Bluetooth. There are other functions available if you want to add them. https://github.com/StrikerX3/JXInput Donload 1m-Dv2t8kuG0MaRFfwN2Y49_Czk8eVEGN... Page: 1   2   3   4   5   6   7   |