Tutorials & Examples

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

Make a book

I want to make a book of 250 pages and browse in the form of images.
 

RoundBitmapWithBorder - inline java code

Attached project draws a circular bitmap within an imageview including an adjustable border (colour and width) around the image. Making use of inline java code. Only JavaObject V2.01 required...
 

Attachments

  • RoundBitmapWithBorder.zip
    85.6 KB · Views: 953
Last edited:

ASCII ART

Have done this purely for the fun of it. The project uses 70 ASCII characters to generate an ASCII ART image from the bitmap. The ASCII ART image is actually a label with the label's text set...
 

Attachments

  • b4aAsciiArt.zip
    21.2 KB · Views: 745
Last edited:

Optimization with B4A

OPTIMIZATION WITH B4A

A case where optimization is required:
One of the most time-consuming task in a RTS game is to compute paths for all units because of the number of units...
 
Last edited:

JavaFlacEncoder

This has been requested a couple of times on the forum and to get the ball rolling, here is an example of accessing the javaFlacEncoder with Javaobject.

Files and documentation are available...
 

Attachments

  • JavaFlacEncoder.zip
    192.7 KB · Views: 640
  • JavaFlacEncoder2.zip
    342.4 KB · Views: 654
Last edited:

Very fast Andorid Emulator

VERY FAST ANDROID EMULATOR !

Hallo guys

i want to share with you my latest discovery

i am not sure this thread belong here but maybe it does because its an tutorial

so...
 
Last edited:

LibGDX - New Project Template

Hi guys!

Here's a minimalistic libGDX template which can be useful when starting a new project.
It includes a background, a title and an array of objects. It does not include any...
 
Last edited:

code for arduino and android communication .

hi guys . i am new in basic4android programing . im having difficulties on coding(its my first time) b4a.
im making a program that will light a led on/off using arduino and android . can someone...
 

Compiler Warnings

Starting from v2.70, Basic4android includes a warning engine. The purpose of the warning engine is to find potential programming mistakes as soon as possible.

The warning engine runs whenever you...
 

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,819
  • b4aBarcodeGenerator.zip
    18.1 KB · Views: 1,669
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,216
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: 580

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,778
  • Animation.apk
    77.1 KB · Views: 3,031
Top