b4j

  1. alwaysbusy

    LLM's and the importance of using RAG in the chain

    I have been working on a library to use LLM's (like openAI) in B4J for our company. Using OpenAI is pretty simple to do with their REST API, but it quickly becomes quite costly as they not only make you pay for the output, but also for the input. In comes RAG (Retrieval Augmented Generation). It...
  2. D

    B4J Question Best way to handle text size and color

    Hi, Guys I am working on a project originally written in B4A and moving it to a B4Xpages project. I am currently working of the B4J version and having problems handling text size and color of an object to be inserting into a customlistview view of textItems . In B4A I use CSBuilder and passed...
  3. Schakalaka

    Italian Generatore PDF - gestire le nuove pagine

    ciao a tutti. sto provando a creare un generatore di pdf, contenente del testo semplice e dei campi da compilare in un form, prima di generarlo. sto usando la classe cPDF (https://www.b4x.com/android/forum/threads/b4x-pdf-generator-b4x-cross-platform-class-100-b4x-code.145181/#content) ma il...
  4. G

    Android Question How to read JSON files from a remote server?THANKS!

    prefdialog.LoadFromJson(File.ReadString(File.DirAssets, "Example.json"))
  5. T

    B4J Question Text to Speech for B4J [SOLVED]

    I am having a devil of a time trying to get TTS to work for B4J. I have been trying to follow the directions here: https://www.b4x.com/android/forum/threads/jfreetts-text2speech-library.74618/#content I have followed the instructions down to step 4. I have put all the jar files in the...
  6. C

    Wish B4J Wish - deploy remotely an application to a container

    Hello, For now, I have a NAS drive with docker running on it. To test my applications, I have a docker image with the b4x bridge. Secondary, I have a production image that runs the final application. I first test my programs inside the bridge container, when all is ok, I have the production...
  7. Duque

    Spanish SSL en español

    ¡Hola! Con vergüenza de desnudar mi ignorancia, pero llevo días atrapado en este tema: Contexto -Contrate un servidor dedicado ✅ -Ejecute sin problemas un servidor b4j✅ -Conexión http ✅ -Conexion https? https://mydominio.com:17178/noty La Conexion segura falla, a pesar de que existe un...
  8. walterf25

    B4J Question Running Jar File with OpenJDK Error

    Hi Everyone, I have been trying to find a way to make a project distributable for a couple of months, I am able to create an .exe file using the B4JPackager tool and Inno Setup, but for some reason I get some errors that I do not get when I run the project from within B4J, here's the thread for...
  9. Alex Oscar Hedman

    Share My Creation POS System | ERP - Sistema Wolke Preview

    Hello, im Alex from Misiones Argentina. Im an Industrial Engineer and also ending an MBA. I we have a little software company with my father (also an engineer) and we are deveoping Industrial systems and ERP Systems. We are also working with IA developing a device that measures the quality of...
  10. Brian Michael

    B4J Code Snippet [B4X] BMVariableFixFormat

    [UPDATE V1.1] Hello everyone, today I come to you with a small tool that will help you better organize your projects, reduce the lines of code and in turn reduce the weight of your project. I called Variable Fix Format Which can reduce all this: Private fx As JFX Private fx As JFX...
  11. james_sgp

    B4J Question Clearing a B4XCanvas on B4J

    HI, I`m having a problem clearing a transparent canvas, I`m using the code below but it isn`t doing anything. I have tried it with a solid color and works, but not with transarent color. Dim cvsbk As B4XRect cvsbk.Initialize(0,0,1010,641) cvs.drawRect(cvsbk...
  12. W

    Share My Creation wmSQLtableSync - SQL table synchronisation between two databases [Class] [Source included] [B4A] [B4J]

    Why/What? A CloudKVS didn't cover my needs so I developed this class. Features: - It synchronises a table between two SQL instances; one is called the Client, the other the Server - All columns that exist in the Server table must be present in the Client table - Additional columns that exist in...
  13. jkhazraji

    B4J Library A library to create Powerpoint Presentations

    This library creates powerpoint presentation files by handling a Javascript file or text set in the properties. It depends on PptxGenJS. Example of script to generate one-slide file with text : var pptx = new PptxGenJS(); var slide = pptx.addSlide(); slide.addText("Hello", { x: 0.5, y: 0.7, w...
  14. jkhazraji

    Share My Creation [b4j]Detect Faces in images

    As Python can do, b4x can unleash the power of Opencv to detect faces in images within seconds. A demo animation shows this: see video
  15. W

    Share My Creation wmCRUD - a generic class for CRUD operations on an SQL(ite) database (with source code) [B4J] [SQL] [SQLite] [CRUD] [Class]

    Abstract Another one in my 'I don't like doing repetitive stuff' repertoire. The rationale for this one is to avoid having to code the 'boring stuff', i.e. CRUD for data tables (usually slightly or completely different than others from other programs) in a new program, again and again. The idea...
  16. jkhazraji

    Share My Creation Webcam to read QR code and show the result

    Yes. It is within the reach of b4x, and now with b4j whether as a native code or by java code. What matters is that it runs within the realm of b4x. However, it was not that easy to implement. Here is the result. The laptop is ci7 DELL inspiron 15 used on Windows 10 64-bit system.
  17. walterf25

    B4J Question Successful Business ABMaterial Framework Stories.

    Hi all, I would like to read from any success stories using ABMaterial framework, has anyone actually either for personal business purposes or for a client built a successful web app that is still currently being used by more than 1000 users on a daily basis. The reason I ask this question is...
  18. C

    B4J Question Close xui.MsgboxAsync or xui.Msgbox2Async with code

    Based on @Erel's code here.... xui.MsgboxAsync & xui.Msgbox2Async don't have a "cancel" method, so trying to use it generates an error: java.lang.RuntimeException: Method: cancel not found in: javafx.scene.control.Alert Instead, the 'close' or 'hide' methods can be used: Sub Globals Dim...
  19. A

    B4J Question I have some questions to convert a large project to B4J

    Hello, the truth is that I have been working on a project in the Java Basic language (VBNET) for several years, about 15 years. Is it possible to convert it directly to work on several Linux and Mac systems through certain tools? Do the Windows dll libraries work without problems or do many...
  20. fernando1987

    Share My Creation UI login/registy using jdahsboardUI library + Source Code

    Hello, this is an example showcasing the latest features of the jdashboard UI library. I hope you like it. To make it work, you'll need the latest version of the jdashboard library. User: admin Pass: 1234 Download the compiled example here
Top