B4A Question [SOLVED] jRDC2 Object should first be initialized (JavaObject) - josejad    
Feb 5, 2019
(RuntimeException) java.lang.RuntimeException: Object should first be initialized (JavaObject).
Command: , took...-and-object-should-first-be-initialized.97512/
The OP had a problem with a field in the database...
link: The only reason I found that post is because I searched for DateTimeMethods.ContainsKey(ct). Somethi...
link: :( I'm so sorry for having wasted your time.
Sorry, when I was looking for the error, the forum ...
link: the current download of jRDC2 does not include the fix). See: https://www.b4x.com/android/forum...
B4J Library [B4X] jRDC2 - B4J implementation of RDC (Remote Database Connector) - Erel    
Jun 22, 2026   
(42 reactions) servers.
jRDC2 is the latest version. All new projects should use this version.
jRDC2 is made... with B4A, B4J and B4i is responsible for sending the requests and handling the responses.
jRDC2 can work... of the server hosting jRDC2. It must end with /rdc.
2. Add DBRequestManager class to your project... jRDC2 to support B4R: https://www.b4x.com/android/forum/threads/rdc-based-on-mqtt.72416/#content....Initialize(Me, rdcLink)
Return req
End Sub
Sub CreateCommand(Name As String, Parameters() As Object...
B4A Tutorial Accessing third party Jar with #Additionaljar and JavaObject - Picasso - Erel    
Jan 19, 2026   
(27 reactions) img1, img2 As ImageView
End Sub
Sub Activity_Create(FirstTime As Boolean)
img1.Initialize("...)
End Sub
JavaObject is an internal library. v2.07 is available here: https://www.b4x.com/android....
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...
Wish Apply fix to jRDC2 2.21 - OliverA    
Feb 6, 2019   
(5 reactions)Please apply the fix in this post to jRDC2: https://www.b4x.com/android/forum/threads/jrdc2-query-problem.98546/#post-621407
It took me awhile today to realize that the same issue was happening to someone else: https://www.b4x.com/android/forum/threads/solved-jrdc2-object-should-first-be-initialized-javaobject.102339/...
Share My Creation [Project Template] jRDC2 Server - aeric    
Jun 24, 2026   
(5 reactions)
Updates
jRDC3 Server is available
Version: 3.30
Project template based on jRDC2 version 2.23 with sample database.
162504
GitHub: https://github.com/pyhoon/jrdc2-server-template-b4j
Template:
JRDC Server (3.30).b4xtemplate
Supported databases:
SQLite
MySQL
MS SQL
Firebird
Postgresql
DBF
Depends on:
JavaObject
jRandomAccessFile
jServer
jShell
jSQL
B4X Client app:
jRDC2 Client...-template-jrdc2-server-sqlite-mysql-ms-sql-firebird-postgresql-dbf.147542/...
B4A Question [SOLVED] Jrdc Error, object should be initialized first. - aeric (first post)    
Oct 2, 2024   
(1 reaction)If you have tried to search for the error message, you may get the answer.
https://www.b4x.com/android/forum/pages/results/?query=jrdc2-object-should-first-be-initialized-javaobject
The possible...
link: /android/forum/pages/results/?query=jrdc2-object-should-first-be-initialized-javaobject
The possible...
link: what is the version of jRDC2 I used....
link: :
ResponseError. Reason: java.lang.RuntimeException: Object should first be initialized (JavaObject...
B4A Code Snippet Using StartActivityForResult with JavaObject - Erel    
Jun 18, 2020   
(11 reactions)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...
B4i Tutorial Installing B4i-Bridge and debugging first app - Erel    
Sep 18, 2022   
(13 reactions) the installation process when needed. This step is done with Apple Configurator 2 if using a local builder (https://www.b4x.com/android/forum/threads/installing-apps-with-apple-configurator-2.128397/).
2... save it.
2. Set the package name based on the provision app id (Project - Build Configurations).
3.... Press on the Home key. B4i-Bridge app should be installed.
7. Start B4i-Bridge. A message with the ip... the device UDID and that the UDID doesn't start with ffffff (this is a fake id).
2. Select 64 bit...
B4A Code Snippet Tips regarding JavaObject and R8 optimizer - Erel    
Oct 1, 2026   
(6 reactions) for example:
Dim builder As JavaObject
builder.InitializeNewInstance("com.google.android.gms.ads.AdLoader.Builder", Array(ctxt, AdUnitId))
Dim onUnifiedAdLoadedListener As Object = builder...JavaObject dynamically calls Java APIs. R8 doesn't detect these calls and can therefore remove...(onUnifiedAdLoadedListener))
Dim AdLoader As JavaObject = builder.RunMethod("build", Null)
AdLoader... As JavaObject = builder.RunMethod("build", Null)
The compiler will not add a rule for...
Spanish [TUTORIAL] Acceder a base de datos con jRDC2 - josejad    
Apr 15, 2025   
(7 reactions).NET, etc...
3.- jRDC2: Es la forma recomendada por Erel para acceder a base de datos y sobre la que nos centraremos en este tutorial.
Las ventajas de jRDC2 son:
Soporta la mayoría de las bases de....
Soporta todo tipo de consultas, incluidas consultas BATCH (por lotes)
Soporta BLOB's
jRDC2... puede usar en B4A, B4i o B4J.
Por tanto, para usar jRDC2, necesitas ejecutar la aplicación servidor (un... de librerías adicionales de B4J
- Descarga el código fuente del servidor B4J del tutorial jRDC2 (o...
Page: 1  
2  
3  
4  
5  
6  
7