B4XTutorialB4X
How to create an overview for your B4X articles easily
You can create your overview of your B4X articles easily without the need of copying and pasting each articles url, thanks to b4xgoodies and MashOverviewCreator
@Mashiane · 2018-05-01
B4XTutorialDatabase [B4X]
Create and use SQlite databases with DB Browser [B4X]
Create and use SQlite databases with DB Browser [B4X]
@KMatle · 2018-05-01
B4XTutorialDatabase [B4X]
SQlite with 6 million rows [B4X]
I''ve written a tutorial about database modelling and how long queries in a good designed db environment should take. This is a example about using huge databases. What it does: - creates two tables (customers and orders) - inserts 1 million customers and 5 orders per customer = 5 million orders = 6 million rows total - creates one single index on orders (customer id to access every order as fast as possible) - shows the time used for any query - all db functions are inside an own module - the code can be easily converted to B4A (just put it in a service/the starter service) - note: don''t use huge db''s in an Android app as it is not a server :)
@KMatle · 2018-04-06
B4XTutorialDatabase [B4X]
Database modelling [B4X]
This tutorial is about db modelling with a small example. Of course this is just an overwiew and there is much more. I assume you know how to create tables and Co.
@KMatle · 2018-04-04
B4XTutorialInterop [B4X]
Data exchange (B4x, php, servers, .net and others) [B4x]
Data exchange (B4x, php, servers, .net and others) [B4x]
@KMatle · 2018-03-18
B4XTutorialB4X
Watch the b4x Video Tutorials with interactive zoom
If you''re having problems with the resolution, or your age ( :( ) and you see the code too small ,try to use this tricky feature in VLC Player called "interactive zoom". You can see all code much clearer and also you can jump immediately to other section of the screen such as the log output area etc.
@trepdas · 2018-02-26
B4XTutorialLinux
WSL Linux and B4x
If anyone is interested in being able to rapidly test desktop, console or server code in a headless environment using WSL, Linux and X11 I have prepared 19 ready to run distro''s that can be downloaded here: https://gitlab.com/x.distro/x.distro/tags
@mrpastewart · 2018-02-25
B4XTutorialGame
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
B4XTutorialB4X [B4X][VIDEO]
IDE Tips [B4X] [Video]
IDE Tips [B4X] [Video]
@Erel · 2018-01-10
B4XTutorialB4X [B4X]
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
B4XTutorialCryptocurrency [B4X]
Blockchain Example - Create Your Own Cryptocurrency (part 1/2) [B4X]
Blockchain Example - Create Your Own Cryptocurrency (part 1/2) [B4X]
@wonder · 2017-12-13
B4XTutorialB4X [B4X]
Backward Compatibility [B4X]
Backward Compatibility [B4X]
@Erel · 2017-12-03
B4XTutorialB4X [B4X]
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
B4XTutorialDrawing [B4X][XUI]
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
B4XTutorialDialogs [B4X][XUI]
Msgbox [B4X] [XUI]
XUI library v1.4 adds support for asynchronous msgbox dialogs.
@Erel · 2017-10-19
B4XTutorialFTP [B4X]
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
B4XTutorialViews - additional [B4X][XUI]
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
B4XTutorialInterop
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
B4XTutorialGame
Old-school Parallax Scrolling
In the 8-bit era, most videogame consoles weren''t powerful enough to support multiple background layers. Using a single layer, however, it would be possible to create such an illusion.
@wonder · 2017-08-28
B4XTutorialGame
GamePad support for B4j
GamePad support for B4j
@ilan · 2017-08-24
B4XTutorialB4X
Johan''s Overview
Johan''s Overview
@Johan Schoeman · 2017-08-05
B4XTutorialMail [B4X]
Sending emails with Gmail REST API [B4X]
Up until now there were two ways to send emails: 1. Using the default mobile app which required the user to actually send the message (available in B4A and B4i). 2. Using SMTP from the Net library. This required the user to enter the email account details. Both options are problematic. Now there is a third option which is to ask the user once for permission to send emails through his gmail account Once allowed we can use the Gmail API to send messages.
@Erel · 2017-07-17
B4XTutorialOther
Meld: Nice tool for diffing files and directories
This isn''t really a tutorial but rather a recommendation for a diff tool. Sometimes you need to compare files, or even directories, and doing it manually is just too painful and difficult. I''ve used Meld many times over the years (mostly on Linux though), and can really recommend it. Meld can be found at http://meldmerge.org/ and is completely free.
@Sandman · 2017-07-16
B4XTutorialB4X
Big-endian and Little-endian
I didn''t know what was the difference was between Big-endian and Little-endian, so I just looked up about it on the internet as I needed to know the difference for a sketch I was converting. I just thought that I would share the following information with you.
@Peter Simpson · 2017-06-29
B4XTutorialGame
Dualshock 4 (PS4) Controller KeyCode Values
Dualshock 4 (PS4) Controller KeyCode Values
@wonder · 2017-06-25
B4XTutorialGit
Using a Git Repository (Version Control) for Beginners
Using a Git Repository (Version Control) for Beginners
@wonder · 2017-06-22
B4XTutorialDatabase [B4X]
SQL with Wait For [B4X]
The new resumable subs feature, introduced in B4J v5.50, B4i v4.00 and B4A v7.00 (to be soon released), makes it simpler to work with large data sets with minimum effect on the program responsiveness.
@Erel · 2017-05-15
B4XTutorialSerialize
Network + AsyncStreams + B4XSerializator B4J
This is the B4J version of this B4A example: Network + AsyncStreams + B4XSerializator Note that B4XSerializator is cross platform, so it should be simple to use similar code to communicate with B4A or B4i programs.
@Erel · 2017-05-15
B4XTutorialSerialize [B4X]
B4RSerializator - Send and receive objects instead of bytes [B4X]
B4RSerializator solves a difficult and common task. Sending messages with multiple fields to other platforms.
@Erel · 2017-04-24
B4XTutorialGame
Game engines
In case someone missed them, here are the game engines at your disposal for the B4x products: B4a: libGDX B4j: SimpleGameEngine + jBox2D B4i: iSpriteKit
@eps · 2017-04-20