B4J Tutorials

💡 [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:

💡 [B4X] [XUI] [B4XPages] Simple B4J stock ticker app code using JSON REST API - Newer developers

Hello to you all,
Here is a simple example on retrieving data from a REST API requested using the JSON Generator (you could also use http URL download), the same JSON library is also used to parse...
 
Last edited:

💡 [B4X] [XUI] [B4XPages] B4J recreating Google Trends results with xCharts - Newer developers

Hello to you all,
Here is an extremely simple example on how to easily recreate Google Trends results using B4XPages with B4j and the xChart library. In this example I used Google...
 
Last edited:

💡 [B4X] [XUI] [B4XPages] B4J PreoptimizedCLV lazy loading from SQLite and CSV - Newer developers

Hello to you all,
Welcome to Sheldon Coopers and Amy Farrah Fowlers fun with flags ;)

Here is a simple example on using B4XPages with both an SQLite database and also a CSV file with multiple...
 
Last edited:

💡 [B4X] [XUI] [B4XPages] B4J 'Erel Says' hand, eye memory game - Newer developers

Hello to you all,
I decided to recreate this simple but effective game example, the game is based on the B4XPages library. The game is designed for hand, eye and memory coordination, so I called...
 

💡 Tic-Tac-Toe. Simple XUI cross platform WiFi game example B4J vs B4A vs B4i - Newer developers

Hello fellow B4X developers.
Here is my example of using a broadcast address to automatically find another devices IP address on a network, then to use that IP address to play a game (in this case...
 
Last edited:

💡 Printing on A4 and Letter sized paper

Hello all,
As the title say, this is a quick tutorial on how to print on A4 or Letter sized paper using the follow information provided by Steve Laming (better known as @stevel05)...
 

Attachments

  • Print on Letter.pdf
    49.9 KB · Views: 525
  • Pint on A4.pdf
    51.2 KB · Views: 772
  • PrintA4Letter.zip
    69 KB · Views: 858
Last edited:

💡 JDBCSQL Connector/J - Connect directly to MySQL, MSSQL, PostgreSQL, MariaDB and Oracle databases

Hello fellow B4X'ers,
Here is some example code for connecting your B4J projects to 5 different types of database engines, this tutorial is for learning purposes only and nothing else...
 

Attachments

  • Database4ConnectionTypes.zip
    1.6 KB · Views: 2,108
  • Database5ConnectionTypes.zip
    1.6 KB · Views: 2,432
Last edited:

💡 CID (Caller ID) - View incoming call details using your COM port modem

Hello All,
After looking on the forum and finding basically nothing regarding using B4J for CID (Caller ID) via home or basic business phone lines, I took out my V.92 USB modem and created this...
 
Last edited:

[XLUtils] Writing Excel Workbooks

Attachments

  • Products.zip
    2 KB · Views: 639
Last edited:

[XLUtils] Word document with 200 charts

Hia9Rx1McN.gif


This example visualizes the data from: https://ourworldindata.org/coronavirus-source-data
As the CSV data is quite large, a...
 

Attachments

  • 1.zip
    79.4 KB · Views: 359

[XLUtils] Word - bookmarks, urls and page breaks

1624261177989.png


XLUtils v2.02 adds support for urls, bookmarks and page breaks.

A paragraph tag with the PageBreak attribute will start on a new page.
B4X:
$"[p PageBreak=True]This will appear...
 

Attachments

  • WordExample.zip
    16.5 KB · Views: 332

[XLUtils] Templates and Charts

Creating new workbooks based on existing workbooks saves a lot of work and also allows adding features that are not directly available in POI / XLUtils, such as charts.
Templates are regular...
 

Attachments

  • Project.zip
    19.6 KB · Views: 426

[XLUtils] Reading and writing example

You are probably familiar with the online libraries index.
The table has a column for each of the platforms. This structure is useful as there are many cross platform libraries.

The task...
 

Attachments

  • LibrariesSplitter.zip
    88.4 KB · Views: 351
Last edited:

[XLUtils] Hyperlinks and Outlining / Grouping

XLUtils v1.03 adds support for grouping rows and columns and for adding links.

1620140576016.png


Grouping is done with XLSheetWriter.GroupRows / Columns.
By default the expand button is positioned at...
 

Attachments

  • CovidDataOutlining.zip
    9.9 KB · Views: 320
Last edited:

[XLUtils] Generate PDF reports

1622119459289.png


XLUtils v1.13 adds support for converting workbooks to PDF. This is a Windows only feature and it relies on Excel being installed on the computer.

Exporting to PDF is a matter of...
 

Attachments

  • Project.zip
    20.6 KB · Views: 645
Last edited:

[XLUtils] Creating Tables

1620565159754.png


Tabular data can be converted to a Table object. Excel provides all kinds of nice features related to tables...
 

Attachments

  • Table.zip
    1.6 KB · Views: 451

[XLUtils] Creating MS Word Documents

1623939091609.png


XLUtils v2.00 adds support for creating MS Word documents, and converting Word documents to PDF.
It is done in a similar way to BCTextEngine, using custom BBCode. This works...
 

Attachments

  • WordExample.zip
    16 KB · Views: 586
Last edited:

[XLUtils] Conditional formatting

XLUtils v1.05 adds support for conditional formatting.

1620309169007.png


A conditional formatting element is made of the applied range and one or more rules. A rule is made of a formula and...
 

Attachments

  • ConditionalFormatting.zip
    1.8 KB · Views: 287
Last edited:

[Web][SithasoKITT] - Voice Command for your Web Applications

Hi Fam

R.jpg


If you grew up in my days, you will recognize this car. KITT, Michael Knights pride. A car that could talk and do wonders!!! Anyway...

SithasoKITT is just a simple wrap of...
 

Attachments

  • SithasoKITT.bas
    5.1 KB · Views: 30
Last edited:
Top