Tutorials & Examples

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

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: 3,046

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: 473
  • AppPreference v1.02.zip
    133 KB · Views: 391
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,220
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: 951

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:

Use Font instead of Icon

Hi.
Many programmer use picture in them project
Too i used in last.
But now with Font awesome,we can use font instead of icon
of course font is limit and the publisher can add icon to font
OK...
 

Square Progress Bar

It wraps part of this Github project. Library files are in the /files folder of the B4A project. Copy them to your additional library folder. Posting the zipped B4A project as well as the...
 

Attachments

  • SquareProgressBar.zip
    314 KB · Views: 1,124
  • src.zip
    10 KB · Views: 931
Last edited:

Collision Detection for Tile-based Platform Games

For those interested in creating their own collision detector, here the tutorial I'm currently studying...
 

How they do... #2

How do they... ? #2

How do they... ? #2

(French version/Version française)

I decided to dedicate my second and third tutorials to PlayerPro of BlastOn LLC. I'll show you...
 
Last edited:

Converting VB6 to B4A

Below is a table listing features of Visual Basic 6 and their equivalents in B4A.

If you find errors or wish to add other features, post a reply here to have your input integrated into the table...
 
Last edited:

Basic4Android for Linux (Ubuntu) - Installation Script

Hy everyone,

Here is a little script to install Basic4Android on Linux (realized and tested on Ubuntu 12.04 LTS 64bit )

To run this script:
1 - Edit B4A_Installer_en.sh with your favorite text...
 

Attachments

  • B4A_Installer_en.zip
    6.4 KB · Views: 1,270
Last edited:

Arduino ADK Introduction

Introduction

This is one of a series of tutorials about using the Arduino Mega ADK microcontroller with Android devices

There already exists a Basic4android library for the IOIO...
 
Last edited:

Max length of SMS message

My app will be sending SMS messages (using sms.send(phone, text) some of which may be longer than 160 chars. Currently, I have broken these down into multiple messages each of which is < 160...
 

Add shortcuts to your Android application

Attachments

  • Shortcut.zip
    9.5 KB · Views: 2,254
Last edited:

How to create a shortcut DIRECTLY from within your application

I know there are some threads on this topic, and I had the feeling that there might be some misunderstandings. So to save you the time to read through all those threads and get the solution at...
 

Introduction to customizing B4A / B4J with Autohotkey

From time to time there are feature requests and wishes that are too individual to be implemented in the IDE and can easily be done in Autohotkey. For those who do not already know this sometimes...
 

Attachments

  • B4A.zip
    2.6 KB · Views: 609
Last edited:
Top