B4XSnippetImages [B4X][XUI]
Rectangle image with rounded corners [B4X] [XUI]
Rectangle image with rounded corners [B4X] [XUI]
@Erel · 2017-11-19
B4XSnippetGPS/location/maps [B4X]
GPS Antipode [B4X]
GPS Antipode [B4X]
@AHilton · 2017-11-09
B4XSnippetDatabase [B4X][SQLITE]
Get all tables, column names and definitions of a db [B4X] [SQLite]
This snippet gets all tables, column names and definitions (e.g. INTEGER, TEXT, etc.) and returns a list with maps.
@KMatle · 2017-11-09
B4XSnippetB4X
Swap without extra variable
We don''t need an extra variable for swapping integer values
@wonder · 2017-10-26
B4XSnippetStrings
PyJoin() - Python ''str.join''
Returns a string in which the string elements of the given sequence (list / array) have been joined by glue separator.
@wonder · 2017-10-04
B4XSnippetB4X
Search algorithms (and code) on ordered lists
Search algorithms (and code) on ordered lists
@Star-Dust · 2017-09-02
B4XSnippetXML
Manage XMLRPC with okHttpUtils easily (B4X)
I see that there are often questions if there are XMLRPC libraries working in B4X ( B4A, B4i ).Managing the same is very simple through okHttputils.
@MarcoRome · 2017-08-06
B4XSnippetB4X
Fun With Lists
It doesn''t improve anything, but it makes my code more readable
@wonder · 2017-07-29
B4XSnippetStrings
Sanitize Hashtag strings
Code to make sure a string complies with "standard" Hashtag rules.
@fredo · 2017-07-20
B4XSnippetStrings [B4X]
Index of Nth occurrence [B4X]
Returns the index of the Nth occurrence of the string searched for. Returns -1 if not found.
@Erel · 2017-07-20
B4XSnippetFile xfer [B4X]
One-liner downloads [B4X]
One-liner downloads [B4X]
@Erel · 2017-07-18
B4XSnippetB4X
Numeric conversions
The class posted in this thread contains many functions that i use to convert numeric variables in others (ex. byte2int16, long2bytes, byte2hex, etc..)
@MarcelloCSI · 2017-03-27
B4XSnippetDate/time [B4X]
Calculating the next scheduled time [B4X]
Calculating the next scheduled time [B4X]
@Erel · 2016-12-12
B4XSnippethttp
GZIP: B4x & PHP via okHttpUtils
Often transfered data (esp. JSON fromatted) get''s huge. This is about to GZIP encode in PHP and decode in B4X. Like every data manipulation (encryption, zipping) it is BYTE based. So the main thing is to convert it between bytes and string format.
@KMatle · 2016-11-15
B4XSnippetB4X
Switching between 0 and 1
Switching between 0 and 1
@wonder · 2016-08-05
B4XSnippetOther [B4X]
Array of American States and Territories [B4X]
Array of American States and Territories [B4X]
@JakeBullet70 · 2016-07-15
B4XSnippetRandomise
RandomStuff() - Improved Randomness (B4A/B4J/B4i)
Return a random object from the specified object array
@wonder · 2015-09-17
B4XSnippetB4X
Quick way to access the b4x forums from mobile
Quick way to access the b4x forums from mobile
@Reviewnow · 2014-12-28