Tutorials & Examples

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

[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,332
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: 596

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

Voice Recognition Example

A large button is displayed. When the user presses on the button, the user is asked to say something.
The voice recognition engine converts the audio to text.

Then the text is converted back to...
 

Attachments

  • VoiceRecognition.zip
    5.6 KB · Views: 5,559

[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,092

[B4X] [B4XPages] BCTextEngine parser: B4X Code Highlighter

java_QIDqgmNTqq.png


firefox_5AjleJ4uQg.png


This is an example of creating a custom parser for...
 

Attachments

  • CodeHighlighter.zip
    14.4 KB · Views: 914
Last edited:

? [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,444
  • JHSTORCH_v2.zip
    117.3 KB · Views: 1,942
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: 3,583
Last edited:

Example of adding and calling B4X menu items

Midi System Example - Play A Midi File.

Attachments

  • PlayOnly.zip
    10 KB · Views: 841

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,185

Custom transitions between activities (+10 effects)

Attachments

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

[B4X] [XUI] ToastMessage Class Modifications

Attachments

  • clXToastMessage1.b4xlib
    4.1 KB · Views: 713

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...
 
Top