Convert milliseconds to string [B4X]
This code converts milliseconds to hours, minutes and seconds
@Erel · 2018-02-22
Pixelator - turn any image into fancy pixel-art
I know some people in the forum have mentioned that it''s very difficult to produce art for games. I just found this app (not made with B4X), and thought that it might help somebody. http://pixelatorapp.com/
@Sandman · 2018-02-20
Send structure from C++ to B4X in prefix mode
Send structure from C++ to B4X in prefix mode
@johnf2013 · 2018-02-10
Load Map - travel to site show start point and end point on google maps
Load Map â travel to site show start point and end point on google maps
@Daniel-White · 2018-02-09
Google Street View Get Picture [B4X]
With this Code you can get the picture of a Google Street View Position
@Alexander Stolte · 2018-02-01
Check if Google Street View is available [B4X]
This code check''s easy and fast if Google Street View is available. You need the latitude and longitude.
@Alexander Stolte · 2018-02-01
IDE Tips [B4X] [Video]
IDE Tips [B4X] [Video]
@Erel · 2018-01-10
Gauge View [B4X] [XUI]
A nice and simple gauge. You can easily customize it as needed.
@Erel · 2017-12-24
Builder Pattern [B4X]
Builder pattern is one the most important design pattern in OOP. The main purpose of this pattern is to validate an object before inizializing it, but without checking the object in his class costructor. A builder pattern has also more advantages, that we will see in this tutorial
@Emme Developer · 2017-12-19
Blockchain Example - Create Your Own Cryptocurrency (part 1/2) [B4X]
Blockchain Example - Create Your Own Cryptocurrency (part 1/2) [B4X]
@wonder · 2017-12-13
Scale for Google Maps [B4X] [XUI]
This custom view class is based on XUI library. It is compatible with B4A, B4i and B4J. It shows the map scale.
@Erel · 2017-12-07
Do something after the user finished typing [B4X]
This code pattern allows you to do something after the user stopped typing. It can be useful for example if you want to filter a large list or send a http request.
@Erel · 2017-12-06
Join arrays of bytes [B4X]
Input = A list (or array of objects) with one or more arrays of bytes; Output = An array of bytes with the input data.
@Erel · 2017-12-03
Backward Compatibility [B4X]
Backward Compatibility [B4X]
@Erel · 2017-12-03
External Editors [B4X]
You can configure the IDE to show a list of external file editors. The list shows when you right click on a file in the Files tab.
@Erel · 2017-11-27
Pie Chart [B4X] [XUI]
A simple, cross platform, pie chart class based on XUI library.Implemented as a custom view. Add it with the designer.
@Erel · 2017-11-26
Rectangle image with rounded corners [B4X] [XUI]
Rectangle image with rounded corners [B4X] [XUI]
@Erel · 2017-11-19
B4XHelp: WebApp for the documentation of the libraries (B4A/B4i/B4J)
I''ve created an ABMaterial WebApp to show the documentation for the libraries. Everyone who created a library for B4A, B4i or B4J can upload their .xml file to the WebApp and everyone can consult it. One can re-upload a new version for a library if needed. Link: http://81.165.232.188:50912/b4xhelp/ HTTP/2 SSL Link: https://81.165.232.188:50911/b4xhelp/
@alwaysbusy · 2017-11-15
GPS Antipode [B4X]
GPS Antipode [B4X]
@AHilton · 2017-11-09
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
Swap without extra variable
We don''t need an extra variable for swapping integer values
@wonder · 2017-10-26
Drawing with B4XCanvas [B4X] [XUI]
B4XCanvas is the cross platform version of Canvas. Steps to using B4XCanvas: 1. Initialize and pass the target view. In most cases it will be a Panel (or Pane). It must be a Pane in B4J. 2. Make the drawings. 3. Call Invalidate to commit the drawings. 4. If the target view is resized then you should call B4XCanvas.Resize. This is more relevant in B4J and B4i as the activity is recreated in B4A when the screen size changes. 5. B4XCanvas.CreateBitmap returns the drawings bitmap.
@Erel · 2017-10-24
Msgbox [B4X] [XUI]
XUI library v1.4 adds support for asynchronous msgbox dialogs.
@Erel · 2017-10-19
FTP Server code update for multi-network card hosts [B4X]
(This code will work with B4A and B4J) This relates to the FTP Server code posted here (https://www.b4x.com/android/forum/t...d-with-socket-and-asyncstreams.74320/#content). @Sergio83 discovered an issue with the FTP server when it is deployed in a machine that has multiple active network cards (see https://www.b4x.com/android/forum/threads/ip-address-confusing-when-upload-file-with-ftp.84816/). In such an environment, it can happen that the FTPDataConnection may be assigned a different IP address than the FTPClient command connection, which will cause connection issues (as per the post linked above). With @Sergio83''s help in testing the development and refining of a solution and @Erel''s help in using Reflection vs JavaObject, the following code changes will allow for the proper handling of client connections
@OliverA · 2017-10-17
Creating custom views with XUI [B4X] [XUI]
With the help of XUI it is quite simple to create custom views classes that will work with B4A, B4i and B4J.
@Erel · 2017-10-17
CircularProgressBar [class] [custom view]
A simple circular progress bar implemented as a custom view.
@Erel · 2017-10-16
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
B4x / PHP compatibility thread
A lot of developers like me use php as the backend component on a server to communicate with B4x apps. My intention is to create a thread with some "How to''s" and best practices. Please feel free to expand it. It''s not the place to post questions (please open a new thread then). The examples posted here can be used in all B4x products (maybe with a slight change).
@KMatle · 2017-09-30
RegexBuilder - Builder for Regular Expressions [B4X]
Regex is a very powerful tool for parsing strings. However the regex syntax can be a bit difficult if you are not using regex regularly. Reading a regex pattern and understanding it is even more challenging. The purpose of RegexBuilder is to help with building regex patterns. The API is based on a builder pattern. It is more verbose and hopefully more clear. It is inspired by VerbalExpressions open source project, though there are many differences between the two.
@Erel · 2017-09-03
Search algorithms (and code) on ordered lists
Search algorithms (and code) on ordered lists
@Star-Dust · 2017-09-02