B4A Tutorial Accessing third party Jar with #Additionaljar and JavaObject - Picasso - Erel    
Jan 19, 2026   
(27 reactions)   
tags: Lib, use jar in b4a, JARThe #AdditionalJar module attribute (introduced in B4A v3.80) allows us to reference external jars.
With the help of JavaObject it is now possible to integrate third party jars without a wrapper...
link: .
With the help of JavaObject it is now possible to integrate third party jars without a wrapper...
link: Please start a new thread for this question....
link: Unpack SQLCipher.jar to see how it should look....
B4A Question Using #Additionaljar Vs using JavaObject with javacode - Olaan    
Feb 8, 2025Are there the examples about using #AdditionalJar Vs using JavaObject with javacode in... JavaObject?' https://www.b4x.com/android/forum/threads/solved-how-to-code-in-javacode-for-using...
link: . The you declare it with #AdditionalJar in your B4x project. Then you can use JavaObject to interface...
link:
Are there the examples about using #AdditionalJar Vs using JavaObject with javacode in the same...
link:
and how to convert javacode to jar file?
This is not related to B4X.
If you want to learn how to...
B4A Question Getting cirlce imageview working with #Additionaljar and JavaObject - Picasso - scsjc    
Sep 4, 2016I want use https://www.b4x.com/android/forum/threads/accesing-third-party-jar-with-additionaljar-and-javaobject-picasso.40904/ picasoJar
i'm try the Callback_Event to do a convert imageview a roundimage with this methode : RoundBitmapWithBorder - inline java code but don't work
it's possible use PiscassoJar and obtain circle imageview ????
thanks...
B4A Question #Additionaljar and JavaObject how to do? - Roberto P.    
Jan 9, 2015 instructions
'Inclusion library
#AdditionalJar: StarIOPort3.1
Dim jo As JavaObject
jo... sPort As String = jo.RunMethod ("getPortName", null)
java.lang.IllegalArgumentException...
link: of the implementation should be as simple .....
Sub Class_Globals
Dim connection, ctxt, m_port As JavaObject
End...
link: thanks Erel,
I managed to solve the problem. It was a problem of parameters! :(
if you do not use &...
B4A Question Exception using JavaObject and AdditionalJar SDK - Glpm_2017 (first post)    
Mar 13, 2018Changed the manifest file as you requested, but still not getting the init event to work.
The log no...
link: try to add the following to your manifesteditor
AddManifestText(<uses-permission xmlns:tools=&qu...
link: Just to check, I stopped the program and inspected the UHF object.
The picture in annex shows...
link: /deviceapi/DeviceAPI;
java.lang.SecurityException: Neither user 10003 nor current process has android...
B4J Question JavaObject and AdditionalJar - JeromeLamy (first post)    
Oct 9, 2016Thanks for the help, it works as a charm !
Summary :
I copied the jna-4.0.0.jar included into that external library package in the additional library folder, next to purejavahidapi.jar
and added the two lines
#AdditionalJar: purejavahidapi
#AdditionalJar: jna-4.0.0
and I can now access hid...
link: You need to add one more jar
#AdditionalJar: jna-4.2.1
As it appears the purejavahidapi relies...
link:
#MainFormHeight: 400
#End Region
#AdditionalJar: purejavahidapi
Sub Process_Globals
Private fx...
B4A Question Problem with #AdditionalJar:, JavaObject and context - Erel (first post)    
Jan 5, 2015Seems like there is a class missing. Maybe you need to add another jar file....
link: Hi,
I am using #AdditionalJar: and JavaObject to use an object in a jar file but I am having...
B4A Class ExternalStorage - Access SD cards and USB sticks - Erel    
Nov 11, 2020   
(62 reactions)   
tags: File, Access SD and USB, externsl sd, storage on: ContentResolver and JavaObject libraries.
Add:
#AdditionalJar: com.android.support:support-core-utils
Updates...
B4A Code Snippet Using StartActivityForResult with JavaObject - Erel    
Jun 18, 2020   
(11 reactions)   
tags: call external for resultSubName: 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 Code Snippet Tips regarding JavaObject and R8 optimizer - Erel    
Oct 1, 2026   
(6 reactions)JavaObject dynamically calls Java APIs. R8 doesn't detect these calls and can therefore remove... for example:
Dim builder As JavaObject
builder.InitializeNewInstance("com.google.android.gms.ads.AdLoader.Builder", Array(ctxt, AdUnitId))
Dim onUnifiedAdLoadedListener As Object = builder...(onUnifiedAdLoadedListener))
Dim AdLoader As JavaObject = builder.RunMethod("build", Null)
AdLoader... As JavaObject = builder.RunMethod("build", Null)
The compiler will not add a rule for...
Page: 1  
2  
3  
4  
5  
6  
7