Tutorials & Examples

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

Read QR code from file

Hello team,

If you want to scan QR code from a file (Bitmap or pdf) you can try this code:
You need PDFium and Barcode Reader

B4X:
'Code module
'Subs in this code module will be...
 

Make sure you are enrolled in new 15% Play Store Fee

If you receive an email from google announcing the new 15% service fee (instead of 30%) that looks like this:

Google-Notice.png


I was a little confused of why do I have to create a group if I only...
 
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: 2,317

Calculation of Distance in Km between two points on MapFragment

Hi I share a simple solution to calculate the distance in km between two points on MapFragment. I hope it will be of help to anyone who works with the GoogleMaps v2.50 library.

The coordinates...
 

Compilation time and auto-increment build version

This tutorial demonstrates how the custom build action feature can be used to add a file during compilation with the compilation time and an automatic version number that is incremented with every...
 

Attachments

  • compiletime.jar
    81.9 KB · Views: 1,344
Last edited:

B4A-Créer un Slide Menu avec un Panel (Create a Slide Menu with a Panel)

Créer un Slide Menu parfait et rapide seulement avec un Panel .
(Create a perfect and fast Slide Menu only with a Panel).


Nous allons créer un Chat dans notre prochaine vidéo...
 

Core Programming - Chain of Several Programmer

Core Programming Is a group chain of Programmer working on the development of new Features.

Here is a channel to teach newbies how to get started working with B4A and it is a channel to...
 

Custom Context Menu for Text Selection

SS-2017-07-13_10.43.43.png


This example uses inline Java with JavaObject to allow creating custom context menus when the user selects text.

To use...
 

Attachments

  • CustomContextMenu.zip
    8.4 KB · Views: 1,903

Convert collections to json and vice versa

The JSON libraries, which are internal libraries, were updated. The new version is 1.20.

There is a new JSON type which is used to convert maps or lists to json strings and vice versa, using the...
 
Last edited:

[B4X] AS CalendarAdvanced - Expand with xCLV

Expand with xCLV 001.gif

This is a sample project to demonstrate how to expand or collapse the calendar and at the same time adjust a listview below it...
 

Attachments

  • Expand With xCLV.zip
    11.5 KB · Views: 785
Last edited:

[B4X] Cross platform Editable B4XTable + Form Example

SS-2019-04-11_15.50.04.png


This example demonstrates several things:
  • Cross platform code and files, similar to the way XUI2D games are...
 

Attachments

  • Project.zip
    194.2 KB · Views: 2,844
Last edited:

✅ [B4X] Using JSON generator, 5 simple examples - Newer developers

Hello all,
Well here we are with a simple example on how to use the JSON generator, this applies to B4A, B4J and also B4i.

I've created 5 different examples using B4XPages for new B4X developers...
 

Attachments

  • JSON Generator.zip
    14.9 KB · Views: 877
Last edited:

[B4X] B4X Online Tools - JSON Parser/QR Generator/Regex Parser

button.png button (1).png button (2).png

Full list of B4J Server Examples:

If there are other online tools that simplify programming with B4X...
 

[B4X][B4XPages] SQL + xCLV Example

Attachments

  • SQL + xCLV Example.zip
    347 KB · Views: 1,393

Generate QR-Code w. RSA Public Key and scan/load it

Here's an example how to generate a QR code containing a RSA Public Key (can be any data you need) in B4J and scan/load the key in B4A (based on the B4x QR code examples from Erel).

Some apps...
 

Attachments

  • QRRSAB4A.zip
    13.5 KB · Views: 919
  • QRRSAB4J.zip
    6 KB · Views: 820

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

Attachments

  • B4X-Flickr.zip
    270.5 KB · Views: 1,003
  • B4XPages-Flickr.zip
    260.2 KB · Views: 964
Last edited:

[B4X] [UI] Finding Design Inspiration - Tips

I would like to list here and give some tips where I get my design ideas for the apps I develope.

  1. Very simple, for example i want to design a Bottom Card, then i type on google images...
 
Last edited:

Firebase Database working example

Hi,

I decided to post this working example in the hopes that it can be useful to some people, and also maybe eventually someone will update it. I find database one of the most useful things in...
 

Attachments

  • Working Firebase Database example simple (no credentials).zip
    480.4 KB · Views: 2,153
Last edited:

Project Like First Flutter App

Attachments

  • FlutterInterface.zip
    118.1 KB · Views: 1,200

[B4XPages] Native Ads with MediaView - FirebaseAdmob2 and Mobile Ads SDK v20

This is an update to this code to use the native ads with the new lib FirebaseAdmob2 and new Mobile SDK (20).
Thanks to @Erel for the help in the related threads in Android...
 

Attachments

  • b4xpages_nativead.zip
    18.2 KB · Views: 791
Top