B4J Tutorials

B4J Beginner's Guide

This guide is obsolete ! It is no more updated.
Please use the B4X Booklets.


Here is a Beginner's Guide in pdf format.
The source code for the example programs is included.

All...
 
Last edited:

[ABMaterial] How to implement a library version lock

Starting with ABMaterial v2.50, there are two version fields in the ABM object. The first reports the version of the library while a second includes the version number in the name.

For...
 
Last edited:

[ABMaterial] Start ABMGridBuilder without the console window

To launch the ABMGridBuilder without the lingering console window simply change the respective .BAT like so:

start.bat
B4X:
start "" javaw -jar -Dprism.order=sw ABMGridBuilder.jar
...
 

[ABMaterial] Simplify starting the server

Here's how you can simplify the server startup method in ABMApplication.bas by converting StartServer() to a shim.
B4X:
public Sub StartServer(srvr As Server, srvrName As String, srvrPort As Int)...
 

[ABMaterial] 6 new loading/pause animations (2.50)

I had the question a couple of times to make some more animations (like the spinning circles) available for when the page is loading, or when the app is paused. So here they are:

JUMPINGBALL...
 
Last edited:

[WebApp] Understanding the browser and optimizing the frontend

In my morning readings i came across an interesting and very well explained tutorial on how the browser works and how can we optimize the payload that the server sends to the browser.

You can...
 

[ABMaterial] Creating Dynamic ABMSideBarItems from Database Records At Runtime

Hi there

At times, you might be faced with creating dynamic ABMSideBarItems items from your pages from existing DB records. This was a challenge I was faced with in my current project. So sitting...
 

[ABMaterial] New: add badge to NavigationBar top items icon (2.51)

Top items WITH an icon in the NavigationBar can show a little 'ios' badge with e.g. a number of unread messages.
Note: you can only start using them AFTER page.FinishedLoading!

Example...
 

[ABMaterial] New ABMPlanner and ABMPercentSlider (2.50)

A friend of mine, who is a doctor, wanted me to write a scheduling webapp. He had some perticular requests:

1. You should be able to schedule per 5 minutes
2. But still need to be able to see...
 

TabPane Example

SS-2016-01-07_08.27.05.png


The TabPane container allows the user to switch between different tab pages.

Working with TabPane is similar to working...
 

Attachments

  • TabPane.zip
    6.8 KB · Views: 1,853
Last edited:

Creating Excel Reports with jPOI - Part II

Report Pivot Table - Pivot Chart
Here in the part II of the tutorial I will present a solution including Pivot table and Pivot chart.

The attached screen shot - pivotcharttemplate.png -...
 

Creating Excel Reports with jPOI - Part I

This tutorial should be viewed as an additional resource to the already published tutorials by Erel.

Introduction
The real power for using MS Excel workbooks as reports lays in the fact...
 
Last edited:

JVM Memory Settings, this may help you

Hi All

I came across this, might be help to users who are not well versed in area.

http://jvmmemory.com/

Regards

John

p.s @Erel this might be a good sticky post :)
 

Floating ContextMenu using jNativeHookB4j

This is an example of using @Roycefer 's jNativeHook to monitor all mouse events, even outside of the current app. It uses a ContextMenu to replicate the right click functionality. Default...
 

Attachments

  • FloatingContextMenu-0-7.zip
    7.1 KB · Views: 482
  • cmenu.css.zip
    1 KB · Views: 476
  • FloatingContextMenu-0-8-6.zip
    10.3 KB · Views: 528
  • Test - cmenu.css.zip
    1 KB · Views: 450
  • FCMTest1.zip
    10.3 KB · Views: 456
Last edited:

[ABMaterial] Downloading a file from the server. My example

Hello.

Sorry for my English.

I've been struggling with the problem of sending any file from the server to the client from the ABMaterial. In the end, I did it and it works. It may be useful to...
 

[ABMaterial] Firebase Auth for Users in 1.20

Last edited:

[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,867
Top