B4J Tutorials

ABMVideo

Hi All,

I am getting a " www.youtube.com refused to connect. " error when trying to connect to a youtube video, my code is as follows:

B4X:
    Dim myModalVideocastVideo1 As ABMVideo...
 
Last edited:

[Websites] Create a profile page for your website using UOENow+BANano

Last edited:

[ABMaterial]: Creating a Sign In Modal Dialog with Options: Part 1

Well


I wanted to create a modal dialog (ABMModalSheet), that will have options for 1. Forgot Password and 2. Not a Member Yet to 1. enable moving to another screen if user...
 

Attachments

  • ModalLogin.gif
    ModalLogin.gif
    287.5 KB · Views: 460
  • frmLogin.bas
    19.8 KB · Views: 453
Last edited:

[B4x] RSA example (asyncstreams)

- Changed to B4x as the subs can be used in B4A, too
- "Send File" added (new Button to send a file to the other client)



This tutorial is based on Erel's Asyncstreams example...
 

Attachments

  • RSAExample.zip
    5.9 KB · Views: 457
Last edited:

[B4X, B4xPages]Using the Standard B4XPreferenceDialog Library with B4XPages to Create Effective Forms

If you are in a hurry, or if you don't want to design your own form, you can use the standard PreferencDialog
in combination with FormsBuilder to create a pretty nice form, one form per B4XPage...
 

Attachments

  • PrefFormsV3.zip
    29.3 KB · Views: 178
Last edited:

[BANano] Exploring BANanoObject.GetFunction & Execute

Ola

The newest version of BANano comes with a lot of enhancements and some very interesting stuff. There's so much to learn.

So I decided to check one interesting thing out, Getting / Executing...
 

Attachments

  • JSObject.zip
    2.3 KB · Views: 301

[IoT] Web Server Performance: Raspberry Pi 2 vs. Intel Edison vs. BeagleBone Black

I ran some tests to check how these boards perform as web servers.

The tests were similar to the tests done here and here.

Data was read and written to a SQLite database in wal mode...
 

[ABMaterial] - ABMCustomComponent - Google Charts

Requires ABM version 2.0 or above...

Google Charts - LineChart

My second stab at using a custom component ( which generally means adding js script into the project).
This is a bit more...
 

Companion thread to B4J Training Video 5 - Bridge Scripts

As promised in this the B4J Training Video about the Bridge, I am attaching the scripts for running the Bridge from Mac or Raspberry Pi (Linux):

Mac:
1) Create a file called bridge.sh
2) Insert...
 
Last edited:

Creating a hotel reservation app with BANanoJQM

Hi there

First and foremost, thank you for making a decision to view and even read this thread. Whilst not being an expert in BANano and still learning the ropes, the article is mainly about the...
 
Last edited:

[Server] Guess My Number example

The purpose of this example is to demonstrate how you can interact with the server through ajax requests.

SS-2014-02-04_13.10.42.png


The server...
 

Attachments

  • ServerGuessMyNumber.zip
    2.4 KB · Views: 773

Switch to shutdown RPI

The RPi hasn't a switch to shutdown the RPI; if you cut off power from the RPi, SD card could be corrupted easely.

An easy solution is to add a switch to shutdown the RPI connected to a GPIO pin...
 

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

B4J Primes Benchmark

I found this benchmark that tests the same algorithm in multiple programming languages and decided to test it in B4J.

I've implemented the two algorithms.

B4X:
Sub Process_Globals

End Sub...
 

[ABMaterial] New debug feature in 3.20

ABMaterial 3.20 will introduce a very cool debug feature! When developing web apps, the console (e.g. in Chrome) can be your best friend. But on mobile devices, you don't have that available...
 
Last edited:

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

Ubuntu 18.04 OpenJDK 11 & OpenJFX 11 B4J UI Sample

Sharing my first experience on how to develop a B4J UI application using the B4J-Bridge, in a window on Ubuntu 18.04.3 LTS (Codename bionic) running on an ACER Aspire.
My aim is to develop...
 
Last edited:

SolarSystem

It is a B4J "kick-start" project for the JAR of this Github project. How to use it:
1. Copy the attached B4J project - the B4J code is very simple:
B4J code:
#Region Project Attributes...
 

Attachments

  • SolarSystemRunnable.jar
    8.7 KB · Views: 148
  • b4jSolarSystem.zip
    1.6 KB · Views: 149

[Web][SithasoDaisy] Creating a Product Listing

Hi

By the end of this tutorial, you will be able to create this output.

1697410102441.png


1. We use a grid with 3 columns so that we can have each product.

Code Module is: pgBasicCardsMultiple on...
 

(B4X) Creating LAMP server with b4x on Amazon EC2

LAMP: Linux Apache MySQL PHP

In this tutorial I will explain how to bring complete working server, on Amazon EC2 (you get 1 year free)

I am using this server for sending notification for iphone...
 
Top