B4XSnippetViews - effects [B4X][XUI]
Elevation shadow [B4X] [XUI]
Add elevation/shadows on XUI views
@wimpie3 · 2021-11-05
B4XSnippetB4Xpages [B4XPAGES]
Lock screen orientation based on how device is held when App is started. [B4XPages]
Lock screen orientation based on how device is held when App is started. [B4XPages]
@William Lancee · 2021-10-02
B4XSnippetB4Xpages
B4XPages - Simple tip for referencing pages
B4XPages - Simple tip for referencing pages
@Jack Cole · 2021-10-01
B4XSnippetImages [B4X]
Adding ImageViews above HugeImageView [B4X]
Adding ImageViews above HugeImageView [B4X]
@Erel · 2021-09-22
B4XSnippetTheme [B4X]
Light theme B4XDateTemplate [B4X]
Example of customizing B4XDialog and B4XDateTemplate.
@Erel · 2021-09-13
B4XSnippetImages [B4X]
Use WebView to show large images [B4X]
Use WebView to show large images [B4X]
@Erel · 2021-09-04
B4XSnippetHome automation
Garage Door Opener (with source code)
Attached a B4A and a B4R app. You will need an ESP8266 and a remote. The ESP8266 sends a FCM message to the B4A app when someone rings the bell. From the B4A app, you can send a mqtt message to the ESP to close the contacts of a remote to open a garage door. You can send the mqtt message from the app or from a widget.
@josejad · 2021-08-26
B4XSnippetAnimation [B4X]
Animated change of theme / layouts [B4X]
This is an example that demonstrates how Root.Snapshot + 2 BitmapCreators, with the old and new layouts can be used to create a nice transition between two layouts.
@Erel · 2021-08-09
B4XSnippetB4X [B4X]
View names from Views and vice versa. [B4X]
View names from Views and vice versa. [B4X]
@William Lancee · 2021-07-28
B4XSnippetMaths [B4X]
Mapping a range of numbers into a target number of simplified categories [B4X]
Mapping a range of numbers into a target number of simplified categories [B4X]
@William Lancee · 2021-07-17
B4XSnippetStrings [TEN THOUSAND][B4X]
Format 10,000 [Ten Thousand] to Lakh [B4X]
Format 10,000 [Ten Thousand] to Lakh [B4X]
@aeric · 2021-07-12
B4XSnippetBarcode/scan [B4X]
Dead simple QR Code Generator [B4X]
Dead simple QR Code Generator [B4X]
@MrKim · 2021-07-12
B4XSnippetB4X [B4X]
Functional Implementation of vb.Net style Enum [B4X]
Functional Implementation of vb.Net style Enum [B4X]
@William Lancee · 2021-07-07
B4XSnippetGoogle [B4X]
Direct Link Google Drive [B4X]
For example, if you need to view a movie in exoplayer and the movie is on Google Drive, you can switch the Direct Link of Google Drive to Exoplayer ("uri").
@MarcoRome · 2021-07-04
B4XSnippetPayment [B4X]
Online Payment with PayPal [B4X]
In Attached an example on how to use paypal for online payment in a simple way for B4X ( B4A - B4i - B4j ) In the example it is possible to enter any active paypal account, so you can also make payments on different paypal accounts. For each transaction, it will return if the transaction was successful or failed.
@MarcoRome · 2021-06-23
B4XSnippetToast [B4X]
BCToast with additional views and pause. [B4X]
BCToast with additional views and pause. [B4X]
@MrKim · 2021-06-22
B4XSnippetGPS/location/maps [GEOCODING API][B4X]
Free Geolocation Nominatim [Geocoding API] [B4X]
A demo of how to use the nominatim geocoding API for free.
@TILogistic · 2021-06-20
B4XSnippetDialogs [B4X]
Share your B4XDialog + templates theming code [B4X]
Share your B4XDialog + templates theming code [B4X]
@Erel · 2021-06-01
B4XSnippetB4X
Read/Write Windows Lists
Read/Write Windows Lists
@LucaMs · 2021-05-27
B4XSnippetB4X
Library Manager app for creating and maintaining .b4xlib libraries
I have created an app for managing multiple .b4xlib libraries. I found that keeping multiple libraries updated while they are being developed and tested was quite tricky. This app helps highlight what has been changed and I keep it running in the background while I work.
@jdkellow · 2021-05-07
B4XSnippetB4X [E.G. BUILDING BLOCKS OF A MULTIPLE OF 16][B4X]
Padding data [e.g. building blocks of a multiple of 16] [B4x]
For some solutions you need to pad data to a specific length (=blocksize or a multiple of x, like a multiple of 16 in AES). This snippet gets the next higher multiple of the padding. If your data is 5 bytes long, the blocksize would be 16, having 17 bytes it would be 32.
@KMatle · 2021-04-28
B4XSnippetComms & Network [PHP CODE ALSO INCLUDED][B4X]
Use OTP in your apps [php code also included] [B4x]
OTP is a one time pin (here: 6 digits) depending on a given password and the actual time.
@KMatle · 2021-04-27
B4XSnippetFile xfer [B4X]
Post multipart requests / file uploads with progress [B4X]
Post multipart requests / file uploads with progress [B4X]
@Erel · 2021-04-27
B4XSnippetEncryption [B4X]
Generate RSA private/public key in php and prepare it to use in B4x [B4x]
Sometimes it makes sense to generate pricat/public key pairs for clients on the server side by code. Here''s an example how to do this in php (OpenSSL must be installed as it usually is)
@KMatle · 2021-04-27
B4XSnippetComms & Network [B4X]
Trust all SSL Socket [B4X]
This code creates an SSL socket that doesn''t verify the server certificate.
@Erel · 2021-04-21
B4XSnippetEditText/Textview/TextArea/TextField [B4X]
TextInputBox [B4X]
I needed a simple cross platform dialog (B4A, B4X, B4i) for entering alphabetic text. I don''t know if I wasted time and there is already something ready it''s simpler than the one I''m about to publish (which could be written much better). Depends on XUI Views.
@LucaMs · 2021-04-12
B4XSnippetFirebase
Firestore API REST - support
Methods to easily use Firestore
@Paolodc · 2021-04-09
B4XSnippetLogging/Exceptions [B4X]
Log stack trace [B4X]
This sub will log the underlying stack trace. It can be useful for debugging cases where the code flow is complex. In debug mode the underlying stack trace can be incomplete.
@Erel · 2021-04-01
B4XSnippetB4Xpages [B4XPAGES]
maintaining the page during a split-screen size change [B4Xpages]
The default B4Xpages B4A template doesn''t maintain the ''current page'' when resizing the splits. This is a workaround for this issue.
@swChef · 2021-03-31
B4XSnippetViews - effects [B4X]
Change the view''s alpha level - transparency [B4X]
Change the view''s alpha level - transparency [B4X]
@Erel · 2021-03-24