B4A Tutorial Inline Java Code - Erel    Feb 24, 2022   (171 reactions)   tags: Code, Java, inline java code The next versions of B4A (4.30) and B4J (2.80) will allow you to embed Java code inside your... to access third party SDKs and also to allow developers to add existing Java code snippets to... Beta Can we use ba.raiseEvent from inline java code? - stevel05    Feb 2, 2015 Is it possible to use ba.raiseEvent to call a callback sub in the enclosing Activity,class,service or code module? It doesn't give an error, just no result either. In a class, I've tried: Sub DoMultiply nativeMe.RunMethod("Multiply", Array ("logresult",10)) End Sub Sub LogResult(Result As Int) Log(Result) End Sub #If JAVA private int mm = 100; public void Multiply(String EventName,int i) { int result = i * 2 + mm; if(ba.subExists(EventName... B4A Code Snippet Using Java 8+ lambdas with inline Java code - Erel    Apr 17, 2024   (8 reactions) :
#AdditionalJar: core-lambda-stubs.jar, ReferenceOnly
Example:
'in B4XPage
#if java
import java....forEach( (n) -> BA.Log("" + n) );
}
#End If
Me.as(JavaObject).RunMethod("test... B4A Example Take a Screenshot with Inline Java Code - Johan Schoeman    Dec 2, 2017   (10 reactions) enable the JavaObject library to make use of it.
@JordiCP solved my initial problem here (thanks @JordiCP):
https://www.b4x.com/android/forum/threads/passing-b4a-activity-to-inline-java-code.86796... B4J Tutorial Medusa Gauges (with inline Java Code) - Johan Schoeman    Oct 30, 2021   (16 reactions)
'INLINE JAVA CODE BELOW
#if Java
//START OF IMPORTS
import eu.hansolo.medusa.Gauge;
import...You can draw up to 25 different Gauges with basically the same B4J code. You need to download... B4A Example Creating 1D and 2D Barcodes using inline Java Code and the ZXING core library - Johan Schoeman    Nov 28, 2015   (20 reactions) 10. CODABAR The classes use inline java code with calls to the ZXING core library to create and... by adding (and modifying)additional classes to the B4A project. All the inline Java code comes from... the B4A code in the main activity (black and white has been hard coded within the inline Java code). Amend the B4A code accordingly to pass the colors to the inline Java code. Some sample code...The attached project has 10 classes that create the following 1D and 2D barcodes: 1. QR Code - 2D... B4A Example ImageView - Circular, Hexagonal, Triangular, Bubble, Star Imageviews (with inline Java code) - Johan Schoeman    Jul 7, 2015   (25 reactions) 32781 See attached project with inline Java code to create round imageviews. You only need library JavaObject V2.01 to be enabled.... B4A Question Passing B4A Activity to Inline Java code - Johan Schoeman    Dec 2, 2017 I am using an inline Java code method that expects an Activity to be passed to it. How do I pass the "active" B4A activity to the Java method? Have tried passing "Me" and... B4A Question Inline Java code in B4XPages - LucaMs    Dec 3, 2021 Is this correct?
#If B4A
#If Java
'...
#End If
#End If
... B4A Example RoundBitmapWithBorder - inline java code - Johan Schoeman    Aug 2, 2015   (12 reactions) Attached project draws a circular bitmap within an imageview including an adjustable border (colour and width) around the image. Making use of inline java code. Only JavaObject V2.01 required.
32897... Page: 1   2   3   4   5   6   |