b4j

  1. DK_Hirani

    Android Question How to fix X2BodyWrapper error ate compile time

    Hi, I am trying to compile but I am having this error : Parsing code. Error Error parsing program. Error description: Unknown type: game Are you missing a library reference? Error occurred on line: 5 (X2BodyWrapper) Public mGame As Game I have installed XUI2D internal library. Thanks in advance
  2. Global Robot Empire

    B4J Question Copy File From Phone (USB Cable) To Desktop Using B4J Code

    I have tried to search for a solution, but can't find it Does anyone know what is the FILEPATH of the Phone's Internal Storage - when connected to the Desktop? I want to Copy files from the Phone to Desktop - using B4J Code Like this example: File.Copy(Phone's FilePath of Internal Storage...
  3. C

    B4J Question Protect editing of a PDF

    Hello everyone. I use PDFBox (version 0.27) with B4J to create a PDF and I would like to protect it against modification when saving the document. Thank you for your help or for another lead
  4. 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...
  5. 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...
  6. 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...
  7. G

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

    prefdialog.LoadFromJson(File.ReadString(File.DirAssets, "Example.json"))
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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
  18. 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...
  19. 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.
  20. 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...
Top