Tutorials & Examples

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

[B4X] B4XPages enhanced example

In case anyone is interested I attach a modified version of Erels' ThreePagesExample for B4A only. It demonstrates the following enhancements.

1) B4XMainPage requests a Runtime permission.

2)...
 

Attachments

  • B4XPagesTest-B4A.zip
    40.8 KB · Views: 1,607

[B4X] [B4XPages] FirebasePush + FirebaseAuth

Today for the first time, I started messing with B4XPages and Firebase. Even though I had already watched B4XPages, I hadn't fumbled to understand better.
The hardest thing was Firebase...
 

Attachments

  • Firebase Message.zip
    129 KB · Views: 788
Last edited:

Google: Here are 4 reasons your Android app will get booted from the Play Store

[B4X] Sharing layouts between platforms

B4A BLE Example with Write

I have created an app to read and write to BLE devices. This is an extension of BLE_Examples.

In this example the scan lists all devices found. You connect to a device by selecting it in the...
 

Attachments

  • BLE.zip
    11.5 KB · Views: 1,440

set and get with more parameters

Now I have started a very big project and I came to the problem how to set and get more parameters.
Yesterday I spent the whole day looking for a solution on the forum how to set and get more than...
 

[WebViewExtras] send data: from WebView to B4X / from B4X to WebView [addJavascriptInterface] [CallSub]

addJavascriptInterface [WebViewExtras] CallSub [B4XPages] Example

I created a Example (after search and not found)

send data: from WebView to B4X / from B4X to WebView ,
using addJavascriptInterface and...
 
Last edited:

My Audit (Intent Based Camera and Expandable list based on CustomListView)

Attachments

  • audit.zip
    21 KB · Views: 436

Simple BlueTooth printing

First, someone post nice simple demo for bluetooth printing(BTPrint.zip) but unfortunately I can't find this again for giving credits, but who ever is , thanks.
Now, here is also demo based on...
 

Attachments

  • BlueSimple.zip
    11.5 KB · Views: 1,062

[Article] Demystifying the new Play In-App Review

@Pendrush recently introduced its wrap of the In-App Review Library.
After a rework, the solution now works great...
 

UltimateListView Image Grid Example

Attachments

  • ulv_grid.zip
    221.3 KB · Views: 1,830

Generate Extract Grab Direct Youtube DL Link

Hi, am happy to share this project of mine.
What it does is, it accepts normal YouTube link and gets its direct download link from this website https://bitdownloader.com.
The direct download...
 

Attachments

  • mcYoutubeDL.zip
    51.8 KB · Views: 629
Last edited:

maybe not so simple way to clean up texts from wikipedia api

this might be far from perfect, but it works well for me. This little routine replaces useful html tags to bb tags, and gets rid of unwanted html tags in fetched wikipedia api texts.

B4X:
Sub...
 

[B4X] PHP implementation of B4XSerializator and PhpCloudKVS Server example

Hello,
First of all, sorry for my bad english... I'll try to do my best...

For my project, I ported the source of B4XSerializator of @Erel from here to php.
Even if php is considered...
 

Attachments

  • B4XSerializator_for_php_v0.5.zip
    2.8 KB · Views: 649
  • PhpCloudKVS_Server.zip
    41.7 KB · Views: 649
  • PhpCloudKVS_B4JClient.zip
    6.5 KB · Views: 612
Last edited:

[B4X] Projects Templates

This is a new feature. It is included in B4J v8.50 and B4i v6.80 (betas) and will be included in the next versions of B4A and B4R.



This is a very simple and useful feature. When you...
 

Attachments

  • B4XPages.b4xtemplate
    9.6 KB · Views: 1,311
  • B4XTurtle.b4xtemplate
    3.3 KB · Views: 1,217

[B4X] [B4XPages] Bluetooth scanner in SPP mode

Introduction

I've been developing mobile application for over 25 years (Telxon, Symbol, Windows Mobile, Xamarin, CF.net). Up until now the barcode scanners were integrated into the mobile...
 

Attachments

  • BluetoothPages-forum.zip
    502.2 KB · Views: 699

Slow Motion video recording using CamEX2

Here is the example of SlowMo video capture using Camera2 API and CamEX2 class. This is the code for recording slow-motion video which you can find at the bottom of CamEX2 Class of attached...
 

Attachments

  • CamEx2_SlowMo_Video.zip
    16.9 KB · Views: 717
Last edited:

Do not start a B4A project before you read the guides

After reading so many threads from new 'member' s , I feel that we have to make humble request to all new members :

Do not start a B4A project before you read the guides....
 

Code Obfuscation

This tutorial is relevant for B4A and B4J.
During compilation B4A generates Java code which is then compiled with the Java compiler and converted to Dalvik (Android byte code format).
There...
 
Last edited:

Android Bluetooth / BluetoothAdmin Tutorial

Better implementation based on B4XPages:
Tutorial was rewritten in April 2018.
We will create...
 

Attachments

  • Bluetooth.zip
    12.4 KB · Views: 7,193
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…