Tutorials & Examples

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

B4A Rapid book updated to B4A 9.80

I am happy to announce that the both the paperback and electronic versions of the B4A tutorial and reference book “B4A Rapid Android App Development using BASIC” by Wyken Seagrave have now been...
 

Video corso Preparazione ambiente di sviluppo B4i

ENGLISH:
Good morning,
I would like to share the free course "Preparing development environment for B4 IOS".
This course helps prepare the B4I development environment and the MAc to start...
 
Last edited:

[B4X] [XUI] ASTabMenu with xCustomListView Example


Hello Forum,

in this Example i want to show you, how to use the ASTabMenu togehther with the xCustomListView, to handle a lot of Tabs without getting into layout problems...
 

Attachments

  • B4A Example with xCustomListView.zip
    7.8 KB · Views: 981
Last edited:

[B4X] SQL with Wait For

The new resumable subs feature, introduced in B4J v5.50, B4i v4.00 and B4A v7.00 (to be soon released), makes it simpler to work with large data sets with minimum effect on the program...
 

Firebase Realtimedatabase Create a room and messages inside

Hello,

I've been working with Firebase's realtimedatabase this week. There is no example yet of how to create rooms and send messages, but it is important for anyone who wants to make a chat in...
 
Last edited:

Android home screen widgets tutorial - part I

Edit: widgets are handled with receivers now. See the attached example.

This tutorial will explain how to implement your own home screen widgets (also named App Widgets).

It is important...
 

Attachments

  • HomeWidgets.zip
    24.6 KB · Views: 827
Last edited:

Select,Upload,Display,Delete image from Server

Hello everyone,

First of all, I want thank Erel, DonManfred and KMatle because a lot of the codes for them.

In this example (Select an image from gallery and display it, Resize the image, Save...
 

Attachments

  • php_Files.zip
    2.3 KB · Views: 1,169
  • MyImage.png
    56.2 KB · Views: 4,521
  • Screenshot_2017-12-19-13-57-22.jpg
    406.4 KB · Views: 3,748
  • complete.zip
    94 KB · Views: 1,341
Last edited:

How to create more Instances of the same AVD Emulator

Maybe this info can be useful to someone.
Normally from B4A AVD Manager it's not possible to start more instances of the same AVD normally.
We get a Warning that executing many times the same...
 

Tutorial Android and Raspberry Debian in BT

Hi all. In this example we have Raspberry Pi Rasbian and Android App ( communicate via BlueTooth ).

Through Android we give the command to access and turn off/on the LED, and from the Raspberry...
 

[B4X] Localizator with CSV files

For the first time I try to make my apps multilingual and found this very useful helper. But I prefer to use CSV files (not excel) for the translations. So I combined it with this...
 

Attachments

  • B4XLocalizatorCSVTool.zip
    11.6 KB · Views: 532
Last edited:

Audios for WhatsApp (CLV with 2 columns)

Hi all.
I've been looking at my old sources and found this example, and now I'm going to share it with you.

this example size is 14mb+ because have 200+ audios example.
The example use CLV with 2...
 
Last edited:

B4A and PHP REST

Thanks @Erel for free version that I plan to buy but donate instead.

I'll share my B4A knowledge in Thailand, your great product must popular, later.

PHP is well known for web developer...
 
Last edited:

✅ Part 1 Basics - Creating long lists using xCustomListView with Lazy Loading - Newer developers

Hello All
After thinking about it yesterday and having a quick chat with Erel, I decided that my previous long list examples were not basic enough for newer B4X developers, so I put together a...
 
Last edited:

? A simple XUI app transfer from B4A to B4J in under 11 minutes

Hello all,
Here is a quick video to show how simple it can be to transfer your B4A projects to B4J when using XUI. It's been on my mind all days now, so I thought I would give it a go and also...
 

USB Cable Connection fo Xiaomi Cell phone

For anyone who has problems connecting b4a to Xiaomi mobile phones, I make the link available where I found the Google usb driver to connect xiaomi mobile phones to b4a via usb. Download the...
 

B4A Change Log (versions history)

Last edited:

Check your app presence on Google Play

Your app has been removed on Google Play.
Sample code for those who have previously installed the application not to use it again.

B4X:
Sub Globals
    Dim job1 As HttpJob
    Dim xui as XUI
End...
 
Last edited:

FCM Push-Messages: Foreground/Background/Data/Notification

Last edited:

[B4X] Cross platform chat layout example


Example of implementing a chat layout.
It is based on xCustomListView. The text is created with a hidden BBCodeView (BCTextEngine) and the bubble is drawn with BitmapCreator...
 

Attachments

  • Chat.zip
    259.1 KB · Views: 2,164

[B4X] B4A, B4i, B4J and B4r API documentation - B4X Object Browser

API documentation - B4a, B4i, B4J and B4R (i.e. B4X) Object Browser (which also includes Code Snippet Management)

Hi everyone,

As you may or may not be aware, I have embarked on a...
 

Attachments

  • upload_2014-12-11_22-32-46.png
    106.1 KB · Views: 2,761
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…