Get real display size in inch
You can get the exact screen diagonal size (in inch) using this simple routine.
@yo3ggx · 2022-03-27
Convert collections to json and vice versa
There is a new JSON type which is used to convert maps or lists to json strings and vice versa, using the new As keyword. The idea is that you have a collection or string, you direct the compiler to treat it as "JSON" and then convert it to a string or a collection.
@Erel · 2022-03-27
lmInputDlg [B4X]
Cross platform (B4A, B4J, B4I) simple but useful input dialog, based on B4XDialog (ShowCustom).
@LucaMs · 2022-03-26
Custom Intent Provider Requester Services, updated for Android 11 [API 30]
Custom Intent Provider Requester Services, updated for Android 11 [API 30]
@swChef · 2022-03-26
Share/Show file[s] from internal
Here''s a small example how to show/share file(s) from the internal storage (benefits: no permissions are needed)
@KMatle · 2022-03-25
CodeMirror wrapper and example
A wrapper for the CodeMirror javascript libarary which runs quite happily in a Webview. Current functionality: - Highlighting Mode for B4x (and 100+ other languages) - Minimal wrapper implementation in library, see the attached CodeEditor for an example of a fuller implementation - Implemented the available visual themes
@stevel05 · 2022-03-25
Binary code and Gray Code
Didn''t find any Gray Code encoding on the forums, so I leave these two procedures for everyone to use: Number2GrayCode and Number2BinaryCode
@Num3 · 2022-03-25
rAsyncTCP on esp32
rAsyncTCP on esp32
@candide · 2022-03-24
Elevation Color
This extends Erels XUI shadow function to use the color parameter also in B4A, by using setOutlineAmbientShadowColor and etOutlineSpotShadowColor. Works since API 28.
@Blueforcer · 2022-03-24
ABMaterial - ABMCustomComponent - Quill Rich Text Editor
ABMaterial - ABMCustomComponent - Quill Rich Text Editor
@Harris · 2022-03-23
Uri2Tools - Library. [B4A]
Uri2Tools provides information such as: - Dir (i.e. full path name of the file) - FileName (i.e. the name of the file) - FullPath (i.e. the full path name of the file) - NamePath (i.e. the name of the folder) - MimeType (i.e. file type "mime_type") - Modified (ie the date of last modification "last_modified") - RealName (i.e. the real file name) - Size (i.e. file size) - SizeUnit (i.e. file size (example: 32MB)) - Success (i.e. the status of the operation''s success (Load ("* / *", "Choose file")) in addition, it provides information: - GetSDKversion (i.e. a working version of the SDK on the phone) - DirRootExternal (i.e. the name of the full path on the device) - ExtSDCard (i.e. the name of the full path of the external memory) - OnlyDevice (i.e. checks if the phone has additional external memory)
@T201016 · 2022-03-22
Work Shift Reporting [ABMaterial]
Work Shift Reporting [ABMaterial]
@Harris · 2022-03-21
Simple open source B4A game using LibGDX
I''ve uploaded the source for a simple block stacking game I wrote years ago. It uses one set of external files for the bitmap font but otherwise everything is done using shapes.
@andymc · 2022-03-21
HikariCP 5.x
This is a wrapper for HikariCP which is a database connection pool manager (https://github.com/brettwooldridge/HikariCP)
@tchart · 2022-03-21
Should I use SQLite as my web server database? [SQLite Stress Test]
Should I use SQLite as my web server database? [SQLite Stress Test]
@tchart · 2022-03-20
Set Author, Title and Category for Excel
Set Author, Title and Category for Excel
@aeric · 2022-03-20
My way to work with local DB
I save the SQLite DB used by my apps in the directory corresponding to File.DirInternal, which is the app''s exclusive space. This, however, prevents you from accessing the DB from outside (directly from Windows explorer) and checking the changes made by the app. It would be possible to get that DB if it were in rp.GetSafeDirDefaultExternal (rp = RuntimePermissions).
@LucaMs · 2022-03-17
Execute events when the internet is offline and or online [BANano]
Execute events when the internet is offline and or online [BANano]
@Mashiane · 2022-03-17
Runtime Permissions (Android 6.0+ Permissions)
The nice thing about runtime permissions is that the user is not asked for any permission when they install your application from Google Play. Instead they will be asked to approve "dangerous" permissions at runtime.
@Erel · 2022-03-16
ColourThief [Cross platform colour palette generating algorithm]
This is a port to B4X of the original ColorThief algorithm by Lokesh Dhakar.
@John Naylor · 2022-03-16
jBasicLib embedded Basic interpreter library
Nearly six years ago I posted the original B4A version of this library that was in fact a port to Java from the original Basic4ppc .Net C# version that I wrote even earlier. Shortly after that I gave up Android development out of disgust with Google and returned to playing with Basic4ppc and C# under Windows. I now find myself back having to use Android for mobile work and have already posted an updated, polished and reasonably documented version for B4A. I now post here a version that will work with B4J.
@agraham · 2022-03-14
Addition to B4XMap [OSM viewer]
Using this very nice OSM map viewer https://www.b4x.com/android/forum/threads/b4xmap-open-street-map-viewer.138028/ I didn''t like the blue diagonals that will show for the area outside the map, so added some code that will prevent that and also avoids trips to the map DB, looking for tiles that are not there.
@RB Smissaert · 2022-03-14
TapCard - scan your NFC enabled Bank Card with your NFC enable device
TapCard - scan your NFC enabled Bank Card with your NFC enable device
@Johan Schoeman · 2022-03-12
EmojiesMap - Colorful emojies [class]
The JavaFX text rendering engine doesn''t support glyphs with multiple colors. Emojies are rendered in quite an ugly way. EmojiesMap workarounds this limitation using a large set of images.
@Erel · 2022-03-10
TDDButils Database Management for SQlite and SQLiteCipher
TDDButils Database Management for SQlite and SQLiteCipher
@Guenter Becker · 2022-03-09
Sophisticated sorting with B4XComparatorSort [B4X]
B4XCollections v1.13 includes a new sorting feature named B4XComparatorSort. This feature allows sorting using a custom comparator class. The comparator class is a class that you create.
@Erel · 2022-03-08
SD CreativeBackgroud [B4X] [XUI]
This new library is based on my latest work of gradual backgrounds and @JordiCP ''s code that gave me permission to rework it and insert it in a custom view.
@Star-Dust · 2022-03-08
B4XCollections - More collections [B4X]
B4XCollections is a b4x lib. It adds several cross platform collections. It includes a static module named B4XCollections which should be used to create new instances of the collections. You can either create new empty collections or pass the initial data.
@Erel · 2022-03-08
A jMongo class helper for everything MongoDB CRUD [SithasoMongoDB]
A jMongo class helper for everything MongoDB CRUD [SithasoMongoDB]
@Mashiane · 2022-03-05
ReplyAuto - Library Response WhatsApp, Telegram [background service]
ReplyAuto - Library Response WhatsApp, Telegram [background service]
@jsaplication.mobile · 2022-03-04