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 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... B4J Tutorial Medusa Clocks with JavaObject - Johan Schoeman    Aug 16, 2025   (11 reactions) by using JavaObject. The attached B4J project creates the 16 different clock "skins"... clock1 As JavaObject Dim clock2 As JavaObject Dim clock3 As JavaObject Dim clock4 As JavaObject Dim clock5 As JavaObject Dim clock6 As JavaObject Dim clock7 As JavaObject Dim clock8 As JavaObject Dim clock9 As JavaObject Dim clock10 As JavaObject Dim clock11 As JavaObject Dim clock12 As JavaObject Dim clock13 As JavaObject Dim clock14... B4A Code Snippet SaveAs - Let the user select a target folder + list of other related methods - Erel    Nov 1, 2024   (46 reactions) Dim result As Intent = Args(1) Dim jo As JavaObject = result Dim ctxt As JavaObject Dim ContentResolver As JavaObject = ctxt.InitializeContext.RunMethodJO... End Sub Sub StartActivityForResult(i As Intent) Dim jo As JavaObject = GetBA ion = jo... As JavaObject = Me Return jo.RunMethod("getBA", Null) End Sub Usage example: Private Sub... with: Sub GetBA As Object Dim jo As JavaObject Dim cls As String = Me cls = cls.SubString... Page: 1   2   3   4   5   6   7   |