Tutorials & Examples

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

Simple Push Framework

Attachments

  • PushDevice.zip
    8.6 KB · Views: 3,105
  • PushDesktop.zip
    6.3 KB · Views: 2,803
Last edited:

Text files

Many applications require access to a persistent storage. The two most common storage types are files and databases.
We will cover text files in this tutorial.

The predefined Files object has...
 

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: 497
Last edited:

Two activities example

An improved version, based on CallSubDelayed is available here.
This example demonstrates how to work with more than one activity and how to pass information between the activities.
In...
 

Attachments

  • TwoActivities.zip
    6.7 KB · Views: 5,947

ImageDownloader - The simple way to download images

Attachments

  • ImageDownloader.zip
    8.1 KB · Views: 7,151
Last edited:

Accessing third party Jar with #Additionaljar and JavaObject - Picasso

The #AdditionalJar module attribute (introduced in B4A v3.80) allows us to reference external jars.
With the help of JavaObject it is now possible to integrate third party jars without a wrapper...
 

FirebaseAdMob and User Consent

Last edited:

ScrollView examples summary

Last edited:

Signature Capture Tutorial

Several developers were interested in adding support for signature capturing in their Android application.
The attached code module makes it easy to capture the signature and save it to a file...
 

Attachments

  • SignatureCapture.zip
    6.4 KB · Views: 4,058

Inline Java Code

The next versions of B4A (4.30) and B4J (2.80) will allow you to embed Java code inside your B4X code. B4i supports similar feature with Objective C.

The purpose of this feature is to make it...
 

Attachments

  • InlineJava.zip
    12.7 KB · Views: 4,072
  • B4J-InlineJava.zip
    1.2 KB · Views: 2,451
Last edited:

SQLiteDB

Below you find an application with a SQLite database and a ScrollView based table.
What the program can do:
- Read a database, 'Load' button.
- Edit, modify or delete date sets (single- or...
 

Attachments

  • SQLiteDB1.jpg
    SQLiteDB1.jpg
    48 KB · Views: 13,944
  • SQLiteDB2.jpg
    SQLiteDB2.jpg
    50.7 KB · Views: 2,595
  • SQLiteDB3.jpg
    SQLiteDB3.jpg
    34.4 KB · Views: 20,047
  • SQLiteDB4.jpg
    SQLiteDB4.jpg
    41.4 KB · Views: 2,336
  • SQLiteDB5.jpg
    SQLiteDB5.jpg
    27.4 KB · Views: 2,561
  • SQLiteDB6.jpg
    SQLiteDB6.jpg
    49.7 KB · Views: 9,101
  • SQLiteDB7.jpg
    SQLiteDB7.jpg
    49.4 KB · Views: 2,545
  • SQLiteDB_V1_1.zip
    26.2 KB · Views: 3,938
  • SQLiteDB_2D_V1_5.zip
    28.5 KB · Views: 3,381
Last edited:

OAuth 2.0 / Google web services tutorial

This tutorial is no longer relevant. Google doesn't allow using WebView to access the server response. Updated tutorial...
 

Attachments

  • GmailContacts.zip
    8.1 KB · Views: 903
Last edited:

Custom ListView library

Here's a library tutorial to hopefully show the basic steps required to create a custom ListView.

The custom ListView creates each ListView ListItem from a layout XML file - your...
 

Attachments

  • MyListView.zip
    31.1 KB · Views: 4,551

DJI virtual stick-tutorial, waypoint- and hotpoint-mission for DJI Mini- and Air-series

After the release of the new grandiose DJI library and the preliminary work of freedom2000 and JordiCP in this thread...
 
Last edited:

Creating a table view based on ScrollView

A much improved version is available here.

You can use the code in this example to show data in tabular form.

table_1.png


The table is...
 

Attachments

  • TableExample.zip
    5.7 KB · Views: 6,553
  • TableExample1.1.zip
    12.2 KB · Views: 6,939

ADeveloper - B4A tutorials

follow us in social networks please 🙏 :

insta.png youtube.png


I started a channel in youtube for B4A. Erel made some other tutorials which you can find...
 
Last edited:

Converting VB6 to B4A

Below is a table listing features of Visual Basic 6 and their equivalents in B4A.

If you find errors or wish to add other features, post a reply here to have your input integrated into the table...
 
Last edited:

B4X Object Browser - new thread

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

FloatLabeledEditText (ViewsEx)

upload_2016-2-28_15-46-20.png


FloatLabeledEditText is an improved EditText where the hint moves to the top instead of disappearing when there is text in the field.

With the floating hint you no longer need to add...
 

Android InApp Purchase Tutorial + Source Code

Hi,

in this tutorial i will show you how to add an in app product to your android app.

There is an official tutorial by @Erel so you should also check that out...
 

Attachments

  • InApp.zip
    3.2 KB · Views: 844
Last edited:
Top