Bicubic curves
Calculate bicubic curves
@NeoTechni · 2016-01-24
Proper Case For Names
Class for Proper casing of names
@stevel05 · 2016-01-23
Activity as Dialog
Activity as Dialog
@LucaMs · 2016-01-08
Youtube intent force orientation lanscape
This is way to force the orientation of an intent youtube ( landscape )
@MarcoRome · 2016-01-03
ChangeColumnType
How To Change a Column Type In a SQLite Table
@Mahares · 2015-12-30
fixer.io
Shows how to use the free service from http://fixer.io in your own apps. Fixer.io is a free JSON API for current and historical foreign exchange rates published by the European Central Bank. The rates are updated daily around 3PM CET. Dependencies: okHTTPutils2, JSON
@DonManfred · 2015-12-21
JSON Menu to Tree
I had designed a b4J app using the menu designer, saved the menu to an external file and unfortunately lost the file, back-ups didn''t have it either. Anyway, I thought of reverse engineering the menu from my already saved JSON menu in my app so that my ''tree'' is regenerated so as to update it. After careful scrutity of the source code I came up with this snippet.
@Mashiane · 2015-12-19
Photo filters Seekbar
Adds filters - effects to photo - images and changes value of filter through seekbar.
@yiankos1 · 2015-12-06
Markdown to HTML conversion
Parses markdown code as HTML
@NeoTechni · 2015-11-16
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
IME show.. and hide.. KeyBoard Tip
IME show.. and hide.. KeyBoard Tip
@Michaell · 2015-10-29
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
SQLite DB table exists
SQLite DB table exists
@LucaMs · 2015-10-07
Switch
Easily switch the values of a variable, array or object
@wonder · 2015-10-07
Check if a column exists in SQLite database (DBUtils)
Check if a column exists in SQLite database (DBUtils)
@asales · 2015-10-06
Sharing the goodness - Some useful methods
Sharing the goodness - Some useful methods
@Mashiane · 2015-10-03
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
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
Format File Size
Format File Size
@Blue.Sky · 2015-09-22
Multi-level Menu with listbox
Multi-level Menu with listbox
@Rajesh kannan MJ · 2015-09-21
RandomNumber() - The most powerful number generator (B4A/B4J/B4i)
RandomNumber() - The most powerful number generator (B4A/B4J/B4i)
@wonder · 2015-09-17
Collision Physics
Collision Physics
@wonder · 2015-09-11
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
Count sub strings
Count sub strings
@stevel05 · 2015-09-08
CalcSize - Get size of a folder
CalcSize - Get size of a folder
@DonManfred · 2015-08-25
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
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
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
Draw objects on Canvas with gradients
Draw objects on Canvas with gradients
@stevel05 · 2015-08-15
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