B4J Tutorials

Non-UI Applications

B4J currently supports two types of applications: UI applications (based on JavaFX) and Non-UI applications.

Non-UI applications are standard Java applications. Usually the input to such...
 

Attachments

  • curl.zip
    2.8 KB · Views: 1,341
Last edited:

UI App (JavaFX) Tutorial

When you create a new UI project, the project starts with a single code module with the following code:
B4X:
#Region  Project Attributes
   #MainFormWidth: 500
   #MainFormHeight: 500
#End Region...
 
Last edited:

[ABMaterial] DateTimePicker Extented for Weeks (1.20)

The ABMDateTimePicker has, next to date and time selection now also week selection. I've searched some time to find a good one, but didn't so I decided to write it myself. Looks like a great...
 

[Server] Google Charts service

Attachments

  • google_charts.zip
    2 KB · Views: 1,052

[ABMaterial] Add “root filter” to redirect visitors to site entry page

The common entry point for a ABMaterial webapp is the “Application Name” page or AppName in the code.

When you visit ABMaterial.com, the site redirects you to the entry page named “demo”...
 

Attachments

  • RootFilter.bas
    401 bytes · Views: 482
Last edited:

[ABMaterial] Version 2.0 ABMParallax

The views below are shown as phone portrait size ( < 600px )

Prior to 2.0





Version 2.0






B4X:
Sub ConnectPage()
  
    ABMShared.ConnectNavigationBar2(page...
 
Last edited:

[IoT] Web Server Performance: Raspberry Pi 2 vs. Intel Edison vs. BeagleBone Black

I ran some tests to check how these boards perform as web servers.

The tests were similar to the tests done here and here.

Data was read and written to a SQLite database in wal mode...
 

[B4X] Custom Views with Enhanced Designer Support



Custom views are implemented as B4X classes or in a library.
A custom view includes a set of properties that can be set...
 

Attachments

  • BADoclet.zip
    9.4 KB · Views: 2,160
  • B4J_Example.zip
    8.9 KB · Views: 2,137
  • B4A_ViewsEx_Src.zip
    2.5 KB · Views: 2,523
  • B4i_iUI8.zip
    44.2 KB · Views: 1,457
  • B4J_ControlsFX_SRC.zip
    16.2 KB · Views: 1,822
Last edited:

Tutorial - Run B4J webserver on VPS

Before you use this tutorial

  1. You need to know how to compile JRDC 2 jar file. Kindly Search the forum.
  2. You should have installed openjdk or oracle jdk in your server. For more...
 

[ABMaterial] My take on the Grid

Hi there

Ok, I'm just a newbie when it comes to ABMaterial, my fourth week now. It's been a wonderful journey and very interesting too.

For a while now I have been struggling to understand the...
 

[ABMaterial] events trigger

Hello,

I don't know if I am handling it the right way.
I have I ABmaterial app running on my RPI.
Now in the main, I have a serial connection with a device that get counters every 60 seconds.
It...
 

[ABMaterial] GoogleMaps - GeoZones

ABMaterial includes the GoogleMap object (class - API exposure) to allow us to do some interesting tasks. The basics are now supported but I am sure it will expand in the future. I have...
 
Last edited:

[ABMaterial] Photo Viewer

In keeping with the PDF viewer layout, I created this page.

Driver Photos

Pictures are taken on the device at certain times (like when the Drive Screen pops up).
These are to show if the driver...
 

Java Security

In the last years there were many reports in the media about Java security. All these security issues are related to vulnerabilities that allow the process to exit the sandbox boundaries.

These...
 

[ABMaterial] Calling MySQL PHP scripts with OkHttp

Wow...

In my quest to replicate my android app to ABMaterial framework, just managed to execute my php scripts that access mysql db directly from my experiment web app.

Check this out......
 

SQL Tutorial

B4J jSQL library is similar to Basic4android SQL library.

This tutorial will cover the differences between the two libraries. You can read more about the library methods here...
 
Last edited:

[Pen&Paper] with Source Code Preview

Hi there

I have been working on a helper tool for ABMaterial as discussed in this post.

One of the most amazing feautures that have been added now is the ability to see the source code...
 

Attachments

  • PreviewSourceCode.png
    21.8 KB · Views: 614
  • PreviewSourceCode1.png
    54.2 KB · Views: 604
  • ImageSlider.png
    70.2 KB · Views: 672
  • AddImagSlider2.png
    24.6 KB · Views: 568
Last edited:

[server] Http/2 Configuration

Attachments

  • Http2.zip
    1.3 KB · Views: 1,121
Last edited:

[ABMaterial] 2.0 introducing B4JS

This post is no longer valid! B4JS has been rewritten from the ground up and will first introduced in In ABM 4.25. Stay tuned......
 
Last edited:

[RPI] DS18b20 Temp. Sensor HowTo

Hello,

today i will share my Experience with the DS 18B20 Temperature Sensor.
The first step is to prepare the Raspberry PI.
edit the file:
B4X:
sudo nano /boot/config.txt

insert the following...
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…