Tutorials & Examples

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

✅ Match the flags. Simple XUI cross platform game tutorial for new B4X B4A developers - Newer developers

Hello B4X'ers,
This morning as my new clients are currently beta testing software that I developed for them using B4J ?, I thought to myself lets create a quick and simple game using B4A for the...
 
Last edited:

ADeveloper - B4A tutorials

follow us in social networks please ? :

insta.png youtube.png


I started a channel in youtube for B4A. Erel made some other tutorials which you can find...
 
Last edited:

[B4X] Mobile App Website - No-Code Builder (Landingpage, Legal notice, privacy policy)

Hey, I found this interesting website today on Producthunt.com.
Create a mobile app website in ⏳ 60...
 

[B4X] [B4XPages] Splash Screen

B4A, B4i and B4J splash screen implementation. The implementation is different in each platform.

1. Don't miss the manifest editor code in B4A.
2. Don't use %y in the code. Use Root.Height...
 

Attachments

  • Project.zip
    67.7 KB · Views: 3,893
Last edited:

Self sms Verification

This simple example illustrate how to verify user phone number using self sms.
The example send sms from user phone to his/her phone.
No need for extra external third parities sms gateway.

FAST...
 

Attachments

  • self_sms_verification.zip
    10.9 KB · Views: 761

B4A Rapid book updated to B4A 10.6

B4A-324x400.jpg

I am happy to announce that the both the paperback and electronic versions of the B4A tutorial and reference book “B4A Rapid Android App...
 

Check if Device Rooted

I hope this example helpful
It will check if the device is rooted or no.
 

Attachments

  • checkroot.zip
    9.3 KB · Views: 672

[B4X] Postman Tutorial

Before some time I have posted my findings upon an application that allows you to test WebAPIs, tinker with them and eventually use the JSON in your projects. This application is postman. Here is...
 
Last edited:

[B4X] B4XTable with custom cells layout

SS-2019-02-06_11.52.16.png


Requires B4XTable v1.01+...
 

Attachments

  • B4XTable-Flags.zip
    429.3 KB · Views: 3,380

? [B4X] [XUI] [B4XPages] B4A recreating Google Trends results with xCharts - Newer developers

Hello to you all,
Here is an extremely simple example on how to easily recreate Google Trends results using B4XPages with B4A and the xChart library. In this example I used Google...
 
Last edited:

✅ [B4X] [XUI] [B4XPages] B4A 'Erel Says' hand, eye memory game - Newer developers

Hello to you all,
I decided to recreate this simple but effective game example, the game is based on the B4XPages library. The game is designed for hand, eye and memory coordination, so I called...
 
Last edited:

Add text to image and save it ("water mark")

Hi all.
I found this example in some old folders on my pc and decided to share here.
it is a simple example of how add a text into a bitmap and later save it as image file.

www.jpg
...
 

Turn your camera flash light into a torch - also with Java code inside the B4A project

See attached project. I have created this simple torch (on / off) by making use of java code found on the web and compiling it with Simple Library Compiler. Library files inside the /files folder...
 

Attachments

  • JHSTORCH_v1.zip
    23.3 KB · Views: 1,657
  • JHSTORCH_v2.zip
    117.3 KB · Views: 2,187
Last edited:

[B4X] B4XPages + B4XDrawer

B4XDrawer v1.53 adds support for B4J. This is a good opportunity to create a B4XPages example using B4XDrawer.
It does require some configuration so pay attention.

1594908342696.png


The example is...
 

Attachments

  • 3 pages + drawer.zip
    191.7 KB · Views: 4,150
Last edited:

Example of adding and calling B4X menu items

Android Usb Host Tutorial - AdbTest

Android 3.1 and above devices support Usb host mode. With this feature you can connect to regular client usb devices. Some devices are automatically recognized by the OS and are simple to work...
 

Attachments

  • USBExample.zip
    7.2 KB · Views: 4,448

Custom transitions between activities (+10 effects)

Attachments

  • Screenshot_20210203-174943.png
    Screenshot_20210203-174943.png
    89.1 KB · Views: 556

[B4X] [XUI] ToastMessage Class Modifications

Attachments

  • clXToastMessage1.b4xlib
    4.1 KB · Views: 919

Hint: solving compiler error "Unknown member: initializenewinstance"

I ran into this one today and fortunately my penny dropped rather quickly, though I didn't find anything on the forum about this error; hence this post as it might be useful for others. I was...
 

CHART JS IN ANDROID

Hi i make this example how you can add Chart JS in your project.


I was use this example...
 

Attachments

  • CHARTJS.zip
    218.7 KB · Views: 621
Top