Tutorials & Examples

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

B4x on Mac M1with Parallels and Windows 11 Arm

The native use of B4x on M1 CPU is not possible. But using Parallels and Windows 11 Arm makes it possible to have a perfect working development environment. With one problem: there is no JavaFX...
 

Firebasemessaging (FCM): Receive messages in doze/sleep mode

Issue: Device doesn't receive FCM messages while in sleep/doze mode

Important to know: Google uses 2 different api's with different keywords

1638195059390.png


So...
 

Test web back ends in your computer without fiddler and see what your app will post

 

Conversion of B4A to B4XPages

Introduction

The conversion of the first of my B4A Apps to the newer B4XPages structure was not trivial and involved over 20 hours of research, overcoming misunderstandings, and finding...
 

Attachments

  • Section 1-2.pdf
    469.4 KB · Views: 693
  • Section 3 Step 1-11.pdf
    501.9 KB · Views: 595
  • Section 3 Step 12.pdf
    488.1 KB · Views: 501
  • Section 3 Step 13.pdf
    456.3 KB · Views: 653
  • Section 3 Step 14.pdf
    450.6 KB · Views: 495
  • Section 3 Step 15-16.pdf
    457.5 KB · Views: 537
  • Section 4-5.pdf
    393.4 KB · Views: 474

[B4X] B4XCache - simple and useful cache collection

B4XCache is a new collection added in B4XCollections v1.10.
It is key / value store collection, similar to Map.
When the cache reaches the set maximum size, the least recent used items are removed...
 
Last edited:

Find a missing value using Approximation & Guesswork (Goal Seek)

I have written a few Financial Calculators over the past couple of weeks, and one approach I've found extremely useful is Approximation and Guesswork.
So I figured, why not share the approach with...
 

Social Network created by B4A (Chat included)





After searching all over the forum, I noticed that there are no examples that speak of a Social Network, so I decided to write one.

This example below...
 

[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,117
Last edited:

[Installation Guide] Amazing Order Taking App

Disclaimer: I do not create/own the original project source code therefore please don't ask me to provide full support. I am just helping a member to make this project work. I do not get any money...
 

[Installation Guide] [B4A] Supermarket, Restaurant, Pharmacy, Store Delivery

Disclaimer: I do not create/own the original project source code therefore please don't ask me to provide full support. I am just helping a member to make this project work. I do not get any money...
 

[UI] [B4A] Real State App UI Example + Source Code

Attachments

  • Real State App.zip
    264.7 KB · Views: 1,011

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:

B4A-Bridge --> How to Install and Get it Working! (Solution - Windows 10 & Android 10!!)

I've made this (new thread) post because I just went through all of this and scoured these forums and the Internet and could not find any complete step-by-step instructions that worked, and the...
 

[SMM] Top sites example

This example uses SimpleMediaManager to show a list of 400 top sites, based on Alexa dataset.

1633602625321.png


Each item is made of two panels and a label:
- Panel for the favicon.
- Panel for the...
 

Attachments

  • Project.zip
    231.5 KB · Views: 437
Last edited:

Transfer files across memory boundary

Hi all,

This is a simple example of moving files across the internal/external memory boundary.
EG Transferring a CSV file from an external location to an internal folder to load a database in the...
 

Attachments

  • XFer.zip
    13 KB · Views: 347

Material Design Icons (Update B4A / B4J)

[UI] [B4A] Online Course App UI Example + Source Code

Attachments

  • Online Course.zip
    273.5 KB · Views: 1,323

File Choose

Quickly create a File_Chooser, and choose any type of File without any Library.


Download code Here
 

Full Chat (NovaChat)

Download the Library for free here : Download
 

Get resolution of video from file

MediaMetadataRetriever:
    Dim metaRetriver As JavaObject
    metaRetriver.InitializeNewInstance("android.media.MediaMetadataRetriever", Null)
    metaRetriver.RunMethod("setDataSource"...
 
Last edited:
Top