Tutorials & Examples

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

B4X - Use of Regex

Recently for a web project I was forced to seek a solution in the use of Regex. I have found this site which teaches you and allows you to check the use of regex for matching strings etc. I...
 

B4x / PHP compatibility thread

A lot of developers like me use php as the backend component on a server to communicate with B4x apps. My intention is to create a thread with some "How to's" and best practices. Please feel free...
 

B4X Object Browser - new thread

Hi. Please place any new questions or comments about the B4X Browser here.
 

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...
 

B4X Ui/Ux 👨‍🎓👩‍🏫

Ui max_co

Hello friends
👨‍💻👩‍💻
We are here to show the world the power and beauty of B4X-built apps

New post

17-Drawer Ui (Figma)...
 

Attachments

  • ddfs.jpg
    ddfs.jpg
    218.1 KB · Views: 505
Last edited:

B4XGoodies Check App

Hi Friends,

As you know, I made an online sheet of Walt's B4XGoodies List and he helped me by providing download links of html and version text files...
 

Attachments

  • B4XGoodies_Check_1.002.zip
    13.7 KB · Views: 402
  • B4XGoodies_Check_1.003.zip
    13.7 KB · Views: 374
  • B4XGoodies_Check_1.004.zip
    139.2 KB · Views: 399
Last edited:

B4Xgoodies_from_walt61 Online

Well,

As JamesGreaves requested,
"So do you not think it would be of value to have even something like @walt61 has created but online?"...
 
Last edited:

B4XObject - B4A /B4J / B4i objects serialization

upload_2014-12-16_17-0-36.png
upload_2014-12-16_17-1-8.png


The RandomAccessFile libraries (B4A, B4J and B4i libs) include two new methods: WriteB4XObject and ReadB4XObject.

These methods are similar to WriteObject and...
 
Last edited:

B4XPages Video Tutorial Series

Hello, I intend to share my knowledge using B4XPages through this beginner tutorial. Please subscribe and share.

Part 1 - Getting Started with New Project

Part 2 - Adding...
 
Last edited:

B4XPages vs Activities, Bluetooth Example

In the thread BT Pages Example, a new version of the BT example was created using Pages. Since I'm just looking at Pages for the first time, I popped the new and old versions into a code...
 

Attachments

  • BT_Activities_vs_Pages.zip
    32.3 KB · Views: 378

B4XTable - Photos Album

SS-2019-03-03_13.10.22.jpg


In this example the table is used to show the camera roll photos.

Main steps:
1. Get permission to access the external...
 

Attachments

  • B4XTable-Album.zip
    10.7 KB · Views: 795
Last edited:

Background location tracking

SS-2018-11-29_15.48.38.png


Simple example of a foreground service that keeps the process running in the background. The current location is shown in...
 

Attachments

  • MyLocation.zip
    9.3 KB · Views: 947
Last edited:

Background Services in Android 8+ - Observations !

background voice recording

Hi..
I have created one activity that contains AudioRecorder using audiorecorder library.
i want to start and stop recording from background using service.
timer is not working to stop...
 

Backup/Restore SQLite Database

Hello
This is an example of how to back up and restore the SQL Lite database as the database produces three files with three extensions
with the following extensions 'db.db'...
 

Attachments

  • backup.restore.sqlite.zip
    17.7 KB · Views: 436

Barcode Scanning Observations

I have done some extensive barcode testing the last few days using a device with an 8 megapixel camera. I would like to share my obervations and hope many of you can debate, corroborate or add to...
 

Barebones View Examples with SQLite

I went through a (long) learning curve with regard to using SQLite, and creating Webview, Listview and Scrollview lists. There are a lot of great examples on this forum, but I found it difficult...
 

Attachments

  • DataBase_Barebones_examples.zip
    47.8 KB · Views: 1,410

Base app for new user to rapid build app

Update 29/8/2018: i uploaded new version without FIREBASE to help who dont need

B4A is very good app to build Android app.
I want to use it built app same as Android Studio, so i make a...
 

Attachments

  • base-app-source.zip
    409.3 KB · Views: 1,054
  • baseapp-withoutFIREBASE.zip
    408.8 KB · Views: 871
Last edited:

Basic difference between a Standard ListView and Amir_RecyclerView

During the introduction to Amir_RecyclerView (ARV), it was necessary to understand the basic relationships between data and display.

ListView is a view group that displays a list...
 

Attachments

  • Events_AmirRecyclerView.jpg
    Events_AmirRecyclerView.jpg
    107.7 KB · Views: 548
Last edited:

Basic4android Documentation as Windows Compiled Helpfile

Hi,

being a big fan of CHM-Files, making it faster for me to search and browse quickly through the documentation, I decided to dig out my old farhtml-converter and convert the basic...
 
Top