B4XSnippetColour [B4J, B4X, IDE]
The ColorMix Helper App - A Standalone Standby [B4J, B4X, IDE]
The ColorMix Helper App - A Standalone Standby [B4J, B4X, IDE]
@William Lancee · 2023-01-21
B4XSnippetDate/time [B4X]
XUI Views B4XDateTemplate amendment to autochange the year [B4X]
This just makes the year change +/-1 if the month changes from Jan to Dec, or vice versa.
@Chris2 · 2023-01-18
B4XSnippetB4X
Class Template Builder
A simple tool to create XML+JAR files for Class Templates
@spsp · 2022-12-24
B4XSnippetCustomView [XUI][CUSTOM VIEWS]
Create Event Name for CallSub [XUI] [Custom Views]
Just a simple method that makes creating event names for CallSub easier. Useful for Custom Views.
@LWGShane · 2022-12-22
B4XSnippetB4X
Student Position Ranking
I was searching the community for a snippet for student ranking for a system I was building last month but never came accross a what I needed. I found a JavaScript on stackoverflow and re-wrote it in b4x.
@Claude Obiri Amadu · 2022-12-21
B4XSnippetB4X
Get data type from 1D string array
This is mainly needed for if the data needs to be sorted eg in a flexible table.
@RB Smissaert · 2022-12-19
B4XSnippetB4X [B4X][XUI]
Accurate Text Measurement and Drawing [B4X] [XUI]
XUI v1.60 includes a new method named B4XCanvas.MeasureText. This method accurately measures single line strings. It returns a B4XRect object with the width and height of the measured string. The Top field returns the highest point relative to the baseline. With these values it is possible to accurately vertically center the text with this code (works in all three platforms)
@Erel · 2022-12-12
B4XSnippetWebSocket [B4X]
Websockets Client Connect and Reconnect [B4X]
Websockets Client Connect and Reconnect [B4X]
@aminoacid · 2022-12-03
B4XSnippetDrawing [B4X]
Fitting a smooth curved line to a sequence of points [B4X]
Fitting a smooth curved line to a sequence of points [B4X]
@William Lancee · 2022-09-27
B4XSnippetImages [B4J][B4XPAGES]
Artifying an image - creating an impressionistic effect. [B4J] [B4XPages]
Artifying an image - creating an impressionistic effect. [B4J] [B4XPages]
@William Lancee · 2022-09-26
B4XSnippetImages [B4X]
Reduce an image file to a specific size - for example, <500KB to upload to the Forum. [B4X]
Reduce an image file to a specific size - for example, <500KB to upload to the Forum. [B4X]
@William Lancee · 2022-09-26
B4XSnippetAudio/Video [B4X]
Audio Streaming UDP [B4X]
Based on this @Erel code that simulated a Walkie Talkie, I developed a system for streaming audio between Android and Desktop devices with UDP. I found that some routers lose a lot of UDP packets (a high percentage) and the sound is not uniform. If you notice a discontinuous and disturbed sound, it could be the router system.
@Star-Dust · 2022-09-21
B4XSnippetTranslation/localisation [B4X][B4XPAGES]
Localizator [B4X] [B4XPages]
Localizator [B4X] [B4XPages]
@aeric · 2022-09-07
B4XSnippetAudio/Video [B4X]
SMM + BBCodeView - a great pair [B4X]
SMM (SimpleMediaManager) is one of the more useful tools available for B4X developers. It takes care of many difficult tasks related to various media types. It is quite simple to combine it with BBCodeView and easily embed media inside rich text.
@Erel · 2022-09-01
B4XSnippetSort
Sort and Search Lists in Any Arbitrary Way
Sort and Search Lists in Any Arbitrary Way
@Heuristx · 2022-08-18
B4XSnippetDate/time [B4X]
Convert Day of the Year to Date [B4X]
Convert Day of the Year to Date [B4X]
@aminoacid · 2022-08-11
B4XSnippetImages [B4X]
LiveImageView - [B4X]
A simple Image Comparison Slider for B4X (B4A, B4i, B4J).
@ilan · 2022-07-19
B4XSnippetTranslation/localisation [B4X]
Localizator - Script for Excel to translate directly from google translate [B4X]
An Excel file with a VBA macro to translate directly using google translate, It also detects and warns if any key is repeated in red.
@scsjc · 2022-06-25
B4XSnippetCamera [B4X]
CameraExClass- QrCode/Barcode Reader fix new SDK [B4X]
CameraExClass- QrCode/Barcode Reader fix new SDK [B4X]
@Mike1970 · 2022-06-21
B4XSnippetMQTT [B4X]
Audio Over MQTT [B4X]
Example for streaming audio from B4A to B4J over internet using MQTT.
@Hamied Abou Hulaikah · 2022-06-09
B4XSnippetStrings [B4X]
Greedy Trim [B4X]
Uses regex to replace all multiple spaces / tabs (whitespaces) to single space in a string
@mohsyn · 2022-05-26
B4XSnippetB4X [B4X]
Comment link to build b4xlib [B4X]
Comment link to build b4xlib [B4X]
@Erel · 2022-05-25
B4XSnippetB4X
Class Generator
Class Generator
@spsp · 2022-04-17
B4XSnippetDrawing [B4X][B4XCANVAS]
Fill a panel with diagonally drawn lines [B4X] [B4XCanvas]
Fill a panel with diagonally drawn lines [B4X] [B4XCanvas]
@Alexander Stolte · 2022-04-05
B4XSnippetB4X [B4X]
B4XProjectFixer [B4X]
Regarding my problem/wish with merging different branches in git, I wrote a small tool as a workaround which fixes the meta information in the projectfile cleanly. Thereby all files, libraries and modules are rearranged, reindexed and duplicates are deleted.
@Blueforcer · 2022-03-30
B4XSnippetB4Xpages
B4XDrawer and B4xPages in class
Work with a class to use a B4XDrawer in several B4XPages
@Erel · 2022-02-28
B4XSnippetColour [B4X]
ThemeColors [B4X]
ThemeColors [B4X]
@Blueforcer · 2022-02-21
B4XSnippetDate/time [B4X]
Set date format with locale [B4X]
Cross platform code to change the date format with an explicit locale
@Erel · 2022-02-20
B4XSnippetIcons / fonts [B4X]
CreateB4XFont [B4X]
Function to create custom B4XFont for all platforms.
@LucaMs · 2022-02-09
B4XSnippetHome automation
Domoticz Quick Viewer
Purpose: - To view Domoticz devices in an Android & Desktop (Linux, Windows) App [iOS is not supported]. - To select devices from room plans and custom plans Favorites, Used, All, Not Used and User Variables. - To view selected device properties and the Domoticz device log. - To change the value for a selected device - (so far) for switches & thermostats.
@rwblinn · 2022-02-04