Tutorials & Examples

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

[B4X] JSON crack - Visualize your JSON as a diagram

Here is a nice tool that visualizes the JSON like a diagram. Pretty cool.

 

Understanding Network security configuration

Every developer must understand this article if developing any kind of network communication app.

Android os recent versions put end apps users privacy at the heart of its platform, the network...
 

Now you can debug android app directly under Windows11

Intel's Bridge technology will allow Android apps to run natively on Windows 11, now Microsoft released the beta version。

1. download windows11 from...
 
Last edited:

[B4X] AS ViewPager - Auto Play

In this example project you can see how to add an auto play feautre to the AS ViewPager.
...
 

Attachments

  • AS ViewPager Auto Play.zip
    10.2 KB · Views: 432
Last edited:

? [B4X] [XUI] [B4XPages] Using B4A GPS to create a BASIC weather app - Newer developers

Hello All
Here we have an simple example on how you use your Android device GPS in conjunction with OpenWeather API, this is just a simple example and can obviously be changed and updated by...
 
Last edited:

Chat Mqtt Over Internet Free Source Code B4A/B4J

Attachments

  • B4JChatMqtt.zip
    8.3 KB · Views: 637
  • B4AChatMqtt.zip
    13.7 KB · Views: 752
Last edited:

Test Card Always Approves - Item unavailable in your country

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



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.

For this example you need the 2 libs...
 

Attachments

  • AS TabMenuAdvanced + ASPopupMenuAdvanced Example.zip
    455.1 KB · Views: 711
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



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

Attachments

  • AS PopupMenuAdvanced ComboBox.zip
    73.9 KB · Views: 1,335
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: 978
  • DSExampleCLV.zip
    187.6 KB · Views: 871
  • DSExampleNumpad.zip
    18.8 KB · Views: 826
  • DSExampleToolbar.zip
    123.2 KB · Views: 829
  • DesignerUtils.b4xlib
    3.7 KB · Views: 728
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,323
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,244
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,885

[B4X] AS TabMenuAdvanced Designs


 

Attachments

  • AS TabMenuAdvanced Styles.zip
    450.1 KB · Views: 789
Cookies are required to use this site. You must accept them to continue using the site. Learn more…