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...
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...
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...
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...
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...
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...
' 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...
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...
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...
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...
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...
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...
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...
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...
Another Star Field Simulation.
#Region Project Attributes
#MainFormWidth: 1024
#MainFormHeight: 800
#End Region
Sub Process_Globals
Private fx As JFX
Private MainForm As Form
Private Canvas1 As Canvas
Private Timer1 As Timer
Private Stars As List
Private...
Hi,
I have a B4J 10.30 project with a Main Form Style Decorated.
In my AppStart I use this code:
Dim jo As JavaObject = MainForm
Dim e As Object = jo.CreateEventFromUI("javafx.event.EventHandler", "scroll", Null)
jo.RunMethod("setOnScroll", Array(e))
If I start the code at the...
Dear Community,
in a well secured Company-Windows LAN (WIN10 Client), i got the following Error due to this Standard Request:
Dim j As HttpJob
j.Initialize("", Me)
Dim url As String = "https://www.google.com/?safe=active&ssui=on"
j.Download(url)
Wait For (j) JobDone(j As...
Name: GBEToast
Type: Class as native class or b4xlib
Vers.: 3
(C): Royalty free private/commercial for licensed Anwhere Users
GBEToast is a permanent or time-controlled display for program messages.
It is an extended program class for the B4A and B4J programming languages.
Function overview...
Hi everybody,
I have some apps (b4a) that use DBRequestManager to connect to an Oracle database and everything is working right, and I am also experimenting with a WhatsApp Bot and I need for the bot to connect to the same database, the bot runs on NodeJS and although it is possible to connect...
In the previous thread, I have extended the gauge library for LCD skins,actually ,the medusa library contains two controls-gauge and clock , here I will share the clock control.
Example and extension library are attached. it depends on jgauge library.
hope you enjoy it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.