Check if color is dark or light [B4X]
Check if color is dark or light [B4X]
@Alexander Stolte · 2019-10-13
Adding accessibility text to objects [B4X]
Turning on the screen reader in iOS and Android will automatically read out labels and text strings, but it does not work for other items such as button which only have an image in them. To do this you need to add accessibility text. Here is a cross platform way of doing that. This works for B4i & B4A only. It seems that iOS allows accessibility text on all objects, e.g. polygons on Google Maps, whilst Android only allows it for views.
@Andrew (Digitwell) · 2019-10-11
convert seconds to ticks [B4X]
convert seconds to ticks [B4X]
@Alexander Stolte · 2019-08-09
B4R Ints to B4A and B4J Ints
B4R Ints to B4A and B4J Ints
@rodmcm · 2019-07-12
FirebaseRealtimeDatabase [B4X]
A module that makes it easy to communicate with a Firebase RealtimeDatabase using their REST API.
@nobbi59 · 2019-06-17
Code to extract the paths of the src attribute in all tags of a HTML document [B4X]
Code to extract the paths of the src attribute in all tags of a HTML document [B4X]
@fredo · 2019-05-22
Change
Change
@fredo · 2019-04-30
XUI Views - Time Dialog [B4X]
XUI Views - Time Dialog [B4X]
@aeric · 2019-04-19
Convert English numbers to Arabic or Persian
Convert English numbers to Arabic or Persian
@somed3v3loper · 2019-04-04
Daylight Saving Time for Israel [B4X]
Daylight Saving Time for Israel [B4X]
@derez · 2019-03-30
RSA Encrypt and Decrypt [B4X]
I build a auth method for my app to protect my API and one of this step is to signed requests to the api to ensure that every request comes from my app. RSA is the best method for that, because this is not a hash, so that the same input is ever the same output. The API knows the Private Key, the apps knows the public key.
@Alexander Stolte · 2019-03-23
B4XTable - Delete Row [B4X]
B4XTable - Delete Row [B4X]
@Erel · 2019-03-11
CallSub with ANY number of parameters
CallSub with ANY number of parameters
@narek adonts · 2019-03-09
easy and fast list choices [B4X] [XUI]
I needed some easy and multiplatform access to option choices. This small lib, based on XUI Views (B4XDialog and B4XListTemplate) seems to work. You have to define a object like ''dlg'' once and than you can ask the user for choices in just one line.
@skrjabin · 2019-03-06
Change the OK-Cancel buttons order in B4XDialog [B4X] [XUI]
OK-Cancel or Cancel-OK, what to prefer in dialogs? It depends on the guidelines and it should be flexible. That''s why I did this small modification in the B4XDialog library and I hope, that something like that could be integrated in the official one.
@skrjabin · 2019-03-04
DownloadAndSave [B4X]
This is a slightly modified sub based on the code from: [B4X] OkHttpUtils2 with Wait For. Call it when you want to download a file and save it. You can wait for it to complete if needed.
@Erel · 2019-02-12
Canadian / USA Postal Zipcodes [attached]
The attached files contain Canadian postal codes and US zip codes - for each region.
@Harris · 2019-01-21
Get subscribed Firebase Topics From Firebase [B4X]
The following code will help get the topics a firebase token is subscribed to. It will send a request to Firebase and ask for the reply. The reply is in a JSON file.
@aaronk · 2019-01-11
CopyFolder [B4X]
A recursive sub that copies a complete folder.
@Erel · 2019-01-10
MQTT SSL and Self Signed Certificates [B4X]
There are two client libraries: jMQTT for B4A and B4J and iMQTT for B4i. Both libraries support SSL connections. You just need to change the URI scheme to ssl:// instead of tcp://
@Erel · 2019-01-01
xCustomListView Pull To Refresh [B4X]
You can use this code to add a pull to refresh feature to the standard xCustomListView. The code should be added to the activity.
@Erel · 2018-10-16
Easy dis-/enabling views (by condition) [B4x]
Easy dis-/enabling views (by condition) [B4x]
@KMatle · 2018-09-21
Get time ago from datetime [B4X]
Convert example 2018/2/2 4:4:23 to 3 minute ago or moment ago
@Pooya1 · 2018-09-05
Bezier curve [B4X]
How to make the bezier curve with B4X? Here is a simple code, you can edit points by tapping and dragging them and the curve will change.
@Star-Dust · 2018-08-25
Change the background alpha level [B4X]
Change the background alpha level [B4X]
@Erel · 2018-08-17
Change Color of Bitmap [B4X] [BitmapCreator]
With this snip, you can easy change a Bitmap/Icon Color.
@Alexander Stolte · 2018-07-27
Automatically increment file names [B4X]
if you download a file with Google Chrome for example and you have you''ve already downloaded this one time, then a number will appear next to it. This is now easy possible with this peace of code.
@Alexander Stolte · 2018-07-17
Find Minimum Bounding Rectangle [B4X] [BitmapCreator]
Input: A Bitmap or B4XBitmap. Output: A rectangle with the boundaries of the non-transparent area.
@Erel · 2018-07-08
Check equality of two files
A way to compare two files
@fredo · 2018-06-27
Convert bitmap to BMP format [B4X]
Input: B4XBitmap / Bitmap / Image. Output: array of bytes with the BMP format.
@Erel · 2018-06-24