B4J Tutorials

"Embedding" JSpice in B4J

Attachments

  • JSpice2.zip
    9.6 KB · Views: 146
Last edited:

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

2 Tips: Animated Gifs and ListView items size

Two tips learned while developing a custom SDK manager for B4A:

SS-2017-05-29_15.47.14.png


1. I wanted to show an animated indicator while...
 

3D MeshView

This is a tiny tutorial on how to load a .obj file into a 3d MeshView and display it in B4J.

I have loaded .obj files that I downloaded from the web, but they tend to not stick to the same format...
 

Attachments

  • Sony_XZ1_mesh_viewer.zip
    4.7 KB · Views: 510
  • headscan.png
    headscan.png
    229.9 KB · Views: 629
Last edited:

ABMaterial - ABMCustomComponent - Quill Rich Text Editor

In ABMaterial version 4.95, @alwaysbusy introduced me to a new method of handling Rich Text Editing - in the form of an ABMCustomComponent called...
 
Last edited:

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:

Access DB (mdb) BeginTransaction and AddNonQueryToBatch

I spent quite a bit of time tracking down an error that... wasn't in my project. To prevent you from doing it too...

I had to insert many records into an Access table.

I used a transaction...
 

Accordion container

accordion.gif


The Accordion container (added in B4J v5.0) is a container similar to TabPane. It holds TitledPanes. These are panes with titles.

Using the accordion is quite simple. Add the...
 

Attachments

  • AccordionExample.zip
    5.1 KB · Views: 1,326

Adding some fun to your Apps with Funtranslations REST API

Imagine... English to Yoda. English to Minion. English to Johhy Deeps' Pirate, or even English to Wakanda.


This is some awesome fun api. They have curl...
 

Android2ABMaterial: A Personal Experiment

Hi

Well, as a newbie to the ABMaterial framework, about a month and a couple of days now, I decided to take a journey to see if I can create a webapp using the ABMaterial framework. This app...
 
Last edited:

Another Blockchain example

Attachments

  • BlockChainTest.zip
    7.8 KB · Views: 424
Last edited:

Anyone for a game of Chess...

Go to post #2 - all in B4J and no external lib required

It is based on this Github posting
 
Last edited:

Anyone for a game of ChineseCheckers?

It is from here (a kickstart via B4J). Copy the attached Jar to your B4J additional library folder.
Run the attached B4J project.
You will be playing RED and AI will play BLUE...
 

Attachments

  • jChineseCheckersAI.jar
    15.8 KB · Views: 87
  • b4jChineseCheckersAI.zip
    1.6 KB · Views: 78

Anyone for a game of Snooker

Have compiled this Github project into a Jar so that it can be kick started from within B4J. Made some minor changes to the original code to that the /res folder could be embedded...
 

Attachments

  • b4jSnooker.zip
    2.2 KB · Views: 57
  • jSnooker.jar
    392.8 KB · Views: 55
Last edited:

Anyone for Another game of Chess....(lol)

Just for the fun of it - I like to see what the UI of some Java projects looks like and how it reacts when in use. The easiest way (at least for me) is to kick start it via a simple B4J project...
 

Attachments

  • b4jMyChess.zip
    1.6 KB · Views: 144
  • ChessPieces.zip
    40.8 KB · Views: 137
  • MyChess.jar
    46 KB · Views: 127
Last edited:

Application protection

This is at present a proof of concept, but does allow applications written in B4J to be protected.

It relies on my Nashorn library.

The way it works is as follows:

The B4J application pulls in...
 

AS Scheduler + AS FloatingPanel = Appointment Info Card

1659888703261.png

This is an example project of how to add an info card when hovering over an Appointment.

This Example project are working with the DayView, MonthView and AgendaView on B4J.

You need...
 

Attachments

  • AS Scheduler + AS FloatingPanel.zip
    11.2 KB · Views: 236
Last edited:

AS Scheduler + AS PopupMenu= Appointment Context Menu

1660080327563.png
AS_Scheduler ContextMenu.gif

This is an example project of how to add an context menu on appointment right click.

This Example project are working with the DayView, MonthView and AgendaView on B4J...
 

Attachments

  • AS Scheduler ContextMenu.zip
    9 KB · Views: 242
Last edited:

Associating files with your app

Follow these steps to associate files, based on their extension, with your app. The user will be able to double click on a file and your app will be opened with the selected file.

Step 1: Make...
 

AsyncStreamsObject - Send and receive objects over the network

For new projects it is recommended to use B4XSerializator instead of this solution.



SS-2013-11-14_13.26.52.png


AsyncStreamsObject allows you...
 

Attachments

  • AsyncStreamsObject.zip
    4.1 KB · Views: 3,312
Last edited:
Top