Tutorials & Examples

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

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,285

[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: 2,058

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: 849
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: 837
  • PhpCloudKVS_Server.zip
    41.7 KB · Views: 841
  • PhpCloudKVS_B4JClient.zip
    6.5 KB · Views: 791
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.

1594122248131.png


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

Attachments

  • B4XPages.b4xtemplate
    9.6 KB · Views: 1,697
  • B4XTurtle.b4xtemplate
    3.3 KB · Views: 1,516

[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: 907

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: 940
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,809
Last edited:

[B4X] B4XImageView - ImageView + resize modes

B4XImageView is a new custom view, added to XUI Views v2.40.

It adds several useful resize modes to the standard ImageView:

1597820737069.png


(Images source...
 

Attachments

  • Example.zip
    352.5 KB · Views: 3,819

B4A Book Updated to Version 7.01

Various Utilities created with Inline Java Code

The attached project (VariousUtilities.zip) has a large number of Bitmap and String Utilities. There is also a utility that lists the sensors of your device in the Log. Three B4A classes are...
 

Attachments

  • VariousUtilities.zip
    214.9 KB · Views: 1,135
  • VariousUtils.zip
    24.6 KB · Views: 995

[B4X] [Video]How to's, B4A UI, andTutorials from Leafecodes

My Youtube Channel Link - Please Subscribe


This video takes you through the process of creating onboarding...
 
Last edited:

Android Device Unique ID - Alternative to PhoneId

This is an old tutorial. It will not work on new versions of Android. You should either generate a random value when the app starts for the first time or use the advertising id...
 
Last edited:

B4A eBook en Español

9781871281453-10.jpg

We are delighted to announce that our best-selling book "B4A Rapid Android App Development using BASIC" is now available in Spanish...
 

Amir_RecyclerView-Samples

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: 727
Top