Tutorials & Examples

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

Variables & Objects in Basic4android

Types

Basic4android type system is derived directly from Java type system.
There are two types of variables: primitives and non-primitives types.
Primitives include the numeric types: Byte...
 

Eureka: Access Genymotion Folders in Windows Explorer/Finder using Smart Disk Pro

Paypal payment via php :-)

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,764
  • b4aBarcodeGenerator.zip
    18.1 KB · Views: 1,606
Last edited:

B4A Hardback Book Pre-Publication 25% discount

B4A-Ultra-25pc-Discount.jpg

The hardback edition of the best-selling B4A book is now on offer at 25% pre-publication discount.
Books will ship after the...
 
Last edited:

B4A Book Updated to Version 5.50

A new edition of “B4A: Rapid Android App Development using BASIC” by Wyken Seagrave has been released covering B4A Version 5.50. More information about this book can be found here.

It is...
 

Password Protected QR Codes - Creating and Scanning Password Protected QR Codes

I am going to do this example in (at least) two posts. @BarryW has asked me about password protected QR codes - so, here we go.

The attached B4A project has two classes (all with the code...
 

Attachments

  • PasswordQRcodes.zip
    480.3 KB · Views: 2,153
Last edited:

B4A Paperback on sale at 40% discount

Mirror device to windows

Hi
If you use your device with usb debugging in b4a,maybe you love to mirror your device monitor in windows look like other android emulator
Don't worry :D:D:D:D
I found Android mirror
With this...
 

Attachments

  • Archive.zip
    212.8 KB · Views: 549

Designer anchors - Video example

This short video demonstrates how anchors can be used to build a flexible interface.
The small white arrows show the anchors settings.


This layout will properly scale to any...
 
Last edited:

Android views animation tutorial

The Animation library allows you to animate views.
These small animations are really nice and can affect the user overall impression of your application.

The attached program demonstrates the...
 

Attachments

  • AnimationExample.zip
    10.6 KB · Views: 6,724
  • Animation.apk
    77.1 KB · Views: 2,981

Collecting tips - Beginners wanted!

I want to collect useful tips for developers who are starting to develop with Basic4android.
I'm deeply familiar with Basic4android and therefore not always aware of difficulties that new users...
 

Using POP3 to communicate with Android devices

Many developers face the challenge of sending data to remote devices. These devices can be at times offline, sleeping or without proper network coverage.
There are several possible solutions. The...
 

Attachments

  • MailParser.zip
    6.5 KB · Views: 2,971

AppPreference - Application Settings.

Hello all!
I've shared this example of the application of copyright 'application settings' together with the supplied library AppPreference version 1.02:
The main advantage of this version...
 

Attachments

  • B4A AppPreference.zip
    305.4 KB · Views: 446
  • AppPreference v1.02.zip
    133 KB · Views: 366
Last edited:

QR Code Scanning View Finder Width and Height

SLC1.png


This is what I have done to be able to control the width/height of the scanning window in Nelson's project posted at...
 

Attachments

  • NELSON SOLUTION V2.zip
    188.8 KB · Views: 1,182
Last edited:

Using Facebook Login Without Social SDK

First up, there is a fantastic library called 'Social API SDK Wrappers' written by a guru 'Periklis Koutsogiannis'. If you need Facebook or any other social media related integration, please...
 

Attachments

  • SocialExample.zip
    12.6 KB · Views: 913

Make icon for b4a and b4i

Hi
I found a site that make icon for app in android and ios
Upload (jpg,png,..) file to site and export iOS and Android icon.png in standard size
http://makeappicon.com
 

B4A Book Now Covers version 5.20

B4A-324x400.jpg

A new version of the best-selling book by Wyken Seagrave is available covering version 5.20 of B4A.

In 601 pages, this book includes...
 

Running simultaneous tasks at different speeds

Introduction:

I came across this challenge about one year ago, when I was trying to integrate sprites that were designed to be displayed at 24 FPS on a 60 FPS game loop.
For the sake...
 
Last edited:

My LibGDX / Game Creation advice

Creating your own games can be a lot of fun, but it's important to get things right from the beginning.

Here's what I've learned the hard way:
  • Use an Asset Manager, it's a bliss...
 
Last edited:
Top