Tutorials & Examples

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

[Installation Guide] Amazing Order Taking App

Disclaimer: I do not create/own the original project source code therefore please don't ask me to provide full support. I am just helping a member to make this project work. I do not get any money...
 

[Installation Guide] [B4A] Supermarket, Restaurant, Pharmacy, Store Delivery

Disclaimer: I do not create/own the original project source code therefore please don't ask me to provide full support. I am just helping a member to make this project work. I do not get any money...
 

[UI] [B4A] Real State App UI Example + Source Code

Attachments

  • Real State App.zip
    264.7 KB · Views: 1,353

Publish New App to Google Play

1. Click on button "Create app".
00.png


2. Enter your App name. Select App or Game.
01.png


3. Scroll down. Check all the declarations. Click on button "Create app".
02.png


4...
 
Last edited:

Working with Calendars using ContentResolver (Query, Insert, Update, Delete)

Hello,

i´m playing around with the Calendars on my Device and want to Query them. I found out how it works using ContentResolver querying the ContentProvider available in Android.

You can...
 

Attachments

  • GoogleCalendarClientV0.12.zip
    20.4 KB · Views: 1,160
  • GoogleCalendarClientV0.13.zip
    20.4 KB · Views: 1,179
  • GoogleCalendarClientV0.2.zip
    21.7 KB · Views: 1,118
Last edited:

Using B4A to develop for a Wear OS 2 watch

I just got a Skagen Falster 2 watch and logged my first experiences of trying to use B4A to develop aps for it. Here's what I did!

First of all setup the watch with the Wear OS app on a phone...
 
Last edited:

[B4A] [Class] [Contacts] wmContactsUtils - enhanced ContactsUtils

This is an enhanced version based on @Erel 's ContactsUtils v1.20.

NOTE: DeleteContact didn't work on an Amazon Fire tablet with Android 5.1.1 but did on a Moto X Style phone with...
 

Attachments

  • wmContactsUtils.bas
    37.1 KB · Views: 744
Last edited:

Material Design Icons (Update B4A / B4J)

[SMM] Top sites example

This example uses SimpleMediaManager to show a list of 400 top sites, based on Alexa dataset.

1633602625321.png


Each item is made of two panels and a label:
- Panel for the favicon.
- Panel for the...
 

Attachments

  • Project.zip
    231.5 KB · Views: 659
Last edited:

[B4X] MQTT - Connect & Reconnect

The ConnectAndReconnect sub takes care of connecting to the broker and reconnecting if the connection has broken.
It sends a "ping" request every 5 seconds to help the MQTT client recognize...
 
Last edited:

Transfer files across memory boundary

Hi all,

This is a simple example of moving files across the internal/external memory boundary.
EG Transferring a CSV file from an external location to an internal folder to load a database in the...
 

Attachments

  • XFer.zip
    13 KB · Views: 581

[B4X] Smart String Literal

The "smart string" literal is a more powerful version of the standard string literal.
It has three advantages:
  1. Supports multi-line strings.
  2. No need to escape quotes.
  3. Supports string...
 
Last edited:

ABWearOS Library 1.0

Last edited:

File Choose

Quickly create a File_Chooser, and choose any type of File without any Library.


Download code Here
 

Get resolution of video from file

MediaMetadataRetriever:
    Dim metaRetriver As JavaObject
    metaRetriver.InitializeNewInstance("android.media.MediaMetadataRetriever", Null)
    metaRetriver.RunMethod("setDataSource"...
 
Last edited:

Flow chart to help choose folder

This flow chart will help you choose the folder in all kinds of different cases:

1626940622208.png


There were reasons to use other folders in the past. Those reasons are no longer relevant, mainly...
 
Last edited:

[UI] [B4A] Camping App UI Example + Source Code

Hello Community!
This is the first UI Example by XTools Group and more examples are on the way :)
In this example we've used CustomListView & XUI Views Librarys and implement a self-made Bottom...
 

Attachments

  • Camping App.zip
    365.1 KB · Views: 1,525

[B4X] Builder command line script

Hi all,

Attached are txt files that are really windows .bat files. These are to help with building multiple libraries.

If you are building a large project with multiple libraries it can get hard...
 

Attachments

  • B4AExampleCompileScript.txt
    4.4 KB · Views: 656
  • B4JExampleCompileScript.txt
    4.4 KB · Views: 632

SQLite Full Text Search on a Large Database and Display on an xClv

The primary objective of this cross-platform B4XPages SQLite FTS example is to show the syntax used for Full Text Search queries in SQLite. The database consists of close to 400000 records. It is...
 

Attachments

  • SQLiteFullTextSearchForForum.zip
    20.2 KB · Views: 1,034

Apprendre à utiliser les Vues B4A - Partie 2 (Learn to use B4A views - Part 2)

Learn to use Design Views in B4A (Learn to use Design Views in B4A)


 
Top