Tutorials & Examples

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

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

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

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

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

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

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

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

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

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:

Change DataSet in Amir_RecyclerView

During the basic training in Amir_RecyclerView (ARV), a small test project was created, which may help RV newcomers to familiarize themselves with RecyclerViews.

Topic: "React to...
 

Attachments

  • ARV_Testproject_SimpleRv.zip
    10.2 KB · Views: 374
Last edited:

Solving "Font asset not found" from library

I developed a class (compiled in library) that makes use of Typeface.MATERIALICONS, but when I tried using it there was this error:

HTML:
java.lang.RuntimeException: Font asset not found...
 

Signature Capturing with jSignature and WebViewExtras

Hi everyone:

After several test, now I can use the jSignature javascript plugin I was using in my web, in my B4A app, in order to update my database from b4a the same way I'm doing in my web. I...
 

Attachments

  • jsignature b4a.png
    jsignature b4a.png
    210.9 KB · Views: 878
  • jsignaturesample.zip
    57 KB · Views: 580

Read Key/Token from the B4A Manifest

I was busy with a project and wanted to allow users to enter their own Key/Token via the B4A manifest file and then have access to the key/token via B4A code. I did a quick search and could not...
 

Attachments

  • b4aReadManifestKey.zip
    9.6 KB · Views: 364

Foreground Service with Notification Builder

The app I'm building will allow the user to configure a series of timed actions, then execute them in order using "play" controls looking much like a music player (play/pause, skip...
 

Attachments

  • LongRunningService.zip
    11.6 KB · Views: 808
Last edited:

[TEST RESULT] a <> b vs. Not(a = b)

[UPDATED]

Lately I've fallen into the habit of using Not instead of <> for Boolean comparisons - eg: Not(a = b) instead of a <> b. I'm not sure why I started doing this - probably because I think it...
 
Last edited:

AES128/Rijndael cipher implementation animation

Hi everyone,

in the following link you can find an animation about how the AES128/Rijndael cipher is implemented. As you will see, it is a mix of shifting/mixing/substituting (simple or by matrix...
 
Last edited:
Top