Tutorials & Examples

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

Firebase Realtimedatabase get a chat or content preview (filtering)

Hello,

a another Tutorial in the category how to program a nice chat app.
This Tutorial builds on this.

The Realtimedatabase lib. supports filtering, with this feature you can filter your...
 
Last edited:

Firebase Realtimedatabase user is typing feature

Hello,

A nice feature is to display whether a user is typing or not.
istyping.PNG

Most apps have a bubble added or by WhatsApp is a simple "wrtiting.." on top.

This is the result of this...
 
Last edited:

Multiple instances of the same widget

General Information

Normally it is not possible to create several widget instances of the same homescreen widget which all display different data.

I found a solution for this and with...
 

Attachments

  • WorldClock1_2.zip
    55.3 KB · Views: 1,395
Last edited:

Setting up Firebase messaging in 5 minutes

Important for Huawei users (or others):

Make sure your energy settings don't pause your app (even the firebase service). Huawei calls it "protected apps". If your app isn't protected...
 

Attachments

  • 7.JPG
    7.JPG
    15.6 KB · Views: 882
Last edited:

Help file for beginner programmers on Android platform.

I made for beginer detailed description of how to prepare a computer and phone to create mobile applications on the platform Android. I myself Russian therefore made the instruction in Russian and...
 

[B4X] FTP Server code update for multi-network card hosts

Update (2017/10/17): For code changes that make this a true B4X update, see post #4

This relates to the FTP Server code posted here...
 
Last edited:

Connect Android to MS SQL Server Tutorial

Attachments

  • MsSQL.zip
    6.3 KB · Views: 3,622
Last edited:

(old) Google Maps Android v2 tutorial

Attachments

  • GoogleMaps.zip
    17.8 KB · Views: 11,805
Last edited:

Creating a sticky service - long running background tasks

Edit: Things have changed with newer versions of Android and new restrictions. Sticky services should not be used any more.

Background service example...
 
Last edited:

Firebase Invites/ DynamicLink/ DeepLink [relationship between]

Firebase has several extremely useful free server-based features for developers of mobile apps.
The free "Spark Plan" is suitable for small business applications.​
...
 
Last edited:

Android In-App Billing v3 Tutorial

Last edited:

Third party tool for screen recording

I'm mostly using B4A-Bridge to connect the IDE to the Android devices. The built-in video recording feature doesn't work with B4A-Bridge.

I found a good alternative...
 

Programmatically Setting AIRPLANE_MODE_ON and Off

ScrollView example

The ScrollView is a very useful container which allows you to show many other views on a small screen.
The ScrollView holds an inner panel view which actually contains the other views.
The user...
 

SQL Fiddle

There is a very useful online tool called SQL Fiddle that allows you to build test tables, populate them with data & run queries on them. This is great if you are trying to figure out how...
 

Using a PlayStation 3 controller with your Android Device

Using a PlayStation 3 controller with your Android Device
This tutorial is an extension of the B4A Generic Gamepad Support thread.

As you can...
 
Last edited:

Using Procedure in rdc Server

Hello Every Who can not know to use procedure with rdc there are two ways To do that

the first one is use Call keyword like this
B4X:
sql.getcategoryproducts=Call Getprodbycat(?)

this way...
 

B4A-Bridge a new way to connect to your device

There are several options to develop with B4A:
- Android emulator or a VM.
- Connect to a real device in USB debugging mode
- Connect to a real device with B4A-Bridge.

I recommend starting with...
 

Attachments

  • upload_2016-9-29_9-29-57.png
    upload_2016-9-29_9-29-57.png
    14.3 KB · Views: 6,581
Last edited:

B4A 7 Book in Russian

B4A is now available in a book that covers version 7.01.

For purchase visit http://pennypress.co.uk/b4a-russian/

ANDROID – это полюбившаяся во всем мире операционная система для мобильных...
 

LoadBitmap / LoadBitmapResize / LoadBitmapSample

This tutorial explains the differences between the three methods.

The bottom line is that the best option is to use LoadBitmapResize and set the container gravity, if possible, to Gravity.CENTER...
 
Top