B4A Tutorial Handle the soft keyboard with the IME library - Erel    
Aug 30, 2026   
(31 reactions)   
tags: IMEAndroid has very good support for custom input method editors (IMEs).
The downside for this powerful feature is that interacting with the soft keyboard can be sometimes quite complicated.
This library includes several utilities that will help you better handle the soft keyboard.
The attached example demonstrates the available methods.
156404
Note that the IME object should be initialized before it can be used.
Handling the screen size changed event
When the keyboard opens the available...
B4A Tutorial Android database encryption with SQLCipher library - Erel    
Jul 20, 2025   
(24 reactions)Edit: this library isn't compatible with the 16KB page size requirement. Don't use it.
SQLCipher is an open source project that extends SQLite and adds full database encryption.
License: https://www.zetetic.net/sqlcipher/open-source/
B4A SQLCipher is a special subtype of SQL object...-release/
Includes 64 bit binaries and emulator binaries.
Requires B4A v8+.
Library is attached.
Not....4.aar
You should download and copy it to the additional libraries folder....
B4i Tutorial [Objective C] Writing libraries for B4i - Erel    
Sep 3, 2026   
(6 reactions)B4i libraries are written in Objective C. You need to use a Mac with Xcode and you need to know Objective C.
From my experience it is more difficult to write B4i libraries compared to B4A / B4J libraries.
Libraries are made of three files: library.a, library.h and library.xml.
The xml file... libraries folder.
Libraries should include two binaries: arm64 and armv7.
Supported types
The following... events. Can be used multiple times.
Version - library version
Author - library author...
B4J Code Snippet [B4X] Solving encoding issues with html mails sent with SMTP (Net library) - Erel    
Sep 10, 2026   
(12 reactions)Encoding the html text with base64 avoids encoding issues, especially with MS Outlook.
This code is compatible with B4A and B4J:
Private Sub SplitBase64WithCRLF (EncodedText As String, LineLength As Int = 76) As String
Dim eol As String = Chr(13) & Chr(10)
Dim sb As StringBuilder
sb.Initialize
For i = 0 To EncodedText.Length - 1 Step LineLength
Dim line As String = Enc...
B4J Tutorial [B4X] Additional libraries folder - Erel    
Sep 8, 2019   
(26 reactions)   
tags: ide folderThe additional libraries folder can be organized in a way that allows sharing cross platform libraries between B4A, B4J and B4i.
From now on, the recommended way to organize the additional libraries folder:
https://www.b4x.com/basic4android/images/SS-2019-02-26_15.03.08.png
Additional libraries...-26_15.08.38.png
As you can guess, platform specific libraries should be put in the platform specific folder and cross platform libraries should be put in the B4X folder.
Note that the B4X folder...
B4A Tutorial Protect your Android application with the Licensing library - Erel    
Jan 24, 2018   
(10 reactions)   
tags: LicenseThe licensing library allows you to use Android market licensing service to verify that the user... the licensing method: Application Licensing | Android Developers
Configuring the licensing library... Google Play developer console under Development tools - Services & APIs.
The licensing library and... application to other devices running with the same user account.
PhoneId (from the Phone library... as described here: http://www.b4x.com/forum/basic4android-getting-started-tutorials/14759-android-device...
B4i Tutorial Swift libraries - Erel    
Mar 2, 2020   
(2 reactions)B4i supports libraries written in Swift and compiled as frameworks.
Note that adding swift... libraries if there is an alternative.
The B4i wrapper is written in Objective C. You can see...).
Using a Swift library is not different than using an Objective C library. There are however a couple nuances that you should be familiar with:
1. Swift runtime libraries - All applications with Swift code depend on Swift runtime libraries. They are added automatically during compilation. The runtime...
B4J Tutorial [PyBridge] pyvips - image manipulation library - Erel    
Mar 19, 2025   
(7 reactions)pyvips is a very powerful image manipulation library. It can manipulate very large images. I've created a modified "HugeImageView" based on it as an example. It can show 1-2 GB images. These are images that need special handling to draw, as the full image can't be loaded into RAM.
It depends on an external library - libvips. Download and extract: https://github.com/libvips/build-win64-mxe/releases/download/v8.16.1/vips-dev-w64-all-8.16.1.zip
The path to libvips should...
B4J Code Snippet [PyBridge] Pygal - nice charting library - Erel    
Feb 20, 2025   
(14 reactions)161924
https://www.pygal.org/en/latest/index.html
This library produces interactive SVG, which can be loaded with WebView.
It has many features. Small example:
Dim PyGal As PyWrapper = Py.ImportModule("pygal")
Dim PyGalStyle As PyWrapper = Py.ImportModule("pygal.style")
Dim Chart As PyWrapper = PyGal.Run("StackedLine") _
.ArgNamed("style", PyGalStyle.GetField("CleanStyle")).ArgNamed("fill", True).ArgNamed("interpolate"...
B4A Tutorial XML Parsing with the XmlSax library - Erel    
Jan 4, 2017   
(6 reactions)/b4x-xml2map-simple-way-to-parse-xml-documents.74848/
The XmlSax library provides an XML Sax parser.../image>
<item>
<title>Phone library was updated - V1.10</title>
<link>http://www.b4x.com/forum/additional-libraries-official-updates/6859-phone-library-updated-v1-10-a.html</link>
<pubDate>Sun, 12 Dec 2010 09:27:38.../additional-libraries-official-updates/6859-phone-library-updated-v1-10-a.html</guid>
<...
Page: 1  
2  
3  
4  
5  
6  
7