Tutorials & Examples

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

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,164
  • baseapp-withoutFIREBASE.zip
    408.8 KB · Views: 984
Last edited:

[B4X] Blockchain Example - Create Your Own Cryptocurrency (part 1/2)

Blockchain
A digital ledger in which transactions made in bitcoin
or another cryptocurrency are recorded chronologically and publicly.
In more general terms, it’s...
 

Attachments

  • blockchain example.zip
    2.8 KB · Views: 1,180
Last edited:

Facebook login no event raised fix

Hi,

If your Facebook and firebase configurations are all ok but the auth event is not raising or if you are getting An account already exists with the same email address but different...
 
Last edited:

CAM2FTP create time elapsed videos

This app save each image into a server via FTP
and if you want download all images to merge into a video

Esta App salva cada imagen en un servidor via FTP
y si lo deseas puedes bajar todas las...
 

Attachments

  • Capture+_2019-07-05-23-44-24-min.png
    202 KB · Views: 372
  • Capture+_2019-07-05-23-44-57-min.png
    26.8 KB · Views: 378
  • 2019-07-06_000441.jpg
    21.1 KB · Views: 356
  • 2019-07-06_000511.jpg
    38 KB · Views: 344
  • 2019-07-06_000526.jpg
    10.7 KB · Views: 328

[B4X] - Google sheets and localizator

Hi everyone,

there is a new way to create the localizator class csv file and it is as easy now as it could never be in the past. Just watch the following video:

(23-6-2019)

In order...
 
Last edited:

BlueTooth Printing via SPP

I finally have reliable, stable printing to a blue tooth printer (Citizen CMP-10 and CMP-20) from my Samsung 5570L Galaxy Mini Android Device running v2.3.6

Attached is a skeleton project...
 

Attachments

  • BTPrint.zip
    8.7 KB · Views: 6,612
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.



The table is...
 

Attachments

  • TableExample.zip
    5.7 KB · Views: 6,697
  • TableExample1.1.zip
    12.2 KB · Views: 7,070

Android Wear Install App via Bluetooth

Hello, i see here, that many people have problems to install there wear app to his watches.
I list the steps that are needed so that you can quickly look up when you need it.

Phone:
-install the...
 
Last edited:

Load HTML to Label

Last edited:

Compiling through Google Drive Filestream

Hi,

Last couple of days I have been testing compilation of B4A programs through Google Drive Filestream. Although it is a little bit slower it has a lot of advantages to do this:

- your OpenJDK...
 

B4ABuilder / B4JBuilder - Command line compilation

B4A v4.30 includes a new tool named B4ABuilder.exe (and B4J includes a similar tool named B4JBuilder.exe).

This tool allows you to compile your projects from the command line. This can be useful...
 
Last edited:

Using and understanding Pointers and References

Yes, you heard me right! It is possible to utilize the pointers and references (at least in terms of behavior) in B4X Java-based languages (B4A and B4J).

There is a lot to explain about...
 
Last edited:

Eyes follow example code

Hi all.
Here is a simple example of how make a eyes folow the touch on a panel.





another example

a source is attached
 

Attachments

  • move.zip
    100.4 KB · Views: 487

Android Things - Getting Started

Last edited:

[B4X] [etp] Forms & User Input video tutorial


More videos: https://www.b4x.com/etp.html

The example app is attached.
Note that the correct library that needs to be checked, except of B4XPreferencesDialog, is XUI Views...
 

Attachments

  • User Input.zip
    2.7 KB · Views: 919

[B4X] [XUI] CustomListView with animated header

Attachments

  • B4A_CLV_Header.zip
    14.3 KB · Views: 1,252
  • B4i_CLV_Header.zip
    7.5 KB · Views: 719
Last edited:

Catch Webview Item's Longclick without late Javascript injection

Sample project to intercept clicks and longclicks on images or text portions in a webview.

The test project was created, because it became necessary to find a suitable solution from the very much...
 

Attachments

  • WebViewLongClick_03.zip
    242.2 KB · Views: 491

MapsDecodePolyline

Hello!

As already told in another thread, i'm working on a navigation app using Google Maps API in combination with Google Directions http-requests for routing.

The http-Requests looks as...
 

targetSdkVersion 28 (Android 9.0)

Starting from August 2019 for new apps and November 2019 for updates, Google Play requires apps to set targetSdkVersion to 28.

The tutorial was updated with information related to API level 28...
 

[Example] Add OCR features to your Android application

This example demonstrates how you can use an OCR web service to recognize text in camera images.

The program allows you to take a picture and then send it to OCRWebService.

OCRWebService...
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…