Tutorials & Examples

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

Chat Mqtt Over Internet Free Source Code B4A/B4J

Attachments

  • B4JChatMqtt.zip
    8.3 KB · Views: 777
  • B4AChatMqtt.zip
    13.7 KB · Views: 881
Last edited:

Test Card Always Approves - Item unavailable in your country

Google never seizes to surprise us and its latest miracle is the following:

TestCardsNotAvailable.jpg


In order to fix this no matter if you have an EmailList set with the testers I have done two things. I do...
 
Last edited:

[B4X] AS_TabMenuAdvanced + ASPopupMenuAdvanced

This is a example how to use the AS_TabMenuAdvanced together with the ASPopupMenuAdvanced.
1654270847025.png

For this example you need the 2 libs...
 

Attachments

  • AS TabMenuAdvanced + ASPopupMenuAdvanced Example.zip
    455.1 KB · Views: 814
Last edited:

In App Billing - steps required in Google Console

This applies to Google Billing V4.

I was following the tutorial to add in app billing to my app and I found that it would not work in test...
 

Api Levels

Searching the internet I came across this site that cumulates all the necessary data for the B4A developer:

 

[B4X] AS PopupMenuAdvanced - ComboBox

IMG_2058.jpg
RPReplay_Final1636584250.gif


This is a small example to demonstrate what is possible with the beautiful view...
 

Attachments

  • AS PopupMenuAdvanced ComboBox.zip
    73.9 KB · Views: 1,484
Last edited:

Using fixer.io to get current Currency rates

This Tutorial is how to use the free service from fixer.io
in your own apps.

Fixer.io is a free JSON API for current and historical foreign exchange rates published by the European Central...
 
Last edited:

[B4X] [DSE] Designer Script Extensions

The soon to be released versions of B4A, B4i and B4J include a new feature named: designer script extensions. The new feature allows calling B4X code from the visual designer scripts.
Note that...
 

Attachments

  • DSExample.zip
    182.8 KB · Views: 1,175
  • DSExampleCLV.zip
    187.6 KB · Views: 1,066
  • DSExampleNumpad.zip
    18.8 KB · Views: 1,049
  • DSExampleToolbar.zip
    123.2 KB · Views: 1,014
  • DesignerUtils.b4xlib
    3.7 KB · Views: 922
Last edited:

Push messages with Firebase and B4A: Some additional hints and a working example

Hi,
I played around with push notifications based on Firebase Cloud Messaging (FCM).
I followed the tutorial at...
 
Last edited:

Creative UI/UX Designs + Source Code

Well, from today I am here to help you create more beautiful applications.
B4X Family is a wonderful yet very simple tool for designing functional and beautiful applications
I have been acquainted...
 

Attachments

  • 1.profilePagerPanel.zip
    142.7 KB · Views: 1,525
Last edited:

✅ [B4X] [XUI] [B4XPages] B4A PreoptimizedCLV lazy loading from SQLite and CSV - Newer developers

Hello to you all,
Welcome to Sheldon Coopers and Amy Farrah Fowlers fun with flags ;)

Here is a simple example on using B4XPages with both an SQLite database and also a CSV file with multiple...
 
Last edited:

In App Purchases Setting Tutorial - New Google Play Console - Accurate as of 2020-09-26

Hey everyone,

This is a tutorial on how you can add In App Purchases to your Android App in the New Google Play Console.

1) Add GooglePlayBilling library in your project and the following code...
 
Last edited:

DownloadManager tutorial

Here i'll post one or two examples showing how to use the DownloadManager library.

DownloadManager simple example.
Here's what must be the most simple way to use DownloadManager...
 

Attachments

  • simple_example.zip
    8.6 KB · Views: 2,329
Last edited:

Native Camera + Crop - Native Galery + Crop

hi i make a simple code using the google and intent *-*

This code is very very simple and call the native crop later save the image
with native camera or galery

B4X:
#Region  Project Attributes...
 

Attachments

  • MEUS EXEMPLOS.zip
    502.6 KB · Views: 6,968

[B4X] AS TabMenuAdvanced Designs

1654451659991.png

 

Attachments

  • AS TabMenuAdvanced Styles.zip
    450.1 KB · Views: 895

[B4X] AS_TabMenuAdvanced + ASPopupMenu

This is a example how to use the AS_TabMenuAdvanced together with the ASPopupMenu.
1654121495794.png

For this example you need the 2 libs...
 

Attachments

  • AS TabMenuAdvanced + ASPopupMenu Example.zip
    450.7 KB · Views: 959
Last edited:

Important note about B4XPages projects

I know it is simple info for experts, but it is critical point for who want to start using B4XPages projects:- B4XPages project is for cross-platform development, that is mean when created; all...
 

[B4X] Regular expressions (RegEx) tutorial

Regular expressions are very powerful and make complicate parsing challenges much easier.
This short tutorial will describe the usage of regular expressions in Basic4android.
If you are not...
 
Last edited:

MQTT Topic best practice

JPCT-AE Polyline Example

Polyline in JPCT-AE is unable for using by standart methods. But, by Ricardossy1, in his post: Ricardossy1 post, was described way for solving problem.
I was needed for Polylines in my...
 

Attachments

  • JPCT-AE (alhowiriny).jar
    79.4 KB · Views: 468
  • JPCT-AE (alhowiriny).xml
    414.4 KB · Views: 464
  • jpct_ae.jar
    380.4 KB · Views: 451
Last edited:
Top