Tutorials & Examples

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

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.



This is a response to this thread.
 

Attachments

  • HttpServer.zip
    12.4 KB · Views: 215
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: 322
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: 199

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: 245
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,383
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: 220

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

[B4X] AS TextFieldAdvanced - ComboBox

Attachments

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

✅ 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: 599
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,291
  • sql.zip
    1.5 KB · Views: 1,301
  • Project.zip
    207.2 KB · Views: 1,526
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: 816

Receivers and Services in 2023+

In the early days of Android services were simple to use and powerful. They allowed doing all kinds of things in the backgrounds with very few restrictions. That's not the case with newer versions...
 
Last edited:

App Bundle - Publishing NEW apps using AAB to play store with New keystore

There is an increasing concern about how to publish apps using the app bundle (aab) format. I will try as much as possible to simplify the steps for you.

IMPORTANT UPDATE IN POST...
 

Attachments

  • 1616942914153.png
    21 KB · Views: 709
  • 1616943200855.png
    30 KB · Views: 651
  • 1616944045529.png
    106.8 KB · Views: 706
Last edited:

[B4X] AS Settings - SelectionList Property


With this property, you can offer the user several options and he can then select either one or more.
...
 

Attachments

  • AS Settings SelectionList Example.zip
    179.2 KB · Views: 260
Last edited:

B4X Ui/Ux ?‍??‍?

Ui max_co

Hello friends
?‍??‍?
We are here to show the world the power and beauty of B4X-built apps

New post

17-Drawer Ui (Figma)...
 

Attachments

  • ddfs.jpg
    218.1 KB · Views: 684
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…