Tutorials & Examples

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

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: 449

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: 469

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: 603

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: 605

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: 916

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: 7,848
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,344
Last edited:

How to Install Android 8 on Virtualbox

I found a Youtube video showing you how to install Android 8.0 on a Virtualbox.
This gives you Android running on a desktop (virtual) machine, and it is all free!
(I knew you'd like the "free"...
 

Clv Simple Chat Example (adjustable text size)

Hi All.
Here is a very very simple example of how make a chat using clv.
the text and name is ajustable automatic, you can receive any text and the code will ajust using the correct size.

The...
 

Attachments

  • exampleclv.zip
    301.3 KB · Views: 1,060

B4x / PHP compatibility thread

A lot of developers like me use php as the backend component on a server to communicate with B4x apps. My intention is to create a thread with some "How to's" and best practices. Please feel free...
 

User's Guide

Last edited:

For beginners: Playing with views (dynamic)

This simple example shows how to add & access views (buttont, labels, imageviews, scrollviews) to get a nice & good looking layout.

I don't use dip (except at one code line) to have a "fixed &...
 

Attachments

  • PlayWithViews.zip
    71.8 KB · Views: 801

Filter the Contents of a ListaVieW By Sql code

This example shows how to filter the contents of a database and load the results in a listview using an edittext. for each letter entered in edittext the results are shown in the listview. It...
 
Last edited:

ImageDownloader - The simple way to download images

Attachments

  • ImageDownloader.zip
    8.1 KB · Views: 7,317
Last edited:

Basic difference between a Standard ListView and Amir_RecyclerView

During the introduction to Amir_RecyclerView (ARV), it was necessary to understand the basic relationships between data and display.

ListView is a view group that displays a list...
 

Attachments

  • Events_AmirRecyclerView.jpg
    Events_AmirRecyclerView.jpg
    107.7 KB · Views: 613
Last edited:

[B4X] ”The ultimate guide to proper use of animation in UX”

I happened to come across a very well written, and absolutely beautifully illustrated, article on how to best use animation in UX. I thought the forum might appreciate it, so here’s the link...
 
Top