Android Tutorial [B4X] Documentation Booklets

The B4X documentation booklets are available in PDF format, Download Link.
All files are included in the zip file in the link above, pdf booklets and all the source code.

You can also download all the source code for al booklets, SourceCode.

These booklets cover the four B4X platforms.
Some don't cover B4R because the subject is not relevant for B4R like Visual Designer.

Example projects with source code are included.

All booklets can be accessed online with the links below.
The generic link is: https://www.b4x.com/guides/BookletName/?page=xx
In this example we reach the B4xCustomViews booklet page 59: https://www.b4x.com/guides/B4xCustomViews/?page=59
The booklet names must begin with B4x (the x is in lower case) and without blank characters.
The summary of the list can be found here: Documentation
To get the source code of the example projects you can either download the entire zip file with the pdf booklets or only the source codes with the SourceCode link on top or at the end in the list below.

General booklets:
B4X Getting started
This booklet explains how to start with each B4x product (B4A, B4i, B4J and B4R).
B4X Language
This booklet explains the language for B4A, B4i, B4J and B4R.
B4X IDE
This booklet explains the Integrated Developpment Environment for B4A, B4i, B4J and B4R.
B4X Visual Designer
This booklet explains the Visual Designer for B4a, B4i and B4J.
B4X Help tools
This booklet explains some help tools for B4X. In the previous editions, its content was a chapter in the four booklets above.

Specific booklets:
B4XPages Cross-platform projects
This booklet explains how to make cross-platform projects.
B4X Custom Views + CustomViews_SourceCode, specific code for this booklet.
This booklet explains the CustomView subject for B4A, B4i and B4J.
B4X Graphics
This booklet explains Graphics for B4A, B4i, B4J, XUI And BitmapCreator.
B4X XUI
This booklet explains the XUI library which makes it easier to share code between B4A, B4J and B4i projects.
B4X SQLiteDatabase
This booklet explains the use of the SQLite library
B4X JavaObject-NativeObject
This booklet explains the use of JavaObjects (B4A and B4J) and NativeObjects (B4i)

B4R ExampleProjects
This booklet explains some B4R example projects.

SourceCode
Zip file containing all the source codes.

The current editions are 2.4
All booklets have the same edition number, to avoid confusion.
They cover:
B4A version 11.80
B4i version 8.00
B4J version 9.80
B4R version 3.90

Future booklets:
None in the to do list.

Some of these booklets exist in Spanish:

Español, Spanish.
Translated by Manuel Martinez.
 
Last edited:

Roger Daley

Well-Known Member
Licensed User
Longtime User
Just to show I'm paying attention, I have to say I've always been impressed with Klaus' documentation.
There are two points I should highlight:
1. It would be good if many examples were brought up to date or an example of how it would be written in B4X/pages. This, of course, is a rediculous expectation. It is just a dream.🤔

2. The docs would work a lot better if I remembered to refer to them. This would save me a lot of time. 😥

Roger
 

klaus

Expert
Licensed User
Longtime User

Roger Daley

Well-Known Member
Licensed User
Longtime User

johnmie

Active Member
Licensed User
OK, but what kind of information would you like to be added there ?
Generic terms & concepts (file handling, saving files etc.) and cross references - even better a list for beginners like me eg. saving a file see file.write etc.
 

johnmie

Active Member
Licensed User
OK, but what kind of information would you like to be added there ?
Concepts. By that I mean e.g. context menu or various type of dialogs like B4Xdialog, Preferences Dialog etc. True you find lots of mentions and some code snippets in the forum, but neophytes like me would typically first search through your booklets to find step-by-step instructions or complete examples.
 

johnsmith92

New Member
The B4X documentation booklets are available in PDF format, Download Link.
All files are included in the zip file in the link above, pdf booklets and all the source code.

You can also download all the source code for al booklets, SourceCode.

These booklets cover the four B4X platforms.
Some don't cover B4R because the subject is not relevant for B4R like Visual Designer.

Example projects with source code are included.

Erel has made html documents for all booklets.
Be aware that the external links in booklets do not work in the html pages in the links below.
They work only in the pdf files, download link in first line, this is a limitation of the tool used to convert the pdf files into html.
The links in the the list below show each booklet.
The generic link is: https://www.b4x.com/guides/BookletName/?page=xx
In this example we reach the B4xCustomViews booklet page 59: https://www.b4x.com/guides/B4xCustomViews/?page=59
The booklet names must begin with B4x (the x is in lower case) and without blank characters.
The summary of the list can be found here: Documentation
To get the source code of the example projects you can either download the entire zip file or with the SourceCode link at the end in the list below.

General booklets:
B4X Getting started
This booklet explains how to start with each B4x product (B4A, B4i, B4J and B4R).
B4X Language
This booklet explains the language for B4A, B4i, B4J and B4R.
B4X IDE
This booklet explains the Integrated Developpment Environment for B4A, B4i, B4J and B4R.
B4X Visual Designer
This booklet explains the Visual Designer for B4a, B4i and B4J.
B4X Help tools
This booklet explains some help tools for B4X. In the previous editions, its content was a chapter in the four booklets above.

Specific booklets:
B4XPages Cross-platform projects
This booklet explains how to make cross-platform projects.
B4X Custom Views + CustomViews_SourceCode, specific code for this booklet.
This booklet explains the CustomView subject for B4A, B4i and B4J.
B4X Graphics
This booklet explains Graphics for B4A, B4i, B4J, XUI And BitmapCreator.
B4X XUI
This booklet explains the XUI library which makes it easier to share code between B4A, B4J and B4i projects.
B4X SQLiteDatabase
This booklet explains the use of the SQLite library
B4X JavaObject-NativeObject
This booklet explains the use of JavaObjects (B4A and B4J) and NativeObjects (B4i)

B4R ExampleProjects
This booklet explains some B4R example projects.

SourceCode
Zip file containing all the source codes.

The current editions are 2.2
All booklets have the same edition number, to avoid confusion.
They cover:
B4A version 11.1
B4i version 7.50
B4J version 9.10
B4R version 3.71

Future booklets:
None in the to do list.

These booklets replace the platform specific Beginner's Guides and the B4A User's Guide.

Some of these booklets exist in other languages:

Español, Spanish.
Translated by Manuel Martinez.

Français, French.
Translated by myself.
Hi Klaus,

Thank you so much for sharing the booklet in PDF format. It helps me a lot.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Version 2.3 of the booklets is now online. Thank you Klaus!

Note that the online guides links have changed as the previous service that was used is no longer available. The good news is that the links now work properly in the online version.
 

klaus

Expert
Licensed User
Longtime User
Erel was faster than I.
I was about to mail him because of the links to the online booklets.
Whats new in edition 2.3:
- Added a specific chapter in the B4X VisualDesigner booklet: 3.17 Designer Script Extension / DesignerUtils Class
- Most of the projects have been converted into B4XPages projects.
- The links in the first page, for the online booklets, have been updated.
 

klaus

Expert
Licensed User
Longtime User
Erel, with the new online booklets it seems that it is no more possible to define a link for a specific page like before.
I had added quite some links in the booklets referring to a specific page in a given booklet.
Old method:
https://www.b4x.com/guides/BookletName/?page=xx
New method ?
I think that edition 2.4 will be needed soon, because of the change of the links.

PS: Could you please change the name of the B4X Basic Language booklet into B4X Language in the Documentation pages.
This name change was the problem with the link reported by jerry07.

1660659209291.png
 
Last edited:
Top