B4J Tutorials

TableView Tutorial

TableView is useful to show data in a tabular view.

The data is held in a List. Each item in this list is an array of objects. The length of each array equals to the number of colums.

For...
 

Attachments

  • TableExample.zip
    2.8 KB · Views: 3,874
Last edited:

2 Tips: Animated Gifs and ListView items size

Two tips learned while developing a custom SDK manager for B4A:

SS-2017-05-29_15.47.14.png


1. I wanted to show an animated indicator while...
 

[ABMaterial] 1.09 Localization using dynamic pages

This is the second part of the tutorial on some big changes I'm making to ABMaterial in 1.09. It should be fully backwards compatible so no (or very, very little) changes will be needed from your...
 

Designer Menu Items

Menus in the internal designer are declared as JSON strings.

If you have never worked with the JSON format then it is a good time to learn this format. It is simple and very popular. Short...
 
Last edited:

B4LinuxInstall script to use B4X tools in linux

This is a Bash shell script that allows installing B4J and B4A in linux systems, along with their required dependencies. It is very functional. But for now only Ubuntu is fully...
 
Last edited:

Mix text and icon on button and other nodes

Hello!

Just recently a customer told me that my app was... boring... that it lacked some images, so after crying out loud i remember that we can put icons but i still needed the text.

so... Ta...
 

[ABMaterial]Raspberry Pi Switch LED

Sharing my experience in building my first ABMaterial WebApp running on a Raspberry Pi (RPi).
Note: any hints on improvements appreciated ;)

Objective

ABMaterial Learning...
 
Last edited:

Beginning SQL Queries with SQLite Visually - Part 1

Hello there

As I'm doing a lot of db based apps, whilst there are a variety of visual query generators out there, I decided to start my own as part of this RAD tooling thing I do.

Anyway here is...
 

Attachments

  • jQueryBuilder.zip
    61.7 KB · Views: 521
Last edited:

[ABMaterial] Enabling Users to get their lost passwords via email

Hi there...

I wanted users to be able to get their lost passwords via email. This does not reset their passwords but just sends them their passwords to their registered email addresses.

To...
 

[ABMaterial] Creating a Contact Us form that will send an email

Hi again..

I wanted to create a Contact Us form that will send an email to a specified recipient using stored SMTP details. After designing my form, I had something like this to go with.

Related...
 

Attachments

  • frmContactUs.bas
    19.7 KB · Views: 793

B4J Arduino Demo

Here's a really simple demonstration of connecting an Arduino Uno to an app written in B4J.

You will need to modify the code around line 25 to reflect the correct COM Port that your Arduino is...
 

Attachments

  • B4J_Arduino_V2.zip
    1.5 KB · Views: 1,131
Last edited:

Application protection

This is at present a proof of concept, but does allow applications written in B4J to be protected.

It relies on my Nashorn library.

The way it works is as follows:

The B4J application pulls in...
 

[ABMaterial] Creating Dynamic Legend specific Calendar Events at runtime

Hi there...

Well, this is just my approach of how I have developed my dynamic calendar with calendar events being loaded from a database. This is what I wanted to achieve...

1. Each...
 

[ABMaterial] Msgbox and InputBox (2.51)

Sometimes you just need to show a quick msgbox or a single field inputbox to the user. In ABMaterial you can build some quick modal sheets to do this. But in 2.51 I've integrated the possibility...
 

[ABMaterial] Extend the Navigation top Bar (3.02)

In the ABMaterial 3.02 Maintenance Update there will, next to bug fixes, also be introduced something new: you'll be able to extend the Navigation TopBar!

1. Add extra content under the default...
 
Last edited:

[ABMaterial] Creating Dynamic Charts from Database Records At Runtime

Attachments

  • SyncfusionChart.bas
    10.9 KB · Views: 810
  • ej.theme.min.zip
    33.3 KB · Views: 769

Unhandled exceptions

Unhandled exceptions are exceptions that were thrown outside of Try / Catch blocks. Such exceptions cause the process to exit in all cases except of server applications.

Starting from B4J v5.0 it...
 

Pagination Container

pagination.gif


The Pagination container (added in B4J v5.0) is similar to TabPane and Accordion. It holds one or more pages. Each page is created from a layout file.

B4X:
Sub AppStart (Form1 As...
 

Attachments

  • PaginationExample.zip
    5.1 KB · Views: 1,722

How to "Collapse All" with a single key

How to "Collapse All" with a single key

While developing pages for ABMaterial, I frequently use Edit->Outlining->Collapse All to condense the source and navigate between sections...
 
Last edited:

[ABMaterial] How to XAMPP & Access your webapps via WIFI

Hi there...

This is not ABMaterial related, however I wanted to run my ABMaterial WebApp from my local internet connection via WIFI, so here we go.

Well, install XAMP, you can get a copy...
 
Last edited:
Top