Tutorials & Examples

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

Read / Write Excel files on Android

The Excel library is a new library that wraps the open source jexcel project and allows you to read or write Excel workbooks. This library supports XLS files. The new xml based format (xslx) is...
 

Attachments

  • ExcelExample.zip
    12.8 KB · Views: 10,332
  • ExcelLibrary.zip
    13.1 KB · Views: 9,645
Last edited:

[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,817

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

[B4X] Sharing layouts between platforms

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

[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,664
  • B4XTurtle.b4xtemplate
    3.3 KB · Views: 1,495

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: 924
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,774
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,785

B4A Book Updated to Version 7.01

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

Material Design 4 - Modifyable and advanced Menu

Note: You should use B4A 6.0 or above for this tutorial.

With the ACToolBar(Light|Dark) object we can get access to the Menu object of the activity. This opens the possibility for modifyable...
 

Attachments

  • ToolBarMenuExample2_0.zip
    18.6 KB · Views: 4,484
Last edited:

How to use NoxPlayer with B4A

It's recomended to use a real device or the Android SDK included emulator.

But if you for some reason want to use NoxPlayer as emulator it is easy!

Alternative 1 - Connect B4A IDE directly to...
 
Last edited:

[B4X] Erel Teaches Programming - video tutorials

ETP is a series of video tutorials about B4X. The purpose is to allow developers with any programming experience, including no experience, to learn how to program with B4X.

The videos are...
 
Last edited:

[B4X] Corona Cases - Cross platform Example

Last edited:

Encrypting information with RandomAccessFile library

RandomAccessFile v1.30 introduces two new methods named: WriteEncryptedObject and ReadEncryptedObject.
These methods are similar to WriteObject and ReadObject methods. The difference is that the...
 
Top