Tutorials & Examples

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

FTP Example using a "Download-Queue"

It began in the english Forum.

In the english part of the forum i wrote an ftp example for @schimanski a few days ago which uses a "FTP Download Queue". all files are put into a list...
 

Attachments

  • ftpqueue.zip
    9.4 KB · Views: 1,330
Last edited:

How to read xml web service and store results into sqlite database

The attached example shows how to read any xml structure and store the results into a SQLite database table using a service

The example uses dbutils and a webview to show the results very...
 

Attachments

  • RssReader.png
    RssReader.png
    147.6 KB · Views: 1,136
  • savexToDb.zip
    13.6 KB · Views: 1,223

Two functions on arrays

Pending confirmation by Erel, I post three functions about arrays and maps that may be useful.

The first is to verify that an object variable is an array:
B4X:
Public Sub IsArray(Var As Object) As...
 
Last edited:

Wrapping for functionality

This post is aimed at those who may be new to programming concepts as well as b4a.

There are a lot of posts on the forum about wrapping java libraries for use with B4a, but that's not the only...
 

Attachments

  • MsgBoxWrapper.zip
    10.9 KB · Views: 491
Last edited:

Duck Typing and Command Design Pattern Example

I hope I have got this example right. Any positive criticism or improvements will be welcome!
I have made this to try learn and understand how this all works. This could also help others to...
 

Attachments

  • DuckTypingCommandPattern.zip
    10.2 KB · Views: 491

My first class module - Settings menu panel - Feedback please

2014-01-29_20-17-39.png 2014-01-29_20-17-33.png Hi,

For an app i'm working on I've created this settings menu class. Currently it is used to set a global value called language in the main activity. Of course you...
 

Attachments

  • settings_menu.zip
    8.5 KB · Views: 544
Last edited:

Moving Things

I'm just playing but play along with me, here's a very simple B4a project which you can load up.

Please change it and post your version here.

I like to move it move it.

ian
 

Attachments

  • MoveThings.zip
    7.8 KB · Views: 612

How to connect iMpulse Controller to your App

You can find Game controllers as iMpulse Controller.
It works by Bluetooth. So your App can have remote control
http://www.impulsecontroller.com/

This device need Android 4 or higer...
 

Send Text File using BlueTooth

I needed to send a text file created by my program to a users PC using Bluetooth.
Not finding anything exactly like this in the B4A forums I searched the web and came across this article...
 

Instruction set , commands?

I have buy b4android book and also the compiler.
I search the site, and the book of course,but I can not find the commands for compiler in one place like a list with a description what do each...
 

Simple Socket Class

Hi All

I have created a simple socket class for a project we a doing. Thought I might share it. Hopefully it will be of use to others.

Regards

John.

B4X:
Type=Class
Version=2.71...
 

Attachments

  • sockets.bas
    3 KB · Views: 746
Last edited:
Top