Tutorials & Examples

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

Currency Converter - Http web services and more

Attachments

  • CurrencyConverter.zip
    9.8 KB · Views: 2,973

Cryptography - MD5 & SHA-1 (inline java code)

It only prints to the log. Change the "message" in Sub Activity_Create
 

Attachments

  • Cryptography_MD5_and_SHA1.zip
    12.4 KB · Views: 1,239

Creative UI/UX Designs + Source Code

Well, from today I am here to help you create more beautiful applications.
B4X Family is a wonderful yet very simple tool for designing functional and beautiful applications
I have been acquainted...
 

Attachments

  • 1.profilePagerPanel.zip
    142.7 KB · Views: 1,058
Last edited:

Creating custom Text Selection actions with ACTION_PROCESS_TEXT

Android 6.0 Marshmallow introduced a new floating text selection toolbar, which brings the standard text selection actions, like cut, copy, and pastes, closer to the text you’ve selected...
 

Attachments

  • ACTION_PROCESS_TEXT.zip
    9.1 KB · Views: 526

Creating and Using a Virtual SD Card - Tutorial

Creating and Using a Virtual SD Card - A Tutorial

Here is a tutorial for creating a virtual SD-Card, copying your SD-card files and reading them. It includes screen-shots of each stage and a...
 
Last edited:

Creating and Packaging a Wear App

This tutorial will show you how to create an app for a Wearable device and how to package it so it auto installs.

What is Android Wear?
For those that do not know, Google has released...
 

Attachments

  • WearTest(handheld).zip
    109.1 KB · Views: 825
  • WearTest(wearable).zip
    5.5 KB · Views: 763
Last edited:

Creating a Wear device avd / emulator

So, Google released the new Android Wear platform and obviously we all want to try it out. I have been very lucky and have managed to get my hands on a real device. A Samsung Gear Live to be...
 
Last edited:

Creating a table view based on ScrollView

A much improved version is available here.

You can use the code in this example to show data in tabular form.

table_1.png


The table is...
 

Attachments

  • TableExample.zip
    5.7 KB · Views: 6,553
  • TableExample1.1.zip
    12.2 KB · Views: 6,939

Creating a sticky service - long running background tasks

Edit: Things have changed with newer versions of Android and new restrictions. Sticky services should not be used any more.

Background service example...
 
Last edited:

Creating a simple Kotlin wrapper library

The purpose of this tutorial is to show a way of compiling Kotlin into your developed library as a “fat” JAR (a JAR file containing all necessary dependencies and classes bundled in).

Compared to...
 
Last edited:

Creating a simple C/C++ based B4A library with NLG

With this video I intend to show how simple it is to create a native based B4A lib, using my Native Library Generator.
For that purpose, I'll be writing and testing my code in Visual...
 
Last edited:

Creating a Prototype Mobile App Using JQuery Mobile

I have been working on a tool to create a prototype app using JQuery Mobile inside B4A. Currently the only way to create a prototype is via code. You can later distribute this prototype as an apk...
 

Attachments

  • login.png
    login.png
    74.6 KB · Views: 721
  • add site.png
    add site.png
    74.4 KB · Views: 585
  • register.png
    register.png
    77.3 KB · Views: 587
  • sites.png
    sites.png
    73.4 KB · Views: 591

Creating a linked list using Type keyword

The Type keyword is used to create your own types or structures. You can use such types to create simple structures that group some values.
However you can also use it to create more complex...
 

Attachments

  • LinkedList.zip
    4.9 KB · Views: 1,190

Creating a Library with Simple Library Compiler (SLC)

This is for people like me - B4A libraries for Dummies 101 (via SLC). I will attempt to explain it the best I can (there is nothing in this library that one can't do via B4A code. This is purely a...
 

Attachments

  • JHSMATH.zip
    7 KB · Views: 851
  • Screen Shot Second Library.png
    Screen Shot Second Library.png
    15.2 KB · Views: 1,220
  • src.zip
    3.8 KB · Views: 789
  • src (2).zip
    4.5 KB · Views: 771
  • Help.png
    Help.png
    79.8 KB · Views: 1,141
Last edited:

Creating a cross-platform "dialog" class with input validation

I'm currently developing an App that'll be released for Android and IOS. It presents "files" to the user, allows them to select a file and then presents the content for editing, and finally allows...
 

Attachments

  • ValiDialogs (0.02).zip
    15.7 KB · Views: 343
Last edited:

Creating a build number for your project's compilation

It has been discussed in other places on wish lists etc that each time we compile our projects under B4A that it would nice to have a BUILD number increment by 1.

Using the CustomBuildAction...
 
Last edited:

Creating 1D and 2D Barcodes using inline Java Code and the ZXING core library

The attached project has 10 classes that create the following 1D and 2D barcodes:

1. QR Code - 2D
2. Datamatrix - 2D
3. Aztec Codes - 2D
4. PDF417 - 2D
5. Code 128
6. EAN8
7. EAN13
8. Code 39
9...
 

Attachments

  • core-3.2.1.zip
    483.9 KB · Views: 1,508
  • b4aBarcodeGenerator.zip
    18.1 KB · Views: 1,350
Last edited:

Created with Basic4android Logo

Hello Erel:

Do we have a Logo "Created by b4a" or similar to put it in our programs? It is a good idea to extend the use of b4a...
 

CREATE, UPDATE, DELETE AND CONSULT REGISTERS ON GOOGLE SHEET FROM YOUR APPLICATIONS

Searching the internet I found a service that allows you to convert any google sheet into a json api, it has a free version that allows you to consult and add data, connecting to the api is quite...
 

Create your layouts based on percentages

Attachments

  • lm PercLayout.zip
    16.6 KB · Views: 459
Last edited:
Top