B4J Tutorials

[IoT][ESP8266]B4J/B4A/B4i & ESP8266 Basic: Example thread

What is a ESP8266?

It's a small Basic programmabe microcontroller with Wifi, TCP/IP stack plus server, GPIO's and... it's unbelievable cheap. For about 3€ you get it as a bulk version which you...
 
Last edited:

[server] Automatic Reconnecting WebSocket

When working with WebSocket handlers the client maintains an online connection. The connection is expected to be kept alive for as long as needed.

However there are cases where the connection can...
 

Attachments

  • GuessMyNumberWithReconnection.zip
    9.4 KB · Views: 1,357

[Server] Building web servers with B4J

Attachments

  • ServerHelloWorld.zip
    79.8 KB · Views: 6,443
Last edited:

B4A, B4i, B4J and B4r API documentation - B4X Object Browser

[ABMaterial] CRUD generation, the next step in 1.09

I added a couple of new methods to the CRUD generator that allows code generation for an overview (similar to what you see in this feedback app):

B4X:
' some new properties...
 
Last edited:

Compile non-ui, but don't run it yet

Building a headless app that I will wrap into an exe and run as a service, all is well compiling in debug mode, but when switching to release I want to compile to .jar but NOT run it. Workaround...
 

[ABMaterial] new component ABMTimeLine 1.09

ABMTimeline is a component to present a time line of events. Using the ABMTimeLineElement you can create events, with some assets like images.

Update: Ignore this, I've found a more recent...
 
Last edited:

[ABMaterial] Inline table editing

I've had some questions about inline editing of tables in ABMaterial. There is one way to do this, however it has its limitations and will only work in certain cases. It only works for 'String'...
 
Last edited:

Creating push-enabled android-apps on blackberry

I would like to share my experience with creating push-enabled android-apps for blackberry-devices. Many thanks to Erel, who supports my efforts decisively.

I have tried a lot of things to enable...
 

Attachments

  • BlackberryPushServercode.zip
    4.5 KB · Views: 306
Last edited:

[IoT] Configure Raspberry without keyboard/WiFi at the start

It's not directly related to B4J but I find it very useful for new RaspBerry owners.

Just installed my 3rd RaspBerry. The ones I have are controlled via Putty (remote) so no keyboard is needed...
 

[IoT] Raspberry: Use a IDE/SATA hd/ssd

Using a Raspberry to handle a lot of data will definetly corrupt/destroy the SD card after a while (e.g. if you use it as a webserver). SD cards are slow (in comparison to a hd or sdd). The best...
 

Dump/zip/FTP-Upload a MySQL-DB

I use some Windows *.bat files to do backups, etc. Some things are quite difficult or crap to do (like error handling, messaging, etc.) so I decided to convert one of my scripts to a non-ui B4J...
 

[Server] Screen Capture & FTP

Last edited:

[Server] Screen capture server

This is a simple server that takes a screenshot of the current desktop screen and returns the image as the response.

For example if you call it from the device browser:

upload_2014-1-30_16-26-52.png


The handler...
 

[ABMaterial] One Page, Many Uses

TripInspect.png


This example uses one ABM page to handle all tables listed under "Configure App".
In an effort to reduce code size (and maintenance), number of pages and duplicate methods, I am...
 
Last edited:

[WebApp] Minimum Spanning Tree

[IoT] Linux Embedded Boards - Gettings started

There are many Linux based, embedded boards available. Most or all of them support Java which means that they also support B4J.

In order to start development we need to install Java JRE 7+ (JDK...
 
Last edited:

[ABMaterial] New component ABMPDFViewer in 1.08

A new component for ABMaterial in the next version (1.08): ABMPDFViewer. It allows viewing, printing, downloading, localizing, a side view to show pages and more.

Completely materialized...
 

[ABMaterial] Animating about anything

I'm finalizing version 1.07, and one of the new things you will be able to do is animate ABMContainers (and ergo all its child components. Here is a demo animating a slide in/slide out of a...
 

[ABMaterial] Using Google Analytics in 1.07

googleanalytics.png


I've put a new tutorial post on my blog on how to use Google Analytics in the upcoming new version of...
 
Top