Tutorials & Examples

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

B4A Book Now Covers Version 11.20

cover-295.jpg


I am happy to announce that both the paperback and electronic versions of the B4A tutorial and reference book “B4A Rapid Android App Development using BASIC” by Wyken Seagrave have...
 

Rapid Debugger

Basic4android v3.0 includes a new debugger named rapid debugger.

SS-2013-10-01_09.57.39.png


The rapid debugger is a very sophisticated debugger with...
 
Last edited:

Basic4android works on linux!

Hi everyone not sure where to post this but Basic4Android works on LinuxMint 11 :icon_clap: using VirtualBox (non opensource version) with XP SP2 installed (DotNet 2.0).

No problems at all...
 

AdMob Mediation (with InMobi)

AdMob supports ads mediation. This means that the ad can come from different ad networks and not just from Google AdMob network.

It can improve the fill rate and the revenue earned.

upload_2016-9-26_16-13-44.png
...
 

Which device are you using?

Just curious as to which device(s) other than the emulator are you using for testing your application. Phone or tablet? Which brand/model/where purchased,etc.? I used a borrowed Cricket android...
 

Googlemaps V3 In A Webview

Hi Everyone,

Until the mapview becomes available, I have managed to "squeeze" the googlemaps V3 JS API into a webview for an app I am working on :sign0060:

The benefit of the JS map over a...
 

GameView - Create 2D Android games - Part I

Attachments

  • GameViewSmiley.zip
    9.4 KB · Views: 5,182
Last edited:

[TUTORIAL] Inter-app Communication with Intents

DISCLAIMER:
This tutorial is written without testing code. There may be bugs, but try to understand the process, not copy the code.


An intent is a way for different applications...
 

listview reading second line

I dont know how to get the second line returned from a listview

help is appreciated

reading from the manual:

However you can change it to any object you like by using:
AddSingleLine2...
 

Different examples with 2 layouts

As an answer to the thread Forms alike, I thought that the examples below would be of general interest.

Attached there are 4 examples with two same layouts but with different managements...
 

Attachments

  • TwoLayoutActivities.zip
    14.1 KB · Views: 2,023
  • TwoPanelActivity.zip
    12.4 KB · Views: 1,676
  • TwoPanelLayouts.zip
    14.5 KB · Views: 1,750
  • TwoActivityLayouts.zip
    8.7 KB · Views: 1,389
Last edited:

AsyncStreamsObject - Send and receive objects instead of bytes

AsyncStreamsObject is a small framework built over AsyncStreams.

Instead of sending and receiving bytes, AsyncStreamsObject allows you to send and receive objects. This makes it much...
 

Attachments

  • AsyncStreamsObject.zip
    10.5 KB · Views: 3,996
Last edited:

B4ABuilder / B4JBuilder - Command line compilation

B4A v4.30 includes a new tool named B4ABuilder.exe (and B4J includes a similar tool named B4JBuilder.exe).

This tool allows you to compile your projects from the command line. This can be useful...
 
Last edited:

Tutorial - Online Scoreboard

I noticed this being asked a few times so I thought I'd share the version I've created.

This implementation requires that you have a server with PHP and MySQL. I am by no means a PHP or MySQL...
 
Last edited:

OCR OFFLINE - Tesseract

I'm working in a project that needs OCR offline. Made a small progress and decided to share here and get some feedback.
I've searched a little bit at this forum and google about it. Found options...
 

Attachments

  • tessTest.zip
    11.9 KB · Views: 1,640
Last edited:

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:

For beginners: How to communicate with a server using httputils2 (Part 3: php, MySql & JSON)

Attachments

  • Example_B4A.zip
    8.6 KB · Views: 2,895
  • php_example.zip
    552 bytes · Views: 2,494

Grid Sample

Hey all,

This grid is like an open source project. It is completely written in a seperate B4A module and allows paging, 'custom' column types, horizontal and vertical scrolling, summation and...
 

Attachments

  • ProAppGridDBSample.zip
    51.7 KB · Views: 1,649
  • ProAppGridSample.zip
    35.5 KB · Views: 1,406
  • ProAppGridAdvSample.zip
    37.9 KB · Views: 1,292
Last edited:

Turn your camera flash light into a torch - also with Java code inside the B4A project

See attached project. I have created this simple torch (on / off) by making use of java code found on the web and compiling it with Simple Library Compiler. Library files inside the /files folder...
 

Attachments

  • JHSTORCH_v1.zip
    23.3 KB · Views: 1,341
  • JHSTORCH_v2.zip
    117.3 KB · Views: 1,848
Last edited:

JumpingSmiley - GameView example III

Attachments

  • JumpingSmiley.zip
    27.7 KB · Views: 1,470
Last edited:

AppCompat with ToolBar - minimal example

In most cases AppCompat is no longer needed and will only make things more complicated.
B4XPages example with dynamic menu...
 

Attachments

  • upload_2017-5-24_12-18-26.png
    upload_2017-5-24_12-18-26.png
    7.3 KB · Views: 3,961
  • AppCompatExample.zip
    9.9 KB · Views: 3,362
Last edited:
Top