Tutorials & Examples

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

[TUTORIAL] Inter-app Communication with Intents

DISCLAIMER:
This tutorial is written without testing code. There may be bugs, but try to understand the process, not copy the code.


An intent is a way for different applications...
 

Adaptive Icons

Last edited:

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
 

B4A Book English Edition Updated to Version 8.80


I am happy to announce that the English version of the B4A tutorial and reference book "Rapid Android App Development using BASIC" by Wyken...
 

[B4X] B4XTable - Multiple rows selection

Edit: Don't use this code. Use B4XTableSelections class instead:
This...
 
Last edited:

Prevent accidental clicks

I had issues when i did an animation like clicking on a button and shrink it that if you click twice on it it will perform 2 times or more the animation you want to do or if you start a task that...
 

Immersive Mode with Notch area support

Attachments

  • ImmersiveMode_With_Notch_Area_Support.zip
    9.5 KB · Views: 822
Last edited:

Changing the theme at runtime

Using the hooks feature it is possible to change the Activity theme at runtime.

The theme is set before the activity is actually shown. This means that in order to change the theme we need to...
 

Attachments

  • ThemeChange.zip
    8.5 KB · Views: 1,616
Last edited:

FirebaseAdMob and User Consent

Last edited:

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
    18.5 KB · Views: 522
  • Onkyo-TX-NR676.zip
    26.3 KB · Views: 419

Convertir Numeros a Letras

B4A Convertidor de Numeros a Letras
 

Attachments

  • ConvLetras2.Zip
    425.1 KB · Views: 549

JumpingSmiley - GameView example III

Attachments

  • JumpingSmiley.zip
    27.7 KB · Views: 1,592
Last edited:

Simple Photogallery using a Scollview

hi,

this is a simple example that shows how you can use a scrollview and create a photo gallery.

(source code is included)

have fun
 

Attachments

  • ScrollView - B4A.zip
    49.9 KB · Views: 534
  • Screenshot_20181228-154021.jpg
    132 KB · Views: 727

Walkie Talkie - Audio streaming over Wifi or Bluetooth

This example implements a simple "walkie talkie".


(src: wikipedia)...
 

Attachments

  • Walkie-Talkie.zip
    10.7 KB · Views: 11,144

B4A Book Updated to Version 8.30

Last edited:

Material Design 2 - Using the AppCompat library

Note: You should use B4A 6.0 or above for this tutorial.

In the first Material Design tutorial we created a simple app with Material Design for Android 5.0 (Lollipop) devices. But what about...
 

Attachments

  • AppCompatExample1_2.0.zip
    8.1 KB · Views: 2,423
  • AppCompatExample2_2_0.zip
    8.3 KB · Views: 2,910
Last edited:

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

[B4X] Working with GoogleTasks using REST

GoogleTasks are a Task list (ToDo List, Shopping List, whateveryouwant list)

In this small Tutorial i want to share my findings while i played around with GoogleTasks. In fact i´m not...
 
Last edited:

Easy Sample Translator inside a Code

I share this little code to handle translation within the app



regards
 

Attachments

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

Book for programming Pi, Arduino and more applications with B4A

Hi all,

I see a very nice book for programming PI, Arduino and more with B4A

I hope somebody like this...
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…