Tutorials & Examples

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

Displaying Animated GIF

Hi, How do I display a animated GIF?
Now it just shows up as a static image.
 

[B4X] Supabase - Authentification SignIn with Google


In this example, we will take a look at how we can implement authentication using Google...
 

Attachments

  • Supabase Google Auth Example.zip
    10.4 KB · Views: 161

[Article] Demystifying the new Play In-App Review

@Pendrush recently introduced its wrap of the In-App Review Library.
After a rework, the solution now works great...
 

RC4 encryption to transfer data between Android and PC

Hi,

On one of my projects, I had to transfer sensitive data from Android to PC but - with RC4 encription.
I wrote a little code that I want to share with you...
Maybe Android supports RC4...
 

Attachments

  • rc4.zip
    47 KB · Views: 518
Last edited:

.net error when starting b4a

When I try to start B4A, I get a .net error that says

"Unable to find a version of the runtime to run this application"

I tried uninstalling and reinstalling .net, but that didn't help...
 

B4A Article in Nuts and Volts Magazine

There is a nice "Getting Started" article in the August Nuts and Volts magazine:

Fred Eady, "Putting Basic4Android in the Driver's Seat", Nuts and Volts, August, 2012 (pp 68-73)

Baxter
 

PDFab - a default PDF viewer app based on DonManfred's PDFium wrap

I wanted a freeware pdf viewer without ads, tracking, data collection, and what have you. Besides, it wasn't obvious (to me at least) how to make an app that would be offered as default to open a...
 

Attachments

  • icon.zip
    92.1 KB · Views: 156
  • PDFab.zip
    10.2 KB · Views: 198

Hint: solving compiler error "Unknown member: initializenewinstance"

I ran into this one today and fortunately my penny dropped rather quickly, though I didn't find anything on the forum about this error; hence this post as it might be useful for others. I was...
 

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

Altering existing design.

How do you make changes to the basic layout (design) of a program? I opened the following sample file: DataBaseProgSample1.5.b4a I wanted to change the sizes of the edit fields, but when I...
 

GPU overdraw

Every time your app draws a pixel on the screen, it takes time. Every time your app draws an opaque pixel to replace something that has already been drawn, it wastes time. Drawing a pixel more...
 

B4XPages Video Tutorial Series

Hello, I intend to share my knowledge using B4XPages through this beginner tutorial. Please subscribe and share.

Part 1 - Getting Started with New Project

Part 2 - Adding...
 
Last edited:

B4A: Getting Started for Delphi Developers

B4A: Getting Started for Delphi Developers

Borland introduced the Delphi programming environment in 1995. At the time Delphi was a revolutionary new tool for Microsoft Windows-based application...
 

Graphics ListView with 2 images, two labels and populated from a text file.

I wanted to provide this simple code for beginners like me.
The code is derived from the one written by the my teacher Klaus here.

This ListView is made with a ScrollView inside of which is...
 

Attachments

  • list viewex.zip
    109.6 KB · Views: 938
  • Screenshot_2014-05-19-22-05.png
    Screenshot_2014-05-19-22-05.png
    164.8 KB · Views: 918
Last edited:

MQTT Topic best practice

Duck Typing and Command Design Pattern Example

I hope I have got this example right. Any positive criticism or improvements will be welcome!
I have made this to try learn and understand how this all works. This could also help others to...
 

Attachments

  • DuckTypingCommandPattern.zip
    10.2 KB · Views: 424

[Arguably] Better Ninepatch

Hi guys. I write here hoping to help a few people.

Recently I started a project that makes heavy use of user personalization. I had bad experiences with nine patches in the past, even though I...
 

Resolving problems with EPUB version of the B4A-Rapid book version 12-50

Two people have complained that the EPUB version of the B4A-Rapid book version 12-50 is corrupt.
We have not been able to reproduce any errors.
We can read the EPUB on a Windows 11 PC using...
 

Listview

An example of using Listview.
Open and save dialogs.
Screen orientation.
Don't forget to twist.

Done on 7 inch tablet.
B4A 2.3
 

Attachments

  • List2.apk
    130.8 KB · Views: 270
  • List2.zip
    14.9 KB · Views: 386
  • unicode.zip
    3.1 KB · Views: 288
  • beer.zip
    2.1 KB · Views: 327

Alternative way to create Progress Indicators

gifProgressIndicator.png


The attached project is a "short cut" that will enable you to create Progress Indicators for your projects. It makes use of GIF files to simulate the progress indicators. The B4A...
 

Attachments

  • JHS GIF LOADERS.zip
    433.2 KB · Views: 864
  • 27.zip
    309.5 KB · Views: 675
Last edited:
Top