B4J Tutorials

My B4J Packager - an extended version

This "My B4J Packager" started as the B4Jpackager provided by Erel. I have added the text entry fields for the extra things like, Menu Group, JavaVM Options (to set memory requirements)...
 

Attachments

  • MyB4JPackager v2-01.zip
    8.5 KB · Views: 333
Last edited:

Easier SQL Inserts

A standard SQL insert in B4J may look something like this:

B4X:
 Dim InsertCustomerSQL As StringBuilder
   Dim InsertValues As List
   Dim InsertID As Long
   Dim RS As ResultSet...
 

Attachments

  • EZSQLInsert.zip
    66.1 KB · Views: 387

TwitterZapier Library Tutorial

Hi,

As I wanted to post messages to Twitter within my B4J app I couldn't find any Twitter library's (or code) to use with B4J, so I created this small library to allow me to tweet messages to...
 

Attachments

  • upload_2018-7-21_19-26-5.png
    upload_2018-7-21_19-26-5.png
    99.9 KB · Views: 293
  • upload_2018-7-21_19-31-20.png
    upload_2018-7-21_19-31-20.png
    38.3 KB · Views: 294
Last edited:

[ABMaterial] Package your WebApp with InnoSetup

Ola

Well, this is not related to ABM per se, but due to the fact that I wanted to package an ABM app for distribution for users to use in in their computers without the need of an internet...
 

[B4X] [BitmapCreator] Creating a cross platform Tetris game

Attachments

  • B4A_Tetris.zip
    184.6 KB · Views: 1,035
  • B4i_Tetris.zip
    285.5 KB · Views: 750
  • B4J_Tetris.zip
    177.1 KB · Views: 953
Last edited:

[ABMaterial]: Me like Donuts

Ola

So me runs into this nice charting library, morris chart. Me see a nice donut. Me likes donut.

Donut.gif


Their examples are quite nice and straight forward and easy to implement...
 
Last edited:

[ABMaterial]: How to fit ABMGoogleMap to RC with SetFixedHeightFromBottom?

Ola...

I have created an RC(2,1) and page.Cell(2,1).SetFixedHeightFromBottom(20, False)

The height of my ABMGoogleMap is 500 (int) however I want it to fit the whole RC, taking the whole page...
 

[ABMaterial] Creating a color grid container

Ola

ColorGrid.png


Some thoughts are running in my head about implementing this for my color coded events management. So we have 21 colors. So me thinks a 7 row, 3 columns grid will do.

B4X:
Sub...
 

[SERVER] Valid SSL certificate for localhost for your development machine

So I was intrigued that I couldn't have a valid ssl cert for localhost so what I did might be useful to someone:

--- THIS IS DONE IN LINUX ---

1. Generate a RSA-2048 key and save it to a file...
 

[server] Conscrypt and Http/2

Last edited:

Raspberry Pi B4J UI Applications with Liberica JDK

Tutorial Raspberry Pi B4J UI Applications with Liberica JDK v20180513

Objectives
To build B4J UI applications, using the Liberica JDK10, running on the Raspberry Pi.
This tutorial covers...
 

Attachments

  • B4JHowToRPiLiberica.zip
    189.4 KB · Views: 736
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...
 

LogServer sending complex data

Data from classes, types or any other object can be sent as a message to LogServer by writing a Sub to format the data in an easily readable manner.

The example app (B4j) shows this, and...
 

Attachments

  • LoggingTypes.zip
    7.3 KB · Views: 305

Logserver using in multiple modules / classes.

LogServer can only accept one connection at a time, therefore we should not initialize the LogServerClient multiple times to access it from different classes / modules.

Instead, declare it...
 

Fix trails when moving Nodes

Hello,

If youre creating apps that work with moving nodes (in my case D'n'D), you may als have seen that moving nodes sometimes results in ugly trails on the Parent Pane.

Heres how to fix that...
 

[ABMaterial] Text2Speech

Ola

Been looking for this like forever...

Usage:

B4X:
MashSpeak(page,"I have been developing A.B.M. web apps for a while now. It's an enjoyable experience.",0.7)

B4X:
Sub MashSpeak(pg As...
 
Last edited:

[ABMaterial]: Let's glow some birds

Ola

Well, it will take a while for me to 'canvas' everything. Found a nice snippet in CodePen, lovely thing I must say. So I'm thinking, an ABM screensaver!!!

After some exploring (still doing...
 

Attachments

  • MashGlowingBirds.bas
    11.4 KB · Views: 341

[ABMaterial] Opening your app inside B4A WebView

Well

My intention was to have an Android Play Store for my ABM app. I needed my app to remember the login details, meaning that it needs to access localstorage.

Thing is, local storage is not...
 

[ABMaterial] Creating the diagram..

Ola

For a while I've been thinking about this. I wanted to use a custom component that I could run inside ABM to try and explain my follow up post on Harri's thread. The discussion has been about...
 

Attachments

  • MashSimpleDiagram.bas
    9.4 KB · Views: 425
Last edited:

[ABMaterial] [SOLVED] How to set a default date to be blank?

Hi there

Is it possible to set the default date to be blank / no date for the ABMDatePicker control?

Thanks
 
Top