Tutorials & Examples

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

my share creation simple carousell

For the First I said Thank Too Much For Great Mr.Errel That my Inspirator, StarDust and All Of member that i can't say person by person, i wish yours appologize of my bad english, this my first...
 
Last edited:

Send and Recive SMS from PC using AsyncStreams in Wifi e VB.Net

android 12
 

Attachments

  • SMSWifi12.zip
    114.4 KB · Views: 259
  • wifiSMS.zip
    118 KB · Views: 258

ScrollView examples summary

Last edited:

[B4X] Simple audio call over internet with own TURN/relay server

Attachments

  • [B4A] Socket.io Simple Call Example.zip
    116.8 KB · Views: 1,009
  • [B4i] Socket.io Simple Call Example.zip
    111.7 KB · Views: 755
  • [Server] Socket.io Simple Call Example.zip
    2.4 KB · Views: 971
Last edited:

Check if the application is running on a Chromebook

If you want to check if the application is running on a Chromebook (for example to do some specific GUI reconfiguration to run in a resizable Window), you can use the following routine.
Hope it...
 

How to convert from Firebird to Sqlite

I had to deal with a database format transformation problem from Firebird to SqliteDb
I want to share my experience because I've already seen some users who asked questions about Firebird...
 

User selection of a voice for Text To Speech.

I've just added a speech to text facility to my note taking app using

and text...
 
Last edited:

Intents and receivers

With the new imodules that allow you to work better with the intent and receivers, it is necessary to develop some examples of how to use them (even before it could be done but not in...
 

Attachments

  • device_filter.zip
    413 bytes · Views: 253
  • IntentUSB.zip
    10.6 KB · Views: 257
Last edited:

Geofence - Monitoring a region in the background

Geofencing is an Android feature that allows your app to be notified when the user enters or exits a monitored region.

The nice thing about this feature is that your app doesn't need to run for...
 

Attachments

  • Geofence.zip
    15.6 KB · Views: 393
Last edited:

Audio Ringbuffer

if you want to build instant music in apps from single sounds, it is important that the samples are absolutely synchron and perfect in timing. So you should send one single stream to the system...
 
Last edited:

FusedLocationProvider + Resolution Dialog

** This is the only option to enable location services from inside your app. **

Example was updated and is based on B4XPages.
Don't miss:

1. ShowResolutionDialog sub that is added to Main. It...
 

Attachments

  • Project.zip
    14.6 KB · Views: 1,204
Last edited:

BLE nRF Connect pre-BLE2 problem solving

It is surprising how often the basics get missed, when embroiled in heat of battle of programmer vs hardware, operating system, complex apis and libraries, etc.

I have found that whenever my BLE2...
 
Last edited:

[B4X] [B4XPages] GoogleMaps example

1594642169087.png


Example of showing a Google map, in a cross platform B4XPages project. The APIs of the three GoogleMaps libraries are quite different from one another, so we need to use platform...
 

Attachments

  • Project.zip
    10 KB · Views: 2,099

New online AI Regex Generator!

Check this out!

sheetai.app which helps use ai in google sheets, just ask it and done!

Quick Demo:



Tutorial:

 
Last edited:

B4A-Bridge source code

B4A-Bridge is made of two components. One component is running on the device and the other is embedded in the IDE.
The device side is the server side. It waits for connections and when a...
 

Attachments

  • B4A-Bridge-source.zip
    29.5 KB · Views: 793
Last edited:

Webview & File.DirAssets - Enough Already

UPDATE: AFTER READING THIS POST, PLEASE REFER TO POST#5 FOR A BETTER SOLUTION (AT LEAST, IN MY OPINION).
a code module provided by member Ivica Golubovic allows you to continue using...
 

Attachments

  • assets.zip
    82.9 KB · Views: 541
Last edited:

Capture volume keys events while app is in the background

Could some Java guru kindly convert the following codes into B4A code for me, if possible, please? I would greatly appreciate it!

I'm looking for a reliable solution as a background service...
 

B4A Book Now Covers Version 11.20

cover-295.jpg


I am happy to announce that both the paperback and electronic versions of the B4A tutorial and reference book “B4A Rapid Android App Development using BASIC” by Wyken Seagrave have...
 

[B4X] AS WheelPicker PlusMinus Example

IMG_4683.jpg

This is an example project to demonstrate what is possible with the beautiful ASWheel. From version 2.0 it is possible per function animated (also possible without animations)...
 

Attachments

  • AS WheelPicker PlusMinus Example.zip
    180.2 KB · Views: 355
Last edited:

Word wrap paragraph text to specified maximum characters line length

We needed to do some word-wrapping re: this thread and figured I may as well post my tawdry effort in case anybody else is looking for ideas 🍻 or code to hang s**t on 🤣

It has some niceish...
 
Last edited:
Top