Android Tutorial [B4X] Projects Templates


Staff member
Licensed User
This is a new feature. It is included in B4J v8.50 and B4i v6.80 (betas) and will be included in the next versions of B4A and B4R.


This is a very simple and useful feature. When you create a new project, the project is created based on the chosen template.
It is especially important for cross platform projects where a new project actually creates three platform specific projects, with the recommended structure and shared code.

The templates are simple zip files, with the b4xtemplate extension. The template files should be located in the internal or additional libraries folders.
Files with $APPNAME$ in their name will be replaced with the project name.

Refreshing the list of libraries will also refresh the list of templates.

Two templates files are attached as examples. These are internal templates and are preinstalled with the IDE.