B4J Tutorials

USB Serial Port + AsyncStreams + B4XBytesBuilder

Attached project code:
B4X:
#Region Project Attributes
    #MainFormWidth: 600
    #MainFormHeight: 600
#End Region

Sub Process_Globals
    Private fx As JFX
    Private MainForm As Form...
 

Attachments

  • Serial_Test.zip
    2.6 KB · Views: 325
  • Arduino_Serial_Test.zip
    554 bytes · Views: 262

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

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

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

[server] jOkHttpUtils2 - server version

OkHttpUtils2 methods are designed to be called on the main thread. This is the case in all platforms and configurations, except of B4J server solutions.

Starting from jOkHttpUtils2 v2.95 it is...
 
Last edited:

B4J Server: Requesting and Installing SSL Certificate

I thought I would share how I requested and installed a SSL certificate for my B4J server.

In my case I used namecheap.com to purchase a $9 SSL certificate. I already had a domain name and a...
 
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] 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:

[SOLVED][ABMaterial/BANano] BANano Libraries for ABMaterial - How to change Library Properties?

Hi Alain,

When "creating" custom libraries in B4X one can introduce a few properties, like Author, Version etc....
I tried using those properties, but it has no effect in the lib, I'm guessing...
 

[SOLVED][ABMaterial/BANano] BANano Libraries for ABMaterial - ID not found

So...

I wanted to test the new feature of creating BaNano libs to use with ABMaterial...
I basically copied the hover example as it was what I needed for time being, and followed the...
 

MonoBuilder - Compile B4J programs on Linux or Mac

Don't use this builder. It is no longer maintained.

Mono is a Mac / Linux port of .Net Framework: http://www.mono-project.com/

Using Mono it is possible use B4JBuilder, the command...
 
Last edited:

[BANano] Beginning Firebase Messaging

Ola

For the past 3 days, I've been trying to make this work. Eish. This is the implementation so far. We are not there yet.

1. You need a service worker file. We will create this after...
 
Last edited:

[BANano] [SOLVED] What is the right way to use BANano.WaitFor?

Last edited:

Controlling Sonoff S20 smart power plugs [B4X] [Home Automation]

Hi gang,

Here's how I got the Sonoff S20 to work with B4X. As the standard firmware doesn't come with an API and I wasn't successful trying to translate pySONOFF to B4X, I went down...
 

Attachments

  • SonoffS20demo_B4A.zip
    10.9 KB · Views: 488
  • SonoffS20demo_B4J.zip
    3.7 KB · Views: 451
  • SonoffS20demoNonUI_B4J.zip
    1.2 KB · Views: 424
Last edited:

[MQTT - Message Queuing Telemetry Transport] A For Dummies Experience on MS Windows

Ola

My first steps towards IoT.

1. Download Eclipse Mosquitto
2. There are a lot of examples in the forum about coding this, however I needed a GUI tool to first experiment with this. A...
 

[BANano] Authentication to a B4J server (REST API)

Here is an example on how to connect with a Jetty B4J server. The example shows how you could use the B4J server to login/logoff and run a basic REST API call.

The project zip file is in post #3...
 
Last edited:

[ABMaterial] Since Feedback is still down... I have a "wish"/question to make....

Hi guys...

Well, this goes straight to @alwaysbusy ...

Is it possible to still have a left aligned container in the Navigationbar WITHOUT havins any sidebar items?
If YES, please explain...
 

[ABMaterial] Making Responsive Apps - please contribute your expertise!

Responsive ABMaterial Design - Making this a Reality!

ABM is great for easily making world class web apps - particularly for the desktop (big screens).
That being said, we...
 
Last edited:

B4X Turtle - Planet Orbits

Very very rough (and code not optimized at all)....planets in orbit around the sun:
1. Assumed all orbits are circular
2. Have not scaled the orbits (else I will run out of UI space)
3. Have not...
 

Attachments

  • TurtelPlanets.zip
    70.2 KB · Views: 258

Building a mini "Email based server"

This example uses jNet library together with the MailParser module to build a program that responds to emails.

SS-2013-11-27_10.48.58.png


Although...
 

Attachments

  • EmailServer.zip
    3.5 KB · Views: 1,975
Top