Tutorials & Examples

Android development starts here. Please do not post questions in this sub-forum.

[B4X] [BitmapCreator] Creating cross platform games

Last edited:

[B4X] [B4XPages] XUI Views Example

This is only an update to the original example from Erel.
I'm starting to create cross-platform apps using B4XPages.
It is mainly to B4A and B4J, because I don't use B4i, and I tried to put...
 

Attachments

  • xui_views2.zip
    34.9 KB · Views: 365

[B4X] [B4XPages] What exactly does it solve?

B4XPages makes many things simple and even trivial.
As Android developers, we are dealing with these challenges for many years now so it might take us a while to understand how simple things can...
 
Last edited:

[B4X] [B4XPages] Splash Screen

B4A, B4i and B4J splash screen implementation. The implementation is different in each platform.

1. Don't miss the manifest editor code in B4A.
2. Don't use %y in the code. Use Root.Height...
 

Attachments

  • Project.zip
    67.7 KB · Views: 3,031
Last edited:

[B4X] [B4XPages] Pleroma / Mastodon Client

Roughly speaking, Mastodon is an open source, distributed, social network a bit similar to Twitter:

Pleroma is a lightweight implementation of Mastodon with some...
 
Last edited:

[B4X] [B4XPages] Network + AsyncStreams + B4XSerializator

java_USPawWZPiX.png


1592139571839.png


B4i_nUuTQqGuEH.png


Cross platform version, based on B4XPages, of...
 

Attachments

  • Network Example.zip
    220.7 KB · Views: 2,519
Last edited:

[B4X] [B4XPages] Menu badges

1628579674728.png


This is a B4i + B4A example. It adds a dynamic badge to the menu icon. It also shows how to update menu items at runtime.

Don't miss:
1. B4A - theme settings in manifest editor.
2...
 

Attachments

  • Project.zip
    16.6 KB · Views: 1,617

[B4X] [B4XPages] Intent based camera

B4A + B4i project that uses an intent in B4A and the Camera object in B4i to take a picture using the default camera app.

The B4A code depends on JpegUtils...
 

Attachments

  • CameraIntent.zip
    125.1 KB · Views: 320
Last edited:

[B4X] [B4XPages] GoogleMaps example

1594642169087.png


Example of showing a Google map, in a cross platform B4XPages project. The APIs of the three GoogleMaps libraries are quite different from one another, so we need to use platform...
 

Attachments

  • Project.zip
    10 KB · Views: 2,047

[B4X] [B4XPages] Flickr Stream - Cross platform stream of photos

Attachments

  • B4X-Flickr.zip
    270.5 KB · Views: 628
  • B4XPages-Flickr.zip
    260.2 KB · Views: 576
Last edited:

[B4X] [B4XPages] FirebasePush + FirebaseAuth

Today for the first time, I started messing with B4XPages and Firebase. Even though I had already watched B4XPages, I hadn't fumbled to understand better.
The hardest thing was Firebase...
 

Attachments

  • Firebase Message.zip
    129 KB · Views: 626
Last edited:

[B4X] [B4XPages] Firebase Push Example

Attachments

  • Push.zip
    7.3 KB · Views: 1,840

[B4X] [B4XPages] Bluetooth scanner in SPP mode

Introduction

I've been developing mobile application for over 25 years (Telxon, Symbol, Windows Mobile, Xamarin, CF.net). Up until now the barcode scanners were integrated into the mobile...
 

Attachments

  • BluetoothPages-forum.zip
    502.2 KB · Views: 558

[B4X] [B4XPages] BCTextEngine parser: B4X Code Highlighter

java_QIDqgmNTqq.png


firefox_5AjleJ4uQg.png


This is an example of creating a custom parser for...
 

Attachments

  • CodeHighlighter.zip
    14.4 KB · Views: 786
Last edited:

[B4X] [B4XPages] Barcode Reader

1595341203504.png
i_view64_HkncBfNNKe.png


B4A + B4i barcode reader.

Don't miss:

- #PlistExtra in B4i.
- Manifest code + #AdditionalJar in B4A

Depends...
 

Attachments

  • BarcodeReader.zip
    183.5 KB · Views: 1,423
Last edited:

[B4X] xCLV - lazy loading with text input

The attached B4J example demonstrates how to implement lazy loading with editable items.

java_nAZX0TSYJE.png


There are several interesting points...
 

Attachments

  • LazyLoadingWithTextInput.zip
    6 KB · Views: 771
Last edited:

[B4X] xCLV + PreoptimizedCLV + BCTextEngine

1590306481550.png


This example uses PreoptimizedCLV to create a list of BBCodeViews.
In most cases it will be simpler to create a single BBCodeView, as BBCodeView is scrollable. However there might be...
 

Attachments

  • BBCodeCLV-B4A.zip
    24.1 KB · Views: 650
  • BBCodeCLV-B4i.zip
    184.8 KB · Views: 447
  • BBCodeCLV-B4J.zip
    17 KB · Views: 481
Last edited:

[B4X] Working with GoogleTasks using REST

GoogleTasks are a Task list (ToDo List, Shopping List, whateveryouwant list)

In this small Tutorial i want to share my findings while i played around with GoogleTasks. In fact i´m not...
 
Last edited:

[B4X] WebView + CKEditor (rich text editor)

1628407653890.png


This is a cross platform example that adds CKEditor rich text editor using WebView: https://ckeditor.com/ckeditor-5/
Make sure to read CKEditor licensing and pricing...
 
Last edited:

[B4X] Using/running B4A and/or B4J on 64 bit Linux Mint 20.2 Cinnamon with 64 bit Wine

Top