b4j

  1. E

    B4J Question How to Generate a .bin file and also read the data of this file.

    I want to generate a .bin file using the code in B4J and also want to read this file because data organize in bin file is in matrix form. i want to save a series of data in the flash memory of ESP32 because it has limited memory. Any help appriciated.
  2. Peter Simpson

    B4J Library Win32 Release: Window Control, Clipboard, Services, Power, Processes, System Info +

    Hello everyone, Yet another library from early last year whilst I was trying to learn more about B4X libraries. This is not converted from an existing library, all methods were written from scratch. I created this library for myself, as I was creating a personal app and needed three or four of...
  3. Peter Simpson

    B4J Library B4J - Oshi Monitor (CPU & RAM Usage)

    Hello everyone, This is a library I use all the time. My own personal monitoring app is built on it, and it lets me keep an eye on individual running processes and their resources with ease. I personally use this application to monitor CPU and RAM resources for the processes of large bespoke...
  4. Peter Simpson

    B4J Library [B4X] B4J/B4A: AES-GCM 256-bit encryption (Optional 128‑bit Salt)

    Hello Everyone, Here is a B4J/B4A AES-GCM Encryption library, I created it for a project. Hopefully the B4X community will find this library extremely useful. About AES‑GCM: AES‑GCM (Advanced Encryption Standard with Galois/Counter Mode) is a symmetric‑key authenticated encryption algorithm...
  5. Peter Simpson

    B4J Library [B4X] B4J/B4A: Blur Image Effect

    Hello everyone, Nothing new hear, and yes this can be achieved using Bitmap Creator. I wrapped this last year whilst learning Java for a personal project. I've just cleaned it up a bit for the B4X community. B4J library tab: B4J Images: B4A library tab: B4A Images: Private Sub...
  6. Guenter Becker

    B4J Question BCTextengine/BBCodeView Initialize

    Hello, I've an B4J and B4A customview and like to use BBCodeView like: '#create pane Dim p As Pane: p.initialize("ItemBBlbl") p.PrefWidth=Width: p.prefheight = height '# create label BCT.Initialize(mBase) Dim BBlbl As BBCodeView...
  7. W

    B4J Tutorial How to handle "java.io.IOException: WaitForMultipleObjects error=6, Invalid handle"

    As I didn't find anything on the forum regarding this error and it took me a while to solve it, I'm posting this here. I was running a B4J program from the IDE on Linux (under wine) and ran into this exception when trying to execute a shell script with the jShell library, like: Dim shl As Shell...
  8. G

    B4J Question B4J non-ui app and bitmaps

    I have a VPS-hosted B4J non-ui server app connected to a MySQL database and wish to create a series of xChart images from the db for use with 24/7 YouTube live (via FFmpeg). However I have found that the B4J non-ui app cannot produce bitmaps from xChart snapshots. Am I missing something? If...
  9. J

    Share My Creation B4J PyBridge- Street Fighter Game

    This Street Fighter game is adopted for b4j from here Demo video: Libraries needed: pygame numpy opencv-python place Fighter.py in Lib and asset folder in Objects code: import math import pygame from pygame import mixer import cv2 import numpy as np import os import sys from Fighter...
  10. H

    B4J Question Problems with B4J's use of certificates

    The certificate I purchased (in Apache format) consists of three files: cert.pem, chain.pem and key.key. Content of the cert.pem file: -----BEGIN CERTIFICATE----- MIIGTw... -----END CERTIFICATE----- Content of the chain.pem file: -----BEGIN CERTIFICATE----- Mag... -----END CERTIFICATE----- I...
  11. Guenter Becker

    B4A Library B4X Beep

    Hello, This additional library may be used in B4A, B4J and B4i as well. It generates a beep sound. Name: GBEBeep.b4xlib Version: 1.0 (C) G. Becker Licence: Royalty Free for all purpose For All: Copy library file GBEBeep.b4xlib to the additional files folder. Recommend to use a sub Folder B4X...
  12. Guenter Becker

    B4J Question SQLite/SQLCipher create Database by code

    Hello as for B4A the initialize statement includes the possibility to create an empty database if the named database file is not found. sql.initializeSQLite(file.dirApp,Filename,true) I did not find the same in the statement to be used for B4J...
  13. W

    B4J Code Snippet Convert .png file to .ico

    ' IMPORTANT: this didn't seem to work with png files sized 512x512. ' It did work with 256x256; I didn't try any other sizes. Private Sub PNGtoICO(pngDir As String, pngFile As String, icoDir As String, icoFile As String) ' Dependencies: ' - #AdditionalJar: image4j-0.7.2 (from...
  14. cheveguerra

    Share My Creation jRDC2 MultiDB Server (JSON, HikariCP)

    1. Introduction and Architecture This project is a modified version of the original jRDC2 Server. The multi-database support is based on Erel's JDC2 Multiple Database modification, and includes three main structural changes: HikariCP Migration: The connection pool was migrated from C3P0 to...
  15. Guenter Becker

    B4J Library Menubar extended *Update 1.3*

    Name: GBEMenubar Version: 1.3 Language: B4J License: Royalty free (C) icons Royalty free from icons8.com (C) audio file Royalty free from pixabay.com Thank you for the Basic Ideas of some Forum Members who published the code snippeds of: ShortCut (Daestrum) and setMenuIcon (tchart clickable...
  16. Guenter Becker

    B4J Library Info Bar/Loading Indicator

    Name: GBEInfoBar Version: 1.5 Language: B4J Licence: Royalty Free (C) Soundfiles Royalty Free taken from pixabay.com Additional lib Royalty Free taken from Anywhere Forum This Custom View may be used as an Info Bar to show App Process Information tu the user by code. Features: GUI...
  17. Guenter Becker

    B4J Tutorial MenuBar Icons on MainTitle Menu

    Hello, my Task was to substitute the Title Menus with an Icon or to add an Icon to the text. I found a good solution in the Forum as a base and modfied it to solve the task. private Sub setMnuLabel(MenuNr As Int, Image As String) Dim jo As JavaObject = MenuBar.Menus.Get(MenuNr) Dim imv...
  18. Demon95

    B4J Question help with webviews, javascript and css

    Hi everyone, I want to display a web page in my webview that has JavaScript and CSS built in. But it turns out the webview doesn't show much of the JavaScript (like graphics) and the icons aren't displayed either. Does anyone know how to fix this problem so the webview works like a normal web...
  19. Demon95

    Spanish No funciona los javascript en las webview?

    Hola a todos, quiero mostrar en mi webview una página web que posee internamente javascript y css....pero resulta que la webview no me muestra mucho de los javascript (como son lo de gráficos) y los iconos tampoco se muestran. alguien sabe cómo arreglar este problema y que el webview funcione...
  20. C

    Share My Creation Automated Resource Hacker app exe changes

    The attached small non-ui app automates everything described here: https://www.b4x.com/android/forum/threads/using-resource-hacker-to-replace-openjdk-platform-app-name-and-icon.136771/ It uses shell commands to make adjustments to the properties of the app.exe file that is created in the...
Top