Tutorials & Examples

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

FCM messages checklist (prevent issues)

With newer Android versions came more options for power saving and permissions we have to deal with. There are a lot of threads about FCM messages not arriving or beeing delayed. Here's a small...
 

[B4X] B4XPages - Cross platform and simple framework for managing multiple pages


B4XPages is a library that serves two purposes:

1. Make it simple to develop B4A apps by solving almost all of the challenges involved with Android complex activities life cycle...
 

Attachments

  • ThreePagesExample.zip
    410.4 KB · Views: 8,006
Last edited:

✅ Match the flags. Simple XUI cross platform game tutorial for new B4X B4A developers - Newer developers

Hello B4X'ers,
This morning as my new clients are currently beta testing software that I developed for them using B4J ?, I thought to myself lets create a quick and simple game using B4A for the...
 
Last edited:

ADeveloper - B4A tutorials

follow us in social networks please ? :

insta.png youtube.png


I started a channel in youtube for B4A. Erel made some other tutorials which you can find...
 
Last edited:

[B4X] Mobile App Website - No-Code Builder (Landingpage, Legal notice, privacy policy)

Hey, I found this interesting website today on Producthunt.com.
Create a mobile app website in ⏳ 60...
 

[B4X] [B4XPages] Splash Screen

B4A, B4i and B4J splash screen implementation. The implementation is different in each platform.

1. Don't miss the manifest editor code in B4A.
2. Don't use %y in the code. Use Root.Height...
 

Attachments

  • Project.zip
    67.7 KB · Views: 3,812
Last edited:

B4A Rapid book updated to B4A 10.6

B4A-324x400.jpg

I am happy to announce that the both the paperback and electronic versions of the B4A tutorial and reference book “B4A Rapid Android App...
 

[B4X] Postman Tutorial

Before some time I have posted my findings upon an application that allows you to test WebAPIs, tinker with them and eventually use the JSON in your projects. This application is postman. Here is...
 
Last edited:

[B4X] B4XTable with custom cells layout

SS-2019-02-06_11.52.16.png


Requires B4XTable v1.01+...
 

Attachments

  • B4XTable-Flags.zip
    429.3 KB · Views: 3,307

? [B4X] [XUI] [B4XPages] B4A recreating Google Trends results with xCharts - Newer developers

Hello to you all,
Here is an extremely simple example on how to easily recreate Google Trends results using B4XPages with B4A and the xChart library. In this example I used Google...
 
Last edited:

✅ [B4X] [XUI] [B4XPages] B4A 'Erel Says' hand, eye memory game - Newer developers

Hello to you all,
I decided to recreate this simple but effective game example, the game is based on the B4XPages library. The game is designed for hand, eye and memory coordination, so I called...
 
Last edited:

[B4X] B4XPages + B4XDrawer

B4XDrawer v1.53 adds support for B4J. This is a good opportunity to create a B4XPages example using B4XDrawer.
It does require some configuration so pay attention.

1594908342696.png


The example is...
 

Attachments

  • 3 pages + drawer.zip
    191.7 KB · Views: 4,041
Last edited:

Android Usb Host Tutorial - AdbTest

Android 3.1 and above devices support Usb host mode. With this feature you can connect to regular client usb devices. Some devices are automatically recognized by the OS and are simple to work...
 

Attachments

  • USBExample.zip
    7.2 KB · Views: 4,386

Custom transitions between activities (+10 effects)

Attachments

  • Screenshot_20210203-174943.png
    Screenshot_20210203-174943.png
    89.1 KB · Views: 499

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

[XUI] CustomListView with floating titles

clv_floatingtitle.gif


Title items are added to the list.
A Panel is set above the list. The panel shows the current title when the top visible item...
 

Attachments

  • CLV_FloatingTitle.zip
    9.4 KB · Views: 1,307
Last edited:

FitBit Authentification and use of the FitBit Web Api (http)

Fitbit_app_icon.png FitBit OAuth and HTTP SDK

You need to define an App in the FitBit Console at https://dev.fitbit.com/apps

Make sure to set your "OAuth 2.0 Application Type" to...
 

Attachments

  • FitBitEx.zip
    11 KB · Views: 591
Last edited:

Control your Android device from your Windows PC

This is very clever software and when I first saw it, it blew my mind. It took a couple of seconds for me to comprehend what I was seeing.

The program is called ScrCpy and when run on your...
 

Getting List of Files of a webserver directory via httputils2 & php

When you like to download files with httputils2 you need to know the files by name. There are some examples using ftp or a generated xml file with the contents first. To me this could be easier...
 

✅ Retrieving 2 JSON data feeds from an online server (Wear OS watch face) - Newer developers

Hello All
Here we have a simple example of how you use corwin42s WatchFace Library. The WatchFace library is extremely simple to use, corwin42 has done a great job wrapping it, thank...
 

Attachments

  • JSON.zip
    13.1 KB · Views: 699
  • LEDCoronavirus_V1.0.0.1.zip
    111 KB · Views: 691
Last edited:
Top