CLVSwipe with images
I modified CLVSwipe to allow images, not just text on the Swipe
@MrKim · 2019-08-21
Gerador de CPF [Brazilian document]
Example of how to randomly generate valid CPF (Brazilian document).
@Douglas Farias · 2019-08-10
Firebase Authex - login mail/password SOLVED
Allows you to enter a firebase with the email / password, avoiding errors that cannot be resolved in the library.
@gregorio_adrian_gimenez · 2019-07-28
Parsing your apps logs
Parsing your apps logs
@Erel · 2019-07-23
Animation with SetLayoutAnimated
Animation with SetLayoutAnimated
@rraswisak · 2019-07-20
Group and count Recordset [or list or array etc.]
Needed a fast way to take a recordset and group and count a specified column, so that is get the unique items of that column and count the occurrences of all those unique items. A recordset with a column with largish (10 to 2000 chars) and about 400000 rows produces a map with 60000 values and counts in about 700 milli-seconds.
@RB Smissaert · 2019-07-16
Remove multiple spaces inside strings
Remove multiple spaces inside strings
@gravel · 2019-07-15
Remove linefeeds & carriagereturn/linefeeds from strings
Remove linefeeds & carriagereturn/linefeeds from strings
@gravel · 2019-07-15
PyJSON
A treat for my Pythonic friends who got used to its JSON module
@wonder · 2019-06-11
Load HTML to Label B4A
This is how you can set HTML data to Label (works only in release mode),
@Brandsum · 2019-06-09
PhoneStateChanged sample: all possible calling states
PhoneStateChanged sample: all possible calling states
@peacemaker · 2019-06-06
VB6 VBA uses prefix mode and data structure of prefix mode.
VB6 VBA uses prefix mode and data structure of prefix mode.
@boy8199 · 2019-06-05
Tricks Anti Debug - Anti Proxy
Check if your app is - intercepted by a proxy - hooked to a process to debug
@MarcoRome · 2019-06-05
Constant Speed Progress Calculator [LibGDX CatMullRomSpline]
Constant Speed Progress Calculator [LibGDX CatMullRomSpline]
@wonder · 2019-05-29
Return NaN and Infinity
Return NaN and Infinity
@wonder · 2019-05-22
Store CSBuilder formatted text in plain .txt file
Store CSBuilder formatted text in plain .txt file
@Ivan Aldaz · 2019-05-19
Randomly shuffle a string array
Randomly shuffle a string array
@Peter Simpson · 2019-05-19
Find Numbers RegEx Expressions
A list of expressions to use with RegEx
@icakinser · 2019-05-11
Convert DateTimeString dd.mm.YYYY HH:MM to Android DateTimeLongValue [SQL]
Code to convert a given DateTimeString in "dd.mm.YYYY HH:MM" format within an SQLite statement to an Android LongValue in ms.
@fredo · 2019-05-10
Change Tab Stop on Labels and Listview using CSBuilder
Change Tab Stop on Labels and Listview using CSBuilder
@William Lancee · 2019-05-07
Change CheckBox colors
Change CheckBox colors
@Erel · 2019-05-07
Get CRC32 from File
Get CRC32 from File
@wonder · 2019-04-30
Factorial Function
I had to get the factorial of a number but could not find a buildin function in b4x so i created a function for that.
@ilan · 2019-04-16
Random Text Generator
Code to generate placeholder texts as an alternative to LoremIpsum. Multiple paragraphs of different and arbitrary length are easy to create.
@fredo · 2019-04-15
Draw Bitmap Rotated From Upper-left Corner
Draw a bitmap rotated from the upper-left corner, not the center of the image as the canvas DrawBitmapRotated function does
@Jeffrey Cameron · 2019-04-11
Application Log File Function
A logger function, it''s very handy when you have multiple app and your trying to see who doing what.
@Jmu5667 · 2019-04-09
Using Material/FontAwesome Icons as Bitmaps
This sub will let you use icon fonts as bitmaps
@Kwame Twum · 2019-03-22
Check if string is GUID
This code is to check if a string is a valid GUID.
@asales · 2019-03-07
xCustomListView Loading Tip
When loading a large CLV list (items derived from a ResultSet - for example), I find it loads much faster if you set the underlying scroll view visibility to False (before loading the list). Set it back to True after populating the the custom list.
@Harris · 2019-02-24
Spannable Text to HTML
Recently I faced a problem involving spannable text where I needed to store an EditText content and later restore in a new View on screen. It is a hard job as you can''t store a formatted spannable text in a database or in a flat text. The solution is to convert the EditText content to html , store, and then convert again from html and show. There are two Android java function those we can use to do this: ToHtml FromHtml With a small implementation and the help of @Erel I developed a small java routine that could be useful to store and recover spannable texts, maintaining the types formatting. Attached also an apk with a sample code using the routine. To test: - Open a formatted text in any app (browser, e-mail, etc) - Copy the text - Paste in the bottom edittext - Click the button - The formatted text will be copied to the edittext on the top
@Marcos Alves · 2019-02-17