B4ASnippetInterop
Markdown to HTML conversion
Parses markdown code as HTML
@NeoTechni · 2015-11-16
B4ASnippetDatabase
SQLCipherV2V3
Finally after much research and work I managed to solve this problem of incompatibility of the libraries of the V3 version V2 version. That''s right, I''m saying it''s possible to have any Android version, including 6.0, it can make the libraries of the new version V3 read and write older database of V2 version.
@tucano2000 · 2015-10-31
B4ASnippetKeyboard
IME show.. and hide.. KeyBoard Tip
IME show.. and hide.. KeyBoard Tip
@Michaell · 2015-10-29
B4ASnippetImages
SetImageViewUnfiltered
When you create an ImageView that has dimensions greater than the image it contains, Android will apply some filters to it to make the image look smooth. Sometimes, that is not what you want. I made this little sub that takes an imageView and a BitMap, and removes the filtering.
@James Chambliin · 2015-10-11
B4ASnippetOther
Switch
Easily switch the values of a variable, array or object
@wonder · 2015-10-07
B4ASnippetDatabase
SQLite DB table exists
SQLite DB table exists
@LucaMs · 2015-10-07
B4ASnippetDatabase
Check if a column exists in SQLite database (DBUtils)
Check if a column exists in SQLite database (DBUtils)
@asales · 2015-10-06
B4ASnippetMultiple items
Sharing the goodness - Some useful methods
Sharing the goodness - Some useful methods
@Mashiane · 2015-10-03
B4ASnippetDialogs
Sharing the goodness: MsgBox Things
I''m using the code snippets below for my message boxes. I have these running in a module. First I define the vb like constants, I kept on forgetting with the DialogResponse constants so I decided on this, seeing coming from a vb background..
@Mashiane · 2015-10-01
B4ASnippetMultiple items
Sharing the goodness: Form Input Validation
As my b4a apps at times deal with form input validation, I needed some subs that I could just run in my forms e.g. checking if a textbox is blank, confirming passwords etc, so I came up with this…
@Mashiane · 2015-10-01
B4ASnippetStrings
Format File Size
Format File Size
@Blue.Sky · 2015-09-22
B4ASnippetMenu
Multi-level Menu with listbox
Multi-level Menu with listbox
@Rajesh kannan MJ · 2015-09-21
B4ASnippetRandomise
RandomNumber() - The most powerful number generator (B4A/B4J/B4i)
RandomNumber() - The most powerful number generator (B4A/B4J/B4i)
@wonder · 2015-09-17
B4ASnippetGame
Collision Physics
Collision Physics
@wonder · 2015-09-11
B4ASnippetDatabase
Count The Number of a Given String In a SQLite Column
Count The Number of a Given String In a SQLite Column
@Mahares · 2015-09-09
B4ASnippetStrings
Count sub strings
Count sub strings
@stevel05 · 2015-09-08
B4ASnippetFile handling
CalcSize - Get size of a folder
CalcSize - Get size of a folder
@DonManfred · 2015-08-25
B4ASnippetDatabase
MSMySQL_UpdateHelper
The purpose of this code snippet is the generation of a command to update records in a MySQL database table using the MSMySQL library. To build your update sql command, you use maps for the fields to update and another map for the where clause. The assumption are that the field types are strings, but this works even if its numeric fields though...
@Mashiane · 2015-08-16
B4ASnippetDatabase
MSMySQL_InsertHelper
The purpose of this function is to return an insert command after you pass it a map of field, value pairs to add with the MSMySQL library. This code has been adopted from DBUtils. As you will note, all the fields to be passed are assumed to be strings. It''s not using parameters.
@Mashiane · 2015-08-16
B4ASnippetDatabase
MSMySQL_DeleteHelper
The purpose of this script is the generation of a Delete sql command for MySQL using the MSMySQL library. To delete, you pass a map containing the field, value pairs to delete from your table.
@Mashiane · 2015-08-16
B4ASnippetDrawing
Draw objects on Canvas with gradients
Draw objects on Canvas with gradients
@stevel05 · 2015-08-15
B4ASnippetDatabase
MSMySQL_SelectHelper
The purpose of this function is to return the SELECT command by using a map field, operator, value pairs for use with the MSMySQL library. As you will note, the values passed to the map are assumed to be strings. When defining the map, you include the operator to choose the values with.
@Mashiane · 2015-08-14
B4ASnippetWebView
Modify Headers in WebView
Modify Headers in WebView
@MarcoRome · 2015-08-01
B4ASnippetDatabase
How To Escape The Apostrophe (single quote) And % Sign In a SQLite Query
How To Escape The Apostrophe (single quote) And % Sign In a SQLite Query
@Mahares · 2015-07-31
B4ASnippetAds
AdMob / b4a.example package name
AdMob / b4a.example package name
@MarcoRome · 2015-07-21
B4ASnippetProgress/Gauge/Loading
Colourful Indicator
The project displays as an example a colourful battery level indicator.
@Johan Schoeman · 2015-07-18
B4ASnippetFile handling
ListFolders
Traverse a given directory, return directories
@hibrid0 · 2015-06-19
B4ASnippetFile handling
ListFiles
Traverse a given directory, return files
@hibrid0 · 2015-06-19
B4ASnippetOS
LaunchNetworkInfo
Launches the Android Network info screen that displays information such as: •Signal Strength •Location •GSM Service •GPRS Service •Roaming •IMEI •Phone Number •And more
@sonicmayne · 2015-06-19
B4ASnippetB4A
Array tools: getDimSize and getSize
Array tools: getDimSize and getSize
@wonder · 2015-06-08