Tutorials & Examples

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

[B4X][B4XPages] SQL + xCLV Example

A simple, cross platform example that reads data from a database and adds it to a xCLV.

1624428141587.png


Database source: https://www.sqlitetutorial.net/sqlite-sample-database/

The...
 

Attachments

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

[B4x]Send Firebase-Message via php

UPDATE

Please ensure you use https:// to call the Google fcm api. "Out of the sudden" one of my apps didn't work anymore :rolleyes:

B4X:
$ch = curl_init();
        curl_setopt(...
 
Last edited:

[B4X]How to Implement Lottie in B4XPages (AXrLottie B4A and iLotttie B4i)

This is B4XPages example for LOTTIE implementation on Android and iOS

B4A Implementation

Uses AXrLottie. Download the library and dependencies here...
 

Attachments

  • LottieB4XExample.zip
    102 KB · Views: 15
Last edited:

[B4x]Data exchange (B4x, php, servers, .net and others)

After some years I have developed several apps to communicate with other apps, servers and platforms. My goal was to have ONE standard solution without additional propriatary solutions which work...
 

[B4X] ”The ultimate guide to proper use of animation in UX”

I happened to come across a very well written, and absolutely beautifully illustrated, article on how to best use animation in UX. I thought the forum might appreciate it, so here’s the link...
 

[B4X] [XUI] ToastMessage Class Modifications

Attachments

  • clXToastMessage1.b4xlib
    4.1 KB · Views: 605

[B4X] [XUI] Msgbox

XUI library v1.4 adds support for asynchronous msgbox dialogs.

The API is simple:

SS-2017-10-19_15.27.39.png


B4X:
xui.MsgboxAsync("Hello", "World")...
 

[B4X] [XUI] Expandable list based on xCustomListView

Last edited:

[B4X] [XUI] Drawing with B4XCanvas

B4XCanvas is the cross platform version of Canvas.

Steps to using B4XCanvas:

1. Initialize and pass the target view. In most cases it will be a Panel (or Pane). It must be a Pane in B4J.
2. Make...
 

Attachments

  • xSmiley_B4A.zip
    10.8 KB · Views: 1,103
  • xSmiley_B4i.zip
    5.3 KB · Views: 611
  • xSmiley_B4J.zip
    5 KB · Views: 803
Last edited:

[B4X] [XUI] CustomListView with animated header

Attachments

  • B4A_CLV_Header.zip
    14.3 KB · Views: 1,153
  • B4i_CLV_Header.zip
    7.5 KB · Views: 615
Last edited:

[B4X] [XUI] CustomListView - lazy loading / virtualization

xCustomListView v1.50 adds an important new event named VisibleRangeChanged. This event is fired whenever the visible range of items changes.

We can use this event to defer the items creation...
 
Last edited:

[B4X] [XUI] Creating custom views with XUI

Attachments

  • ClockView.bas
    1.4 KB · Views: 1,110

[B4X] [XUI] ASTabMenu with xCustomListView Example

AS Tab Menu with xCustomListView.gif

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

[B4X] [Visual Designer] Spreading Controls

Question: How can I build a layout with X controls spread horizontally or vertically?

Answer: You can use the designer script for this. As the designer script engine (currently) doesn't support...
 

Attachments

  • 1.zip
    9.5 KB · Views: 670

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

[B4X] [Video] IDE Tips

 

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

[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: 815

[B4X] [DSE] Designer Script Extensions

The soon to be released versions of B4A, B4i and B4J include a new feature named: designer script extensions. The new feature allows calling B4X code from the visual designer scripts.
Note that...
 

Attachments

  • DSExample.zip
    182.8 KB · Views: 809
  • DSExampleCLV.zip
    187.6 KB · Views: 715
  • DSExampleNumpad.zip
    18.8 KB · Views: 666
  • DSExampleToolbar.zip
    123.2 KB · Views: 672
  • DesignerUtils.b4xlib
    3.7 KB · Views: 567
Last edited:

[B4X] [BitmapCreator] Maximizing Performance with BC

1. This tutorial is about BitmapCreator v3.5+.
2. It is relevant for B4A, B4i and B4J.
3. The features discussed are only needed when making hundreds or more drawings per second.

Drawing...
 
Last edited:
Top