Tutorials & Examples

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

B4a bridge via LAN

Just bought an Android TV box and I mentioned that you can connect to the bridge via LAN (usually WiFi). Even it shows "Not connected to wireless network" and doesn't show a ip address the...
 

CharSequence / CSBuilder Tutorial

B4A v6.80 adds several new features related to the ability to format rich strings.

upload_2017-2-14_12-30-39-png.52855


CharSequence is a...
 
Last edited:

Solution for: Google Sign In Error 12500 x Internal Testing

The problem: If anyone is using the Google Play's Internal Testing feature to make your app available for selected users, be aware that Google changes the app and therefore the APK signature...
 

[B4X] [BitmapCreator] Creating cross platform games

Last edited:

Gnss Status Updates

Starting from Android 7 we can extract more information about the satellite navigation status.
GPS is the first satellites system (the American system). There are several more systems now...
 

Attachments

  • GnssStatus.zip
    10.1 KB · Views: 1,499

[B4X] Clipper FoxPro Xbase++ Functions

When I started again developing in B4A, I looked around my developed desktop applications to make something similar, as I will know what the result should be.

I choose my small attendance program...
 

Attachments

  • Clipper FoxPro Xbase Functions.txt
    1.7 KB · Views: 846

Bomb Countdown Example

Hi all.
I found this example in some old folders on my pc and decided to share here.
it is a simple Bomb Countdown with timer, sound and vibration.

I think the most important here is the...
 

Attachments

  • contador.zip
    135.3 KB · Views: 939

BLE - Heart Rate Monitor

HeartRateMonitor class searches for peripherals with the heart rate service (0x180D).

Once a peripheral device is found and connected then a notification is set for the heart rate measurement...
 

Attachments

  • HeartRateMonitor.bas
    1.9 KB · Views: 2,861

IDE Tip: Alt + N = Recent subs menu

Not sure how many developers are familiar with the list of recent subs:

SS-2018-10-22_15.39.07.png


You can open it with Alt + N.
It is very useful...
 

Left menu layout examples (jfeinstein10)

Hi all.
I found this example in some old folders on my pc and decided to share here.
it is a simple layout example of SlidingMenu

this example use this lib...
 

Tabela Fipe Api (Brasil Cars, Trucks and Motorcycles prices)

Hi all.
I found this example in some old folders on my pc and decided to share here.
it is a simple example of how consume a api with http.

Fipe is a organization with control of cars...
 

Attachments

  • consultafipe.zip
    262.8 KB · Views: 612

Simple Currency Api (Brazilian)

Hi all.
I found this example in some old folders on my pc and decided to share here.
it is a simple example of how to get values from a website, on this example we get the bitcoin and dolar...
 

Attachments

  • bitcoin.zip
    48.1 KB · Views: 682

Fidget Spinner HTML example (with assets files)

Hi all.
I found this example in some old folders on my pc and decided to share here.
it is a simple Fidget Spinner example on B4A

ss.png


Ps: this example use a webview, a html code...
 

Attachments

  • fidgetspinner2.zip.zip
    457.1 KB · Views: 780

Fidget Spinner example

Hi all.
I found this example in some old folders on my pc and decided to share here.
it is a simple Fidget Spinner example on B4A

fid.png




Download Here

Ps: on the zip...
 

Simple punch the president game (Incomplete)

Hi all.
I found this example in some old folders on my pc and decided to share here.
it is a simple game example to punch the president

1.jpg
2.jpg
3.jpg



This example...
 

Hide Packagename and UserAgent on Webview

Hi all.
I found this example in some old folders on my pc and decided to share here.
it is a simple example of how hide the packagename and a user agent on a webview.

This example use the...
 

Attachments

  • esconderwebview.zip
    243.6 KB · Views: 802

Send Firebase notification via PHP (CURL)

Hi all.
I found this example in some old folders on my pc and decided to share here.
it is a simple example of how send a firebase notification via php

PHP:
<?php
        $url =...
 

Attachments

  • firebasephp.zip
    882 bytes · Views: 1,178

Android Charts Framework

The purpose of this framework is to allow you to easily add different types of charts to your projects.
The current version supports pie charts, line charts and bar charts.

The framework is...
 

Attachments

  • Charts.zip
    9.6 KB · Views: 8,316
Last edited:

SMS and CALL_LOG permissions are no longer available

Google has changed their policy regarding the following permissions:
READ_SMS, SEND_SMS, WRITE_SMS, RECEIVE_SMS
READ_CALL_LOG, WRITE_CALL_LOG, PROCESS_OUTGOING_CALLS

Only the default phone or...
 

Version safe APK installation

As explained in this tutorial all store apps will soon be forced to target the latest SDK.

This means that we can no longer rely on the OS backwards compatibility features and need to...
 

Attachments

  • InstallAPK.zip
    131.5 KB · Views: 3,794
Last edited:
Top