Tutorials & Examples

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

Core Programming - Chain of Several Programmer

Core Programming Is a group chain of Programmer working on the development of new Features.

Here is a channel to teach newbies how to get started working with B4A and it is a channel to...
 

Custom Context Menu for Text Selection



This example uses inline Java with JavaObject to allow creating custom context menus when the user selects text.

To use...
 

Attachments

  • CustomContextMenu.zip
    8.4 KB · Views: 1,513

Convert collections to json and vice versa

The JSON libraries, which are internal libraries, were updated. The new version is 1.20.

There is a new JSON type which is used to convert maps or lists to json strings and vice versa, using the...
 
Last edited:

[B4X] AS CalendarAdvanced - Expand with xCLV


This is a sample project to demonstrate how to expand or collapse the calendar and at the same time adjust a listview below it...
 

Attachments

  • Expand With xCLV.zip
    11.5 KB · Views: 453
Last edited:

[B4X] Cross platform Editable B4XTable + Form Example



This example demonstrates several things:
  • Cross platform code and files, similar to the way XUI2D games are...
 

Attachments

  • Project.zip
    194.2 KB · Views: 1,956
Last edited:

💡 [B4X] Using JSON generator, 5 simple examples - Newer developers

Hello all,
Well here we are with a simple example on how to use the JSON generator, this applies to B4A, B4J and also B4i.

I've created 5 different examples using B4XPages for new B4X developers...
 

Attachments

  • JSON Generator.zip
    14.9 KB · Views: 504
Last edited:

[B4X] B4X Online Tools - JSON Parser/QR Generator/Regex Parser



Full list of B4J Server Examples:

If there are other online tools that simplify programming with B4X...
 

[B4X][B4XPages] SQL + xCLV Example

Attachments

  • SQL + xCLV Example.zip
    347 KB · Views: 929

Generate QR-Code w. RSA Public Key and scan/load it

Here's an example how to generate a QR code containing a RSA Public Key (can be any data you need) in B4J and scan/load the key in B4A (based on the B4x QR code examples from Erel).

Some apps...
 

Attachments

  • QRRSAB4J.zip
    6 KB · Views: 496
  • QRRSAB4A.zip
    13.5 KB · Views: 590

[B4X] [B4XPages] Flickr Stream - Cross platform stream of photos

Attachments

  • B4X-Flickr.zip
    270.5 KB · Views: 635
  • B4XPages-Flickr.zip
    260.2 KB · Views: 583
Last edited:

[B4X] [UI] Finding Design Inspiration - Tips

I would like to list here and give some tips where I get my design ideas for the apps I develope.

  1. Very simple, for example i want to design a Bottom Card, then i type on google images...
 
Last edited:

Firebase Database working example

Hi,

I decided to post this working example in the hopes that it can be useful to some people, and also maybe eventually someone will update it. I find database one of the most useful things in...
 

Attachments

  • Working Firebase Database example simple (no credentials).zip
    480.4 KB · Views: 1,809
Last edited:

Project Like First Flutter App

Attachments

  • FlutterInterface.zip
    118.1 KB · Views: 771

[B4XPages] Native Ads with MediaView - FirebaseAdmob2 and Mobile Ads SDK v20

This is an update to this code to use the native ads with the new lib FirebaseAdmob2 and new Mobile SDK (20).
Thanks to @Erel for the help in the related threads in Android...
 

Attachments

  • b4xpages_nativead.zip
    18.2 KB · Views: 448

Shuffle a LIST (MP3 playlist for example)

In this example you can find a short example which shuffles a playlist (mp3´s for ex.).
Here i´m using the alphabet (A to Z)

B4X:
Sub Process_Globals
    'These global variables will be declared...
 

Attachments

  • playlistshuffle.zip
    7.5 KB · Views: 1,009

Beginner's Demo of B4XComboBox

Hi there,

Having asked a lot of questions on the forum and received very helpful responses, I thought I would try to give back a little bit!

I've seen several questions about the B4X Combobox...
 

Attachments

  • JMB_ComboBox_Demo.zip
    24.1 KB · Views: 4,715

[B4X] Localizator - Localize your B4X applications

Localizator is a cross platform solution for strings localization.

The strings are defined in an Excel workbook.



They...
 

Attachments

  • B4J_LocalizatorExample.zip
    5.7 KB · Views: 1,397
  • ExcelWorkbook.zip
    7.1 KB · Views: 1,799
  • B4i_LocalizatorExample.zip
    6.1 KB · Views: 1,101
  • Localizator.bas
    4.4 KB · Views: 1,800
  • B4A_LocalizatorExample.zip
    11.6 KB · Views: 1,337
  • B4J_LocalizatorConverterSource.zip
    10 KB · Views: 578
Last edited:

double joystick in b4a with bluetooth output

Last edited:

Use MediaStore to play and export Ringtones. Demo, lib and Java source code.

The media provider provides an indexed collection of common media types, such as Audio, Video, and Images, from any attached storage devices. Root permission is not required.
 

Attachments

  • ExportRingtone.zip
    409.1 KB · Views: 285

[B4X] Comment Links

New feature added in B4A v10.0, B4J v8.50 and B4i v6.80. It will also be added to B4R.



Code comments can include clickable links...
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…