B4J Tutorials

[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)...
 

[Web][SithasoDaisy] Exploring Web Service Workers aka BANano Background Workers

[BANano] Events

BANano has a simple system to use events:

HandleEvents: does the same as On, BUT prevents the default behaviour
On
: handles one or more events
Off: disables an event

To explain...
 

💡 [B4X] [XUI] [B4XPages] Using B4J public internet IP address to create a BASIC weather app - Newer developers

Hello All
Here we have an simple example on how you use your desktop OS (in this example Windows) and public internet IP address in conjunction with OpenWeather API, this is just a simple example...
 
Last edited:

Microsoft change to User Document Directory

Last edited:

jRDC2 - B4J implementation of RDC using JDBC microsoft

I used the example that Erel published to create my application and connect it to a server database microsft sql server 2008, in principle I used the odbc open source of JTDS but I had...
 

[Web][SithasoIONIC7] Adding RTL (Right to Left) Support for your apps

Hi Fam

Let's add RTL (Right to Left) support for our app, so that is looks like this.

SithasoIONIC7RTL.png


In pgInitialize

B4X:
Sub Initialize
    'initialize the app, show ios mode...
 

Beginning JQuery Mobile with OneEvery

Well, this is a proof of concept, nothing fancy...

OneEveryJQM.gif


The idea behind OneEvery is to explore JavaScript frameworks for developing websites/webapps. Whilst the Bootstrap exploration is...
 
Last edited:

Java to the rescue: Creating a B4x app to help me beef up my library documentation

Ola

After some manual work on trying to document my BANanoVueMaterial library, I realized that I could do this better and also in a less error prone matter.

What is the problem?

I need to...
 

Attachments

  • PrismCoder.zip
    3.9 KB · Views: 262

[ABMaterial] and Chartist (charts)

Visualizing data can be accomplished in many ways.
Here, we are using a chart to graphically depict two elements of a larger dataset - Speed and RPM of a vehicle.

Initially, I tried to store...
 

[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
...
 

B4J-Bridge dockerimage

[B4x][PHP/HTML/JS]PHP/HTML/JS OTP: Create OTP credentials & show a QR-Code which can be scanned/used with Authenticator apps

Here's an PHP/HTML example:

- create OTP credentials (including Base32 encoding)
- show a html page with these credentials and a generated QR-Code
- this code can be scanned and used with all...
 

Attachments

  • AuthenticatorPHP.zip
    95.7 KB · Views: 274

[MakeB4XLib] An application for creating a .b4xlib type library.

Hello,
Seminar on the MakeB4XLib application version 1.7,
which is a tool for creating libraries of the "B4X Library (.b4xlib)" type.

In this seminar I will...
 

Attachments

  • B4XPasswordGen v.1.01.zip
    1.2 KB · Views: 126
Last edited:

[ABMaterial] Star Rating ABMCustomComponent

Michał asked me in the feedback app to implement some kind of Star Rating component. As this is not so commonly needed, I thought this could be another good example of an ABMCustomComponent...
 

My struggle and win with Advance Project Management of Saif

Hi Members,

Warning: This a first post I have written so long that it may cure insomnia of members. I tagged this post as tutorial as it has guidance for solving errors as I found.

First I will...
 

[B4x]Padding/depadding PKCS7/5 and other

EDIT: If the message length is equal to the pad length, you have to pad to the next multiple. E.g. 16 bytes would be padded to 32 because one would not know how long the message was because the...
 
Last edited:

Using Sql Server 2008 with Advance Project Management of Saif

Hi Members.

This is continuation of below post

Trying to restore the given...
 

Attachments

  • b4jpm_tables_2008_r2.sql.txt
    4.1 KB · Views: 243

SithasoDaisy - Drawer Item Management - Conditional Visibility

Ola

1686400913505.png


The issue of drawer item visibility becomes interesting when you want to control which drawer items should be visible or not depending on user group permissions.
As an example...
 

[BANanoWebix] Lesson 21 TabBar

Ola

The tab-bar as depicted below is placed at the bottom of the page...

B4X:
Dim tb As WixTabBar

    tb.Initialize("tb").SetHeight(60).SetTypeBottom(True).SetMultiView(True).SetAnimate(True)...
 
Top