Tutorials & Examples

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

Native Ads Unified with MediaView

* This ads are still not available to all developers.

The code of the example are based in this code from @Erel (Thanks!)...
 

Attachments

  • nativeads_mediaview.zip
    8.4 KB · Views: 834

fuel gauge

Thanks to the excellent work of Klaus and Rotating Needle exemple, I needed a gas gauge

Screenshot_1540675869.png


B4X:
#Region  Project Attributes
    #ApplicationLabel: fuel gauge...
 

Attachments

  • fuel gauge.zip
    425.6 KB · Views: 977

Image upload with PHP and PostMultipart

Hi all.
I found this example in some old folders on my pc and decided to share here.
it is a simple image upload example with postmulipart and PHP.

Download Here 700kb
 

Onkyo TX-NR676 Receiver controlled over IP Address

I want to control my Onkyo TX-NR676 Receiver from my Music Program (Turn On, Set Volume, Set Listening mode, etc) so I created this little test program to figure out what I needed to do.

In case...
 

Attachments

  • Screenshot_20190119-145837.png
    Screenshot_20190119-145837.png
    18.5 KB · Views: 700
  • Onkyo-TX-NR676.zip
    26.3 KB · Views: 574

Convertir Numeros a Letras

B4A Convertidor de Numeros a Letras
 

Attachments

  • ConvLetras2.Zip
    425.1 KB · Views: 726

Android Native Contacts Phone Number Picker

This is an example of choosing a phone number from native android contacts picker.
 

Attachments

  • nativeandroidphonenumberpicker.zip
    11.8 KB · Views: 746

Easy Sample Translator inside a Code

I share this little code to handle translation within the app

upload_2018-12-28_16-48-19.png


regards
 

Attachments

  • translate.zip
    8.7 KB · Views: 899
Last edited:

SQLiteLight four simple SQLite projects

Some users asked here for a simple SQLite project as an example to make their first steps in SQLite.
The already existing examples seem beeing somewhat complicated for beginners.

These...
 

Attachments

  • SQLiteLight1.jpg
    SQLiteLight1.jpg
    18.6 KB · Views: 6,610
  • SQLiteLight2_1.jpg
    SQLiteLight2_1.jpg
    41.1 KB · Views: 6,461
  • SQLiteLight2_2.jpg
    SQLiteLight2_2.jpg
    20.1 KB · Views: 5,881
  • SQLiteLight2_3.jpg
    SQLiteLight2_3.jpg
    16.4 KB · Views: 5,622
  • SQLiteLight2_4.jpg
    SQLiteLight2_4.jpg
    32.3 KB · Views: 6,038
  • SQLiteLight1.zip
    130.9 KB · Views: 844
  • SQLiteLight2.zip
    204.2 KB · Views: 735
  • SQLiteLight3.zip
    230.8 KB · Views: 720
  • SQLiteLight4.zip
    229 KB · Views: 754
Last edited:

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...
 

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...
 

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

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

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

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

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

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,166

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"...
 
Top