Tutorials & Examples

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

Dialogs library 2017 - Custom dialogs and async methods

Dialogs v4 is an extension to @agraham original dialogs library. It requires B4A v7+.

SS-2017-06-01_16.00.52.png


The main changes are...
 

Attachments

  • DialogsExample.zip
    9.8 KB · Views: 4,637
Last edited:

Read Key/Token from the B4A Manifest

I was busy with a project and wanted to allow users to enter their own Key/Token via the B4A manifest file and then have access to the key/token via B4A code. I did a quick search and could not...
 

Attachments

  • b4aReadManifestKey.zip
    9.6 KB · Views: 590

Getting Started With a Homescreen Launcher

Hey guys!

This forum and Basic4Android has helped my career prospects greatly, so I thought I'd try and do something useful...

As some of you know, I've been working on an Android Launcher or...
 

Foreground Service with Notification Builder

The app I'm building will allow the user to configure a series of timed actions, then execute them in order using "play" controls looking much like a music player (play/pause, skip...
 

Attachments

  • LongRunningService.zip
    11.6 KB · Views: 979
Last edited:

MJPEG / CCTV Server

Attachments

  • MJPEG_CCTV.zip
    12.6 KB · Views: 3,508
Last edited:

How I manage multi language in my Android App

Hi everyone !

I would like to share my own way to manage multi languages for my Android App.
I'm sure there are more than one method to do it, I just want to share mine.

This functionnality is...
 

[B4x]Send Firebase-Message via php

UPDATE

Please ensure you use https:// to call the Google fcm api. "Out of the sudden" one of my apps didn't work anymore :rolleyes:

B4X:
$ch = curl_init();
        curl_setopt(...
 
Last edited:

Supporting multiple screens - tips and best practices

This is an old tutorial. I recommend to instead watch the visual designer video tutorial: https://www.b4x.com/etp.html

There are several features in B4A that help you target Android...
 
Last edited:

[B4X] BitmapCreator Performance

Attachments

  • B4A_BC_Performance.zip
    8.8 KB · Views: 749
  • B4i_BC_Performance.zip
    1.8 KB · Views: 661
  • B4J_BC_Performance.zip
    1.6 KB · Views: 604
Last edited:

Corso B4A Intermedio - Creazione di due App, un Timer per gli Scacchi e una Calcolatrice

1797502_4b7b_3.jpg

Ciao a tutti, ho creato un nuovo corso rivolto a chi già si muove un po con B4A e non è proprio alle prime armi. Il...
 
Last edited:

[TEST RESULT] a <> b vs. Not(a = b)

[UPDATED]

Lately I've fallen into the habit of using Not instead of <> for Boolean comparisons - eg: Not(a = b) instead of a <> b. I'm not sure why I started doing this - probably because I think it...
 
Last edited:

AES128/Rijndael cipher implementation animation

Hi everyone,

in the following link you can find an animation about how the AES128/Rijndael cipher is implemented. As you will see, it is a mix of shifting/mixing/substituting (simple or by matrix...
 
Last edited:

Using CustomBuildAction to deploy to multiple devices at once

This tutorial will demonstrate how you can use CustomBuildAction attribute to deploy to multiple connected devices at once.

The "additional" devices should be connected in USB debug mode. This...
 
Last edited:

Android messages - Cool new feature for SMSing from everywhere

Hi everyone,

I do not know if this is a suitable tutorial for this forum but I just found out and I am absolutely thrilled with it. There is a way to send SMSs from your mobile phone even from...
 
Last edited:

Creating a simple Kotlin wrapper library

The purpose of this tutorial is to show a way of compiling Kotlin into your developed library as a “fat” JAR (a JAR file containing all necessary dependencies and classes bundled in).

Compared to...
 
Last edited:

Wrapping a small and easy 3rd party library with java - Part II

Started here i released a tutorial about wrapping a library for b4a.
Basically this is the same here but i´ve caputed the hole process :D

Have fun (or be bored watching it). Hope it helps a...
 

GUI SDK Manager for newer versions of Android tools

Attachments

  • B4A-SdkManager-Source.zip
    63.3 KB · Views: 5,571
Last edited:

Please join Facebook group

[B4X] [BitmapCreator] Maximizing Performance with BC

1. This tutorial is about BitmapCreator v3.5+.
2. It is relevant for B4A, B4i and B4J.
3. The features discussed are only needed when making hundreds or more drawings per second.

Drawing...
 
Last edited:

Change color of Android ProgressBar

Top