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.

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 Basic Language
This booklet explains the Basic 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.
 
Last edited:

klaus

Expert
Licensed User
The B4X Booklets have been updated to edition 1.9, details in post#1.
A new B4XPages Cross-platform projects booklet has replaced the previous Cross-platform projects booklet.
 
Last edited:

christianjeannot

Member
Licensed User
Hello Klaus,

thank you for the new B4XPages Booklet.

I am focussing on cross platform development. As a beginner within B4X I started with the previous version. With new version it is easier to do cross platform development.

I have some feedback.

Chapter 6.4.1 Code of B4XMainPage
Code is missing for
- FillComboBox
- btnPage1_Click
- xcbxMainPage_SelectedIndexChanged

Same for 6.4.2 Code of B4XPage1.

I checked the example project. There I could find the code.

Layout / Format Booklet
The head of the pages has the same size as the text from a page. As a reader this is a bit disturbing. Is it possible to make the head of a page with a smaller font and maybe a line so it is better to read.

I have also some feedback for the example code. Is this the right place or in another thread?

Best regards

--Christian
 
Last edited:

klaus

Expert
Licensed User
Thank you for the feedback !

The code has been added for the next edition.

For the header, i will look at it.

For the other feedback you can PM me.
 

Roger Daley

Well-Known Member
Licensed User
Thank you for the feedback !

The code has been added for the next edition.

For the header, i will look at it.

For the other feedback you can PM me.

Klaus,

It looks like you've done a great job yet again even though I've only had time to skim.
From the point of view as the Lowest Common Denominator the only comment I can make is that the suggestion re: the page headers is probably a good one. Not that there is really a problem but looking at other documentation I see the point.

Regards Roger
 

Eme Fibonacci

Well-Known Member
Licensed User
I didn't find information about the Booklets license.

What can I do with Booklets and source codes?
Can I distribute, adapt and sell?
Are the license terms expressly written somewhere?
 

Cableguy

Expert
Licensed User
This is my opinion and the way i see the booklets, not Klaus's!
The booklet were introduced by Klaus to help newcomers better jump-start in b4x.
Along the way, source code for common issues or questions were added, and samples on how a particular feature works or should be better implemented.
A few gems are also there, like smarter ways to use some feature or a "magical" code for a not so obvious use.
All this is Klaus work, and although i guess he won't oppose to any usage of it, the minimum one can do to honor his work is to credit him on our final product, if he has helped, directly or even indirectly, in the creation of such product.

Again, this is my opinion and how i see the booklets usage.
 

Eme Fibonacci

Well-Known Member
Licensed User
This is my opinion and the way i see the booklets, not Klaus's!
The booklet were introduced by Klaus to help newcomers better jump-start in b4x.
Along the way, source code for common issues or questions were added, and samples on how a particular feature works or should be better implemented.
A few gems are also there, like smarter ways to use some feature or a "magical" code for a not so obvious use.
All this is Klaus work, and although i guess he won't oppose to any usage of it, the minimum one can do to honor his work is to credit him on our final product, if he has helped, directly or even indirectly, in the creation of such product.

Again, this is my opinion and how i see the booklets usage.
I agree. The work is brilliant but we must always know clearly what the license terms. We must know what we can and cannot do. Where it is written. If we should credit the author and how we should do it.
 

DonManfred

Expert
Licensed User
The Books are written by Klaus. Copyright is at the Author.
Anything you do to resell the Documents copyrighted by anyone must be Approved and permitted by the Author.

Bottomline:
As long as you do not have the written permission (email for ex) from the Copyright-Owner (Author) you are not allowed to resell anything. Freely available for download or not.

PS: I´m not a lawyer though....
 

Eme Fibonacci

Well-Known Member
Licensed User
Klaus and myself have decided to make the guides open source: https://github.com/AnywhereSoftware/B4X_Documentation

Give attribution to Klaus and do whatever you like with it. I'm always happy to see more B4X guides in any form (free or non-free).
Thank you @Erel and @klaus. I am building a site about arduino in my native language. I will use b4x for the projects. My website will sell components and sensors. It is a very modest project. Booklets will be very useful.
 

John W. Miescher

Member
Licensed User
Fantastic (as usual with Klaus). You saved me a lot of time and a ton of headaches.Thank you very much.
I also saw recently your update on xChart which included a Radar chart. Very interesting, do you also have this covered somewhere?

Best, john m.
 

klaus

Expert
Licensed User
Very interesting, do you also have this covered somewhere?
No it is not covered somewhere, I thought and expected that the in-line help and the demo program is enough self explanatory.
But it seems no, I agree, it has become a big library and could be somewhat difficult for 'new' users.
 

Peter Simpson

Expert
Licensed User
I thought and expected that the in-line help and the demo program is enough self explanatory.
I tend to agree with you about that, especially as you've created the demo app which includes demo code for each and every single chart available in xChart.

I will admit that parts of the demo program could be made slightly simpler to follow (code wise) and understand for beginners. But saying that Klaus, when broken down and read very carefully, the demo app is actually quite straight forward to follow as you've kindly included comments wherever applicable which is excellent.

I personally think that if B4X developers already know what sort of chart they need, then that's half the battle won when using xChart.
 
Top