Tutorials & Examples

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

Creating MS Word Docx in Android

This is an incomplete example - only trying to for now create a basic MS Word *.docx in android. Note the following:

1. You need to download "poishadow-all.jar from here...
 

Attachments

  • AndroidWordDocument.zip
    15.1 KB · Views: 48
  • johan1.zip
    2.4 KB · Views: 44

B4Xgoodies_from_walt61 Online

Well,

As JamesGreaves requested,
"So do you not think it would be of value to have even something like @walt61 has created but online?"...
 
Last edited:

Turn an old Android phone into your own SMS Gateway (Firebase trigger + SENT/DELIVERED tracking)

Turn an Old Android Phone into Your Own SMS Gateway​

(Firebase trigger + SENT / DELIVERED tracking – Minimal example)

For a long time I was using Firebase Phone Auth to validate access...
 

Attachments

  • SMS Gateway.zip
    10.7 KB · Views: 74

Firebase Phone Authentication in B4A using WebView + WebServer (Working Example)

Firebase Phone Authentication in B4A using WebView + WebServer (Step-by-Step Setup)​

This example shows how to implement Firebase Phone Authentication in B4A using a WebView + remote...
 

Attachments

  • webserver.rar
    6.5 KB · Views: 71
  • firebaseauthphone_web.zip
    11.2 KB · Views: 57
Last edited:

In-App Review Class

Hi,

This is In-App Review class :

1 - You need to install these libraries using SDK Manager :
B4X:
com.google.android.play:review
com.google.android.gms:play-services-tasks...
 

Attachments

  • InAppReviewHelper.bas
    11.2 KB · Views: 64
Last edited:

[B4X] AS FeatureRequest - Approved and implemented requests


In this example I show how easy you can display 2 pages, with the features that are under development and...
 

Attachments

  • AS_FeatureRequest Supabase Approved and implemented requests Example.zip
    181.8 KB · Views: 433
Last edited:

User Login Demo - how-to features

Hi y'all,
I've been working on a demonstration app that would show a bunch of how-to's.

Specifically, how to use an "admin" user and a regular user (non-admin) for login data admin (CRUD).
All...
 

Attachments

  • UserAdminDemo.zip
    30.1 KB · Views: 218
  • 1.jpg
    1.jpg
    179 KB · Views: 442
  • 3.jpg
    3.jpg
    264.9 KB · Views: 438
Last edited:

Share SQLite database between 2 devices

This is just a proof of concept to show that Device A behave like a server hosting a database and Device B connects to it accessing the "shared" database. It is a response to this question...
 

Attachments

  • ShareDB.zip
    17.6 KB · Views: 656
Last edited:

Lottie Example with 16kb support

This example is based on the Lotti Library by DonManfred found here. (It still works)

I tried it on 16kb android 15 emulator and...
 

Attachments

  • LottieEx16kb.zip
    13.8 KB · Views: 186
Last edited:

[B4X]How to Implement Lottie in B4XPages (AXrLottie B4A, iLotttie B4i and B4J)

This is B4XPages example for LOTTIE implementation on Android (B4A), iOS (B4I) and Desktop (B4J)

B4A Implementation

Uses AXrLottie. Download the library and dependencies...
 

Attachments

  • LottieB4XExample.zip
    102 KB · Views: 674
Last edited:

[B4X] CreateB4XFont

This is an example in response to this post and extension of the example posted here.

B4X:
Private Sub Button1_Click
    #If B4i
    Label1.Font = CreateB4XFont("D3-Biscuitism-Bold"...
 

Attachments

  • CreateB4XFont.zip
    119 KB · Views: 204
Last edited:

[B4X] Localizator B4XPages

A B4X project example to use Localizator in B4XPages
The device locale is selected for B4XCombobox by default.
This is answer to this question...
 

Attachments

  • LocalizatorB4XPages.zip
    20.9 KB · Views: 194

Play Games Services - Example and Class

Last year, I commissioned Biswajit to write a library for the new Google Play Games Services library. To manage the complexity of the code, I wrote a class called...
 

Attachments

  • Play Game Services Example.zip
    29.1 KB · Views: 638

[B4XPages] Admob Example

Check this other excellent example from @Jack Cole.

To help the new members to make money with B4A, I tried to compile all the relevant Admob code (except mediation) of the...
 

Attachments

  • b4xpages_admob_example7.zip
    59.7 KB · Views: 296
Last edited:

MidiSystem Midi Monitor

This example is deprecated, see Midi Monitor2

This is the last example for now, it provides a midi monitor for messages based on the midi channel that the messages are played on.

It...
 
Last edited:

Midi Monitor2

This is a rewrite of the original midi monitor example as a CustomView in a B4xPages project. It eliminates the need for threading and the AcceleratedSurface libraries.

1752691417905.png
...
 

Attachments

  • MidiMonitor2.zip
    12.4 KB · Views: 194
Last edited:

Midi System Example - Play A Midi File.

Attachments

  • PlayOnly.zip
    10.1 KB · Views: 189
Last edited:

[B4APages] App Base with Left menu [B4XDrawer] and menu bar options with image : functional example

Hello everyone, I'm sharing a basic example where I integrated several options [B4APages and] so that a new member can start developing their application.
I hope it is useful.

Hola a todos, les...
 

Attachments

  • B4APagesAppBase_v00.zip
    73 KB · Views: 300

AppCompat with ToolBar - minimal example

In most cases AppCompat is no longer needed and will only make things more complicated.
B4XPages example with dynamic menu...
 

Attachments

  • upload_2017-5-24_12-18-26.png
    upload_2017-5-24_12-18-26.png
    7.3 KB · Views: 4,481
  • AppCompatExample.zip
    9.9 KB · Views: 331
Last edited:

Dual Screen using MQTT

An example of sending data from device A and display on device B screen using MQTT protocol.
This is one of the solutions to this thread.
The code is kept since Aug 2023 but I don't see any...
 

Attachments

  • MqttPrimaryScreen.zip
    11.3 KB · Views: 247
  • MqttSecondaryScreen.zip
    10.8 KB · Views: 222
  • MqttPrimaryScreenV2.zip
    18 KB · Views: 206
  • MqttSecondaryScreenV2.zip
    17.2 KB · Views: 196
Last edited:
Top