B4J Tutorials

[RPi Model 3] Sunfounder Super Kit v2.0

I have just purchased this kit and have started to go through the examples. In an effort to help others like me with little or no knowledge of how to port the examples to B4J, I thought it might...
 
Last edited:

[NOT YET A TUTORIAL] How to set up and run your B4J based RDC server from SCRATCH

Hi Guys...

So, This hopefully will become a tutorial about how to set up and run your B4J based RDC server on your vps...
This tutorial is aimed at those that, like me, take their very first...
 
Last edited:

[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: 1,873

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: 411
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: 339
  • 2016-11-11 08_20_18-Compile (Build_ Default).png
    2016-11-11 08_20_18-Compile (Build_ Default).png
    13.8 KB · Views: 910

[ABMaterial] ABMNavigationBar changes in 1.08

I'm writing the last changes on v1.08. Still have to do some cleanup and updating the demo, but the release is near... :)

I got a couple of requests for the Navigation Bar since the first...
 

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,213
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: 971

[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: 385
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,021
  • B4J_Example.zip
    8.9 KB · Views: 2,018
  • B4A_ViewsEx_Src.zip
    2.5 KB · Views: 2,387
  • B4i_iUI8.zip
    44.2 KB · Views: 1,333
  • B4J_ControlsFX_SRC.zip
    16.2 KB · Views: 1,707
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...
 
Top