Tutorials & Examples

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

[B4X] Supabase - Realtime Postgres Changes


Listen to Postgres changes using Supabase Realtime...
 

How to get track change data

ie: If you want to make a music control widget

First you need to add a broadcast listener to the manifest

AddReceiverText(thenameofyourservice,
<intent-filter>
<action...
 

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

[B4J] [B4A] Expandable CLV with sub-items (similar to a tree)

Posted in the B4J forum: https://www.b4x.com/android/forum/t...-clv-with-sub-items-similar-to-a-tree.155113/

CLVexSub3.png
 

[B4X] Supabase - Realtime Broadcast


Send and receive messages using Realtime Broadcast...
 

maybe not so simple way to clean up texts from wikipedia api

this might be far from perfect, but it works well for me. This little routine replaces useful html tags to bb tags, and gets rid of unwanted html tags in fetched wikipedia api texts.

B4X:
Sub...
 

XmlSax - Exposing the Parser at work

XmlSax - Exposing the Parser at work

I wanted to understand how the XmlSax worked so as to fully understand how to write the code to access the different elements.

Found an example on...
 

Attachments

  • MyXmlTest.zip
    6.6 KB · Views: 502
  • xml2_ide.png
    xml2_ide.png
    95 KB · Views: 494

[B4X] Supabase - Realtime Presence


Share state between users with Realtime Presence...
 

File Choose

Quickly create a File_Chooser, and choose any type of File without any Library.


Download code Here
 

Firebasemessaging (FCM): Receive messages in doze/sleep mode

Issue: Device doesn't receive FCM messages while in sleep/doze mode

Important to know: Google uses 2 different api's with different keywords

1638195059390.png


So...
 

Firebase Invites/ DynamicLink/ DeepLink [relationship between]

Firebase has several extremely useful free server-based features for developers of mobile apps.
The free "Spark Plan" is suitable for small business applications.​
...
 
Last edited:

LatLong To Timezone

Hi,
I was looking for a code to know the timezone information from Latitude and Longitude coordinates and I found the code here LatLongToTimezone but it is written in java so I used it in...
 

Attachments

  • B4A_TimezoneMapper.zip
    434.5 KB · Views: 207

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

Press button makes a spinner (in)visible examples

Hi,

For those who wants this activity to implement in their own project,
there are two versions of examples available to choose from.
One from Kickaha (many thanks) and one by me.

So...
 

Attachments

  • SpinnerVisibility by Asmoro.zip
    20.5 KB · Views: 806
  • SpinnerVisibility by Kickaha.zip
    20.7 KB · Views: 683

Fading label effect, SetColorAnimated < Android 3 devices

Attachments

  • SC20121114-113536.png
    SC20121114-113536.png
    27.7 KB · Views: 1,712
  • fading colors.zip
    6.9 KB · Views: 847
Last edited:

Holy moley, take the work OUT of creating icons for your app!

💡 B4A Uninstalling a kiosk app

Hello all,
I've noticed 2 or 3 posts about not being able to uninstall a kiosk app because android:testOnly is missing from the manifest file, it's not in Erel's example.

If you just add the...
 
Last edited:
Top