Tutorials & Examples

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

Tick Tock Test Timers Class

Works fine but the timer keeps cutting off in my rather big and complex app.... oh well I'll have to figure that out then.

Still perhaps useful to some.

You send it a number of milliseconds like...
 

Attachments

  • TickTockTest.zip
    8.3 KB · Views: 621
Last edited:

B4a projects source code.

Hi everyone,

For the last 10 hours, I browsed every threads in "Share your creations" because I wanted to gather a lot of source code. About 1/6 of the posts actually have source code shared...
 
Last edited:

LayoutView: The alternative way to load and use your layouts

Introduction

Following the moto design-more-code-less in our encapsulated b4a development speed-wagon, I created a LayoutView class that is also the core of the...
 
Last edited:

Hello world - Installing Android Emulator

XtraViews: DialogView Tutorial (quick and dirty)

[Arguably] Better Ninepatch

Hi guys. I write here hoping to help a few people.

Recently I started a project that makes heavy use of user personalization. I had bad experiences with nine patches in the past, even though I...
 

Instead of Label, consider a HorizontalScrollView

Hello,


I'm here to convince you to use HorizontalScrollViews instead of labels in your interfaces.


Labels get messy when you need them to display a string of indeterminate length within a...
 
Last edited:

Downloading files using Service module

It is recommended to use HttpUtils2 instead of this code module. HttpUtils2 is more powerful and is easier to work with.

As discussed in the Services tutorial, some tasks are...
 

Attachments

  • DownloadService.zip
    6.9 KB · Views: 6,482

Create dynamic jpg using b4a and php

With this samplecode i will demonstrate to create a dynamic jpg from other image, put text´s on it, copy another image to it...

ATTENTION: This b4a-example uses CreateMap so you need B4A...
 

Attachments

  • Createjpgwithphp.zip
    9.2 KB · Views: 651
  • createimage.php_1.1.zip
    2.4 KB · Views: 632
Last edited:

RSAndEngine Tutorial

logo.png

(Image belongs to Nicolas Gramlich)


It's almost here!
AndEngine for Basic4Android.
...
 
Last edited:

Android push notification (C2DM) framework and tutorial

How they do... #3

How do they... ? #3​

<Version française/french version>

This third tutorial returns to the interface of PlayerPro of BlastOn LLC. We are going to reproduce the artists list and...
 
Last edited:

Android Arkanoid game example

This is a "bare" arkanoid game:

arkanoid_1.png


The code is made of 4 modules:
Main - main activity. Also holds the main timer that is running the...
 

Attachments

  • Arkanoid.zip
    73.3 KB · Views: 2,687

How to Install Android x86 in a Virtual Machine using the VMWARE Player(free)

How they do... #1

How do they... ? #1

(French version/Version française)

This tutorial is the first in a series that will show you how to reproduce some user interfaces (UI) with the classes and...
 
Last edited:

Git Version ID's: Getting Tags, Commits and Hash Info

To have the Git Version Info embedded in your B4A application it is necessary to do several steps.

1. Copy a batch file (gitv.bat) to a location in the path you are using.
2. Get and install the...
 

Attachments

  • GitVersionInfoForB4A.zip
    5.6 KB · Views: 309
  • asllc-gitversionnumberforb4a-447b30a1af20.zip
    12.5 KB · Views: 277
Last edited:

Guess my number - Visual designer & Events

Displaying Math Formulas in pretty form

Hi,
I want to share with you one method to display math equations and formulas with a very good result without internet connection.I'm using it in one of my apps(in developing) and works fine with...
 

Attachments

  • SC20140211-014859.png
    SC20140211-014859.png
    30.3 KB · Views: 1,599
  • PrettyMathFormulas.zip
    327.5 KB · Views: 1,648
Last edited:

Getting picture from gallery

How do I browse and select a picture from the gallery?

:sign0163:
 

[SAMPLE CODE] Print from your Android app

This sample will show you how to print from your smartphone or tablet using Google Cloud Print (login required).

Requirements:

1 - Google GMail account.

2 - The web browser you...
 

Attachments

  • CloudPrintingCode.zip
    57 KB · Views: 2,188
Last edited:
Top