B4J Tutorials

[server] Background Workers

Print with PrintHtml tool

PrintHtml is a small Windows utility that you can use to print from your app.

First you should download PrintHtml.exe and also the DHTML Editing Control...
 

Attachments

  • Print.zip
    1.4 KB · Views: 2,254

Generate Word document and save as PDF from B4J via VBS-script

This one generates a Word document (you need to have Word installed!) and saves it as a PDF (for other formats just change the vbs-script)

To start see here...
 

Execute Windows VBS-Scripts from B4J

I needed to read the remaining battery charge from my laptop acting as a server to give an alert if the charge is under xx %. There are a lot of examples to use a vbs-script to gather this...
 

Android2ABMaterial: A Personal Experiment

Hi

Well, as a newbie to the ABMaterial framework, about a month and a couple of days now, I decided to take a journey to see if I can create a webapp using the ABMaterial framework. This app...
 
Last edited:

[Pen&Paper] How I created my first ABMaterial WebApp without writing any code

Attachments

  • lfjss.pdf
    48.1 KB · Views: 667
Last edited:

[ABMaterial] Google Chatrs

Hi ,
there is a way to load a google chart engine into abmaterial?
i have used this in websocket event but with no success.
B4X:
ws.Eval( "$('head').append('<script type=text/javascript...
 

Using CustomBuildAction to your advantage

2016-11-11-08_20_18-compile-build_-default-png.49919


CustomBuildAction is a powerful ally.

Generally to do anything useful you need to call a...
 

Attachments

  • Demo.zip
    1.5 KB · Views: 641
  • 2016-11-11 08_20_18-Compile (Build_ Default).png
    2016-11-11 08_20_18-Compile (Build_ Default).png
    13.8 KB · Views: 1,407

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,595
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,268

[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: 694
Last edited:

[ABMaterial] Version 2.0 ABMParallax

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

Prior to 2.0


TripInspect_oldpx.jpg



Version 2.0



TripInspect_newpx.jpg



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

SS-2016-01-14_16.16.18.png


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,535
  • B4J_Example.zip
    8.9 KB · Views: 2,507
  • B4A_ViewsEx_Src.zip
    2.5 KB · Views: 2,925
  • B4i_iUI8.zip
    44.2 KB · Views: 1,812
  • B4J_ControlsFX_SRC.zip
    16.2 KB · Views: 2,170
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:
Top