B4ATutorialB4A
Supporting multiple screens - tips and best practices
Supporting multiple screens - tips and best practices. There are several features in B4A that help you target Android phones and tablets with different screen sizes and resolutions. The purpose of this page is to collect tips and best practices that will help you create flexible layouts.
@Erel · 2018-07-26
B4ATutorialB4A
Trial Period using FTP
Here is a method using FTP to create a trial period for your app. Since there is no local file with trial information, the user cannot defeat it by manipulating stored data. Also, FTP calls are very simple and no database required.
@gregchao · 2018-07-23
B4ATutorialDesigner
Designer anchors - Video example
Designer anchors - Video example
@Erel · 2018-07-05
B4ATutorialB4A
B4A Book Updated to Version 8.30
B4A Book Updated to Version 8.30
@PhilipBrown · 2018-06-19
B4ATutorialB4A
Shared Code Modules
Edit: shared modules are still supported however more powerful options are available in newer versions of B4X: https://www.b4x.com/android/forum/threads/shared-code-modules.40747/#content
@Erel · 2018-06-19
B4ATutorialService/Receiver
Automatic Foreground Mode
Starting from Android 8.0, services cannot be simply started while the app is in the background or not running at all. Background means that there isn''t any visible activity or any service in foreground state (Service.StartForeground). Common cases where we expect services to start even if the app is not in the foreground: - Push notifications - Services scheduled with StartServiceAt or StartServiceAtExact - Services set to start after boot with #StartAtBoot attribute - Home screen widgets The only way for services to start when the app is not in the foreground is with a new API that ensures that the service will start and immediately switch to foreground mode. This is now handled automatically in the B4A framework. When needed services automatically start in foreground mode. Needed = Running on Android 8+ and the app is considered in the background when the service is started.
@Erel · 2018-06-12
B4ATutorialB4A
B4A connected to Memu
B4A connected to Memu (Android emulator)
@Iwan Dermawan · 2018-06-07
B4ATutorialDatabase
For beginners: How to communicate with a server using httputils2 (Part 2: MySql)
For beginners: How to communicate with a server using httputils2 (Part 2: MySql)
@KMatle · 2018-06-04
B4ATutorialFirebase
FirebaseAdMob - Rewarded video ads
FirebaseAdMob v1.30 adds support for rewarded video ads. Rewarded video ads are video ads where the user is rewarded if he watches the full video. How is the user rewarded is up to you. In many games for example, the users will receive an extra life if they watch the video ad.
@Erel · 2018-05-31
B4ATutorialPermissions
How to determine needed permissions from JavaObject code
Now and then there are JavaObject code snippets posted in the forum. Usually there are permissions required listed together with the code, but not always. Which could be because none are needed. This is how one determines what permissions are required by a section of JavaObject code.
@Sandman · 2018-05-28
B4ATutorialDropbox
Dropbox SDK - get informed about changes in the used Dropbox
Dropbox SDK - get informed about changes in the used Dropbox
@DonManfred · 2018-05-27
B4ATutorialDropbox
Dropbox SDK V2 - Uploading big files to Dropbox
There are two kind of uploads to Dropbox. Normal uploads (which can be up to 150mb in one call) and big uploads which are using a Uploadsession. This tutorial will only handle the Uploads using a Uploadsession.
@DonManfred · 2018-05-20
B4ATutorialSerial comm/USB
USB K8055 VM110
USB K8055 VM110
@WhoIsShmoove · 2018-05-10
B4ATutorialDrone
followed mission for dji phantom 3 standard & DJIV2.5 library
followed mission for dji phantom 3 standard & DJIV2.5 library
@WhoIsShmoove · 2018-05-03
B4ATutorialAudio/Video
MJPEG / CCTV Server
MJPEG / CCTV Server
@Erel · 2018-05-02
B4ATutorialAnimation
3D Spinning Cube
3D Spinning Cube
@Johan Schoeman · 2018-04-28
B4ATutorialB4A
Java 10 - B4A SDK Manager fix
Java 10 - B4A SDK Manager fix
@NJDude · 2018-04-19
B4ATutorialB4A
Wrapping Kotlin code and libraries for B4A
In this post, I will publish a series of 3 videos to show you how you can wrap Kotlin code and libraries to be used within your B4A-projects.
@moster67 · 2018-04-16
B4ATutorialB4A
Creating a simple Kotlin wrapper library
The purpose of this tutorial is to show a way of compiling Kotlin into your developed library as a "fat” JAR (a JAR file containing all necessary dependencies and classes bundled in).
@Jamie8763 · 2018-04-15
B4ATutorialPicker
Inputlist with images
For one of my project, i needed an input list that includes images and i was thinking of using clv for that, but i really wanted to use the native input list so with CSBuilder it is very simple to archive.
@ilan · 2018-04-13
B4ATutorialImages
Retrieve one or multiple image(s) shared to your app
With this code you can retrieve images shared to your app (e.g. if a user selects one or more images from the gallery and selects "Share..."). No permissions are required as the user selects the images.
@KMatle · 2018-04-08
B4ATutorialSerial comm/USB
Android Serial tutorial
Android Serial tutorial - The code in this tutorial should not be used for new projects.
@Erel · 2018-04-04
B4ATutorialCardView
CustomCardView Base On CustomListview Module
This is a module base on CustomListview, all function same with CustomListview I call it CustomCardView.
@taylorw · 2018-03-31
B4ATutorialIn-App Billing
In-App billing Server side verification
I want to post a small example to verify the signature of an in-app purchase, in order to avoid the use of application like Freedom and Lucky Patcher. An important note is that this method doesn''t work with in-app purchase that uses promotional code. There are different ways to verify the signature, in this tutorial I will explain the method using the php and i will mention the verification through google api.
@Emme Developer · 2018-03-27
B4ATutorialComms & Network
B4A bridge & B4A designer: Create a WIFI Spot with your computer.
I was facing a problem to use B4A bridge because I''m connected to a LAN without WIFI. I found a solution to make my computer a WIFI spot and then use B4A bridge & B4A designer Wireless. There are lot of little softs doing that but most of them are not free ....
@Yayou49 · 2018-03-21
B4ATutorialDatabase
Android SQLite Viewer
Android SQLite Viewer
@Erel · 2018-03-18
B4ATutorialhttp
HttpUtils - Android web services are now simple!
HttpUtils - Android web services are now simple!
@Erel · 2018-03-14
B4ATutorialGPS/location/maps
GPS Status in the OsmAnd - vs - GPS Connected.
GPS Status in the OsmAnd - vs - GPS Connected.
@T201016 · 2018-03-11
B4ATutorialLogging/Exceptions
Persistent log for IDE (developer) or APP (user)
Persistent log for IDE (developer) or APP (user)
@ELCHARO · 2018-02-27
B4ATutorialIRC / IM
SERVER IRC (Internet Relay Chat) B4A
SERVER IRC (Internet Relay Chat)
@Star-Dust · 2018-02-20