Tutorials & Examples

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

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

[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] [Video] IDE Tips

 

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

[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: 880
Last edited:

[B4X] [XUI] Creating custom views with XUI

Attachments

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

[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] CustomListView with animated header

Attachments

  • B4A_CLV_Header.zip
    14.3 KB · Views: 1,159
  • B4i_CLV_Header.zip
    7.5 KB · Views: 619
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,110
  • xSmiley_B4J.zip
    5 KB · Views: 810
  • xSmiley_B4i.zip
    5.3 KB · Views: 615
Last edited:

[B4X] [XUI] Expandable list based on xCustomListView

Last edited:

[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] ToastMessage Class Modifications

Attachments

  • clXToastMessage1.b4xlib
    4.1 KB · Views: 609

[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]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]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: 44
Last edited:

[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][B4XPages] SQL + xCLV Example

Attachments

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

[B4X][IoT] - Monitor the home temperature with Adafruit IO

Adafruit IO is a cloud service built for IoT solutions. It provides two interfaces: MQTT and REST API. It is very simple to use it with B4X as demonstrated in this example.

It is more than...
 

Attachments

  • B4R_IO_Adafruit.zip
    1.1 KB · Views: 1,154
  • B4J_IO_Adafruit.zip
    2.4 KB · Views: 964
  • B4i_IO_Adafruit.zip
    3.6 KB · Views: 836
  • B4A_IO_Adafruit.zip
    8.1 KB · Views: 1,559
Last edited:

[B4X][OOP] Generic Sorter

The Sorter class uses quick sort algorithm to sort a list of objects.

There are exactly three assumptions about the list items:
1. All the items in the list are of the same type (or each item can...
 

Attachments

  • Sorter.zip
    8.2 KB · Views: 563
Top