Tutorials & Examples

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

Youtube playlist with xml2map

hi..
I prepared the youtube playlist using the examples in the forum.

Used libraries:
➡ Javaobject
➡ Labelextras
➡ Okhttputils2
➡ Snyoutube
➡ Stringutils
➡ Xcustomlistview
➡ Xml2map
➡ Xmlbuilder...
 

Attachments

  • 1.jpg
    1.jpg
    7.2 KB · Views: 591
  • 3.jpg
    3.jpg
    44.3 KB · Views: 623
  • 2.jpg
    2.jpg
    18.3 KB · Views: 606
Last edited:

ContentChooser Example (select image at phone)

Here is a ContentChooser Example project to choose a image at phone for use in a activity with image view. it works with B4A 9.x and Android 8.1...
 

Attachments

  • ContentChooser Example.zip
    9.4 KB · Views: 2,479
Last edited:

[B4X] [XUI] ASTabMenu with xCustomListView Example

AS Tab Menu with xCustomListView.gif

Hello Forum,

in this Example i want to show you, how to use the ASTabMenu togehther with the xCustomListView, to handle a lot of Tabs without getting into layout problems...
 

Attachments

  • B4A Example with xCustomListView.zip
    7.8 KB · Views: 880
Last edited:

Select,Upload,Display,Delete image from Server

Hello everyone,

First of all, I want thank Erel, DonManfred and KMatle because a lot of the codes for them.

In this example (Select an image from gallery and display it, Resize the image, Save...
 

Attachments

  • php_Files.zip
    2.3 KB · Views: 1,069
  • MyImage.png
    MyImage.png
    56.2 KB · Views: 4,266
  • Screenshot_2017-12-19-13-57-22.jpg
    Screenshot_2017-12-19-13-57-22.jpg
    406.4 KB · Views: 3,559
  • complete.zip
    94 KB · Views: 1,219
Last edited:

Audios for WhatsApp (CLV with 2 columns)

Hi all.
I've been looking at my old sources and found this example, and now I'm going to share it with you.

this example size is 14mb+ because have 200+ audios example.
The example use CLV with 2...
 
Last edited:

B4A and PHP REST

Thanks @Erel for free version that I plan to buy but donate instead.

I'll share my B4A knowledge in Thailand, your great product must popular, later.

PHP is well known for web developer...
 
Last edited:

Check your app presence on Google Play

Your app has been removed on Google Play.
Sample code for those who have previously installed the application not to use it again.

B4X:
Sub Globals
    Dim job1 As HttpJob
    Dim xui as XUI
End...
 
Last edited:

How open camera and choose imagen file from gallery of device

In this example i can take a photo or choose an image from gallery and put it in ImageView
 

Attachments

  • CameraAndImages.zip
    11.9 KB · Views: 816

Responsive Chat Example

Hi All.
I made this example for a chatbot app here on brasil and now i want to share it here.


chatclv.jpg


This example use xCLV and IME lib (Already in B4A).
The messages fit...
 

B4XGoodies Check App

Hi Friends,

As you know, I made an online sheet of Walt's B4XGoodies List and he helped me by providing download links of html and version text files...
 

Attachments

  • B4XGoodies_Check_1.002.zip
    13.7 KB · Views: 407
  • B4XGoodies_Check_1.003.zip
    13.7 KB · Views: 378
  • B4XGoodies_Check_1.004.zip
    139.2 KB · Views: 401
Last edited:

POU Game example

Hi all.
Here is a simple pou game example (only one room).


This example use this another example, but now with images...
 

[B4X] SELECT - don't waste tags

[A simple suggestion, not addressed to "experts"]

I am almost certain that some members, having to identify which view triggered an event, use the tags.

For example:

You have a kind...
 
Last edited:

Decimal Number to Greek Words - Olografos

With this example I show how a decimal number can be translated to Greek words.

For example: Log(DeployCurrencyToText(1234.04)) give the result χίλια διακόσια τριάντα τέσσερα ευρώ και τέσσερα...
 

Vibrating Service - Also with Java code inside B4A project

This is a simple project that makes use of the device's vibrator. You can do the following:
1. Switch the vibrator ON for a specified duration of time (in milliseconds)
2. Switch the vibrator...
 

Attachments

  • JHSVIBRATE.zip
    74.4 KB · Views: 854
Last edited:

WhatsApp Layout Example (Tabstrip + CLV)

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

This example use a clv and tabstrip

Screenshot_2016-03-13-21-39-37.png...
 
Last edited:

Happy birthday to you (Beep example)

Hi all.
this example play Happy birthday to you music with beep. (Audio librarie)

B4X:
Sub Globals
    Private lNotas As List
    Private lbNotas As Label
    Private tocando As Boolean
End Sub...
 

Attachments

  • parabens.zip
    217.9 KB · Views: 550
Last edited:

Ventilator Example (it's really windy)

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 notcreate a ventilator in B4A.

On this example have, image...
 
Last edited:

Simple views colision (RPG Game)

Hi all.
I made a simple collision example, where our player (black square) can collide with any other view that has the tag = 1

This example is in Portuguese obviously because I am Brazilian, I...
 

Attachments

  • colisao.zip
    49.7 KB · Views: 410
Last edited:

OpenCV real time car detection examples, by @moster67 (and friends)

This is a full working example of real time ObjectDetection (in this case, cars) using cascadeClassifiers, getting the input from a recorded video file, making use of Videocapture. The example was...
 
Last edited:

Check the Network State and Wifi SSID Name with reflection

============= MANIFEST =====================

B4X:
AddManifestText(
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="19"/>
<supports-screens android:largeScreens="true"...
 
Top