Tutorials & Examples

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

B4XPages Video Tutorial Series

Hello, I intend to share my knowledge using B4XPages through this beginner tutorial. Please subscribe and share.

Part 1 - Getting Started with New Project

Part 2 - Adding...
 
Last edited:

[B4X] Program from everywhere even while being on the road - It can be done already

I was thinking how can I realize what is mentioned bellow for helping a friend with no computer for now, without waiting for it to happen (if ever - no offense @Erel but I know you are busy)...
 
Last edited:

DJI virtual stick-tutorial, waypoint- and hotpoint-mission for DJI Mini- and Air-series

After the release of the new grandiose DJI library and the preliminary work of freedom2000 and JordiCP in this thread...
 
Last edited:

Debugging with Firebase / Android GPU Inspector

Hello,

(this is not a full tutorial, just a overview of this 2 tools)

I wrote my first animation in a app and with no idea what im doing i was running poorly...

While debugging i struggled with...
 

💡 B4A Uninstalling a kiosk app

Hello all,
I've noticed 2 or 3 posts about not being able to uninstall a kiosk app because android:testOnly is missing from the manifest file, it's not in Erel's example.

If you just add the...
 
Last edited:

[B4XPages] Bluetooth Chat Example

1592143666965.png


Updated implementation, based on B4XPages of https://www.b4x.com/android/forum/threads/android-bluetooth-bluetoothadmin-tutorial.14768/#content.

The code is much simpler...
 

Attachments

  • BluetoothChat.zip
    18.2 KB · Views: 816
Last edited:

Resolving problems with EPUB version of the B4A-Rapid book version 12-50

Two people have complained that the EPUB version of the B4A-Rapid book version 12-50 is corrupt.
We have not been able to reproduce any errors.
We can read the EPUB on a Windows 11 PC using...
 

Blue Stacks connection to B4X IDE.

Blue Stacks 5 adb connection is now more difficult for Android developers. It now randomly chooses the ADB port number every time it starts up. For those of you using Blue Stacks to develop, here...
 
Last edited:

[B4X] Postman.com

Here is an app I knew it existed but I had never dared until now to try it and I regret this deeply. It is Postman. With this app available both on-line and as a local app (photo) you can check...
 

B4A on Linux 2022

Hello everyone!

I thought I would share my experience on getting B4A running and Linux. I use Manjaro but this should work on any distro. Also, just to make managing your wine prefixes easier use...
 

Attachments

  • Screenshot from 2022-06-04 10-31-41.png
    Screenshot from 2022-06-04 10-31-41.png
    127.3 KB · Views: 460

AdMob mediation with Meta - Facebook and 20+ other networks (not tested)

This tutorial assumes that you already have FirebaseAdMob2 implemented in your app.

Implementation is tested in native Android app, not in B4A. You can test it if you want.

You need to...
 
Last edited:

💡 Tic-Tac-Toe. Simple XUI cross platform WiFi game example B4A vs B4i vs B4J - Newer developers

Requires B4A V9.90 or higher.

Hello fellow B4X developers.
Here is my example of using a broadcast address to automatically find another devices IP address on a network, then to use that IP...
 
Last edited:

IconKitchen - Generate App Icons

Hi

In case you are looking for this tool. Generate your app icon for mobile devices. It uses, clipart, text and images.

 

GPT & Search application (to sell)

Hello everyone, it's been a while since I posted here.
I had developed a conversation and research application in artificial intelligence, before publishing I offered two types of sales to see if...
 
Last edited:

[outdated] Perform GooglePlayBilling Subscription Up/Downgrade

This solution is deprecated and applied to the previous billing version.

Please do not use it.






--------------------------------------------------------

Based on Erel's solution to the...
 

Attachments

  • BillingTestApp011.zip
    75.2 KB · Views: 666
  • 2019-11-06_14-41-00.png
    2019-11-06_14-41-00.png
    34.5 KB · Views: 467
  • 2019-11-06_14-38-27.png
    2019-11-06_14-38-27.png
    75.1 KB · Views: 422
  • 2019-11-06_14-58-16.png
    2019-11-06_14-58-16.png
    60.2 KB · Views: 402
  • 2019-11-06_14-56-50.png
    2019-11-06_14-56-50.png
    62 KB · Views: 405
  • 2019-11-06_14-51-52.png
    2019-11-06_14-51-52.png
    51.6 KB · Views: 398
  • 2019-11-06_14-51-00.png
    2019-11-06_14-51-00.png
    37.9 KB · Views: 396
Last edited:

Connect B4A to Bluestacks 5

Step 1. Copy the adb file path

- Locate the adb file in the SDK folder.
- Copy the adb file path

Path example: C:\B4A\sdk\platform-tools

Step 2. Connect the B4A adb with the emulator IP

- Open...
 

B4A Rapid book updated to B4A 12.50

I am happy to announce that both the paperback, PDF and EPUB versions of the B4A tutorial and reference book “B4A Rapid Android App Development using BASIC” by Wyken Seagrave have now been updated...
 

[B4X] [B4XPages] Intent based camera

B4A + B4i project that uses an intent in B4A and the Camera object in B4i to take a picture using the default camera app.

The B4A code depends on JpegUtils...
 

Attachments

  • CameraIntent.zip
    125.1 KB · Views: 302
Last edited:

[B4X] Firebase Push Notifications 2023+

Google has deprecated the previous method of sending push notifications. It will stop working on June 2024.
If you have an already working solution then you only need to update the B4J side. Do...
 

Attachments

  • PushClients.zip
    16 KB · Views: 768
  • B4J-SendingTool.zip
    1.8 KB · Views: 498
Last edited:

Full private chat and multi-chat (similar to Whatsapp)

NovaChat is a private chat class module (Multi-User in next version) that has almost all the functionality of instant messaging.

Capture.PNG
Capture 1.PNG
Capture 3.PNG

NovaChat uses the phone as a...
 
Top