Tutorials & Examples

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

Google Play Billing v.7 Subscription Example

This is a modified example, based in the original example from @Erel.
The previous example only make purchases.
This new example utilizes the Google Play Billing library v.7, changes...
 

Attachments

  • BillingExample7.zip
    11.1 KB · Views: 158

Share Text File Between 2 Apps

This is just another example based on the ManageExternalStorage class provided by @agraham.
It is a response to this question.

B4ARepositoryWriter - writes a text file to an...
 

Attachments

  • B4ARepositoryWriter.zip
    11.3 KB · Views: 137
  • B4ARepositoryReader.zip
    11.4 KB · Views: 132

Http Server hosting a page with download link

Just a simple example with a link to a file stored in File.DirInternal.

Required Archiver library.

1717247361585.png


This is a response to this thread.
 

Attachments

  • HttpServer.zip
    12.4 KB · Views: 144
Last edited:

Running B4A and B4J under Linux with wine - fully functional

I have just managed to install B4A and make it run (including B4ASdkManager) on my Xubuntu 18.04 and, since I have lost two days and one night putting things together, I thought it will be a good...
 
Last edited:

Share SQLite database between 2 devices

This is just a proof of concept to show that Device A behave like a server hosting a database and Device B connects to it accessing the "shared" database. It is a response to this question...
 

Attachments

  • ShareDB.zip
    17.6 KB · Views: 258
Last edited:

Example Spinner to Bold, Italic or other typeface

Widget Layout Background

I'm just trying to add a background image to the 4x1 widget from the following excellent thread...
 

Attachments

  • Widget Test.zip
    193.5 KB · Views: 138

Widget Layout (Resizable, Adaptive)

Not sure if this can be considered a Tutorial, my first attempt.
Lately I started to play with Widgets, mostly for curiosity.
The main problem I encountered was how to design the Layout to make it...
 

Attachments

  • Widget Test.zip
    214.6 KB · Views: 156
Last edited:

FREE Source Code's !

Hi all,

i have updated my webpage and decided to add a tutorial section.

My first tutorial is a simple calculator (+,-,*,/) there is a video tutorial incl. Source code on my site.

I will upload...
 

Attachments

  • t1calc.zip
    3.7 KB · Views: 3,305
Last edited:

[B4X] AS FloatingActionMenu - Open Menu above an item in a xCustomListView


In this example, I let the AS_FloatingActionMenu open over an item that is in a list, no matter...
 

Attachments

  • ActionMenu + CustomListView.zip
    182.1 KB · Views: 147

[B4X] AS TextFieldAdvanced - TitleMode (AboveTextField, FloatText and BeforeTextField)

[B4X] AS TextFieldAdvanced - ComboBox

Attachments

  • AS TextFieldAdvanced ComboBox Example.zip
    179.5 KB · Views: 235

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

[B4A] [B4XPages] OSM Maps / FusedLocationProviderClient GMS

May 4, 2024 - Start of tutorial post...

Based on:

The original project was based on the GPS object /...
 
Last edited:

Very simple GPS Program

Hi guys,

how to use :

1. copy the starter into your project

B4A:
    If Starter.GPS1.GPSEnabled = False Then
        ToastMessageShow("Please enable the GPS device.", True)...
 

Attachments

  • GPSbyJCD.zip
    7.9 KB · Views: 507
Last edited:

[B4XPages] jRDC2 + MySql CRUD + Login

Hi all:


I'm starting (at last) to work with B4XPages, so I've started to adapt the B4XPages + B4XDrawer example.
I think I’ve seen more examples with php + mysql, but no...
 

Attachments

  • jRDC_B4J.zip
    5.4 KB · Views: 1,200
  • sql.zip
    1.5 KB · Views: 1,226
  • Project.zip
    207.2 KB · Views: 1,437
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: 136
Last edited:

[B4X] Supabase - Authentification

The client library does the work for you, you don't have to worry about renewing the access token or using...
 
Last edited:

[B4X] Supabase - Sign In Anonymously


Supabase now supports anonymous user login, the B4X library now too...
 

Navigation Side Menu

I was playing around with the ListView and found it a great use for a menu system.
Following along as much as possible with the design concepts defined on a Material.io design web site.

See...
 

Attachments

  • NavigationMenuOptimized.zip
    14 KB · Views: 713
Top