B4ATutorialAnimation
Bouncing ball in a 3D box.
Bouncing ball in a 3D box with collision detection
@JordiCP · 2017-07-05
B4ATutorialInterop
Receiving shared images from other apps
This example shows how to create an app that can act as a sharing target. It will be listed in the list of apps that show when the user shares an image.
@Erel · 2017-06-26
B4ATutorialB4A
B4A Book Updated to Version 7.01
B4A Book Updated to Version 7.01
@PhilipBrown · 2017-06-21
B4ATutorialList- and scrollview
ULV - combining drag/drop and swipe to delete with a hierarchical data structure
The attached example presents the user with a two-level hierarchical view of data and uses ULV to implement the following: •Showing the hierarchy using indentation of sub-items •Drag/Drop reordering of items in the hierarchy •Swipe left/right to delete items
@Misterbates · 2017-06-17
B4ATutorialAI/ML
OpenCV real time car detection example (by @moster67)
This is a full working example of real time ObjectDetection (in this case, cars) using cascadeClassifiers, getting the input from a recorded video file, making use of Videocapture. The example was written by @moster67 who kindly gave me permission to publish it here. I have only tuned a couple of things ( :D ) , but the example is very good for learning as it makes use of several OpenCV classes. This project can be used as a starting point for any other type of object detection: as in real-world applications, many things can be tuned: cascade classifier files, image conditioning, applying logic, .... It is an excellent example to start experimenting. Also the code is both compact and commented.
@JordiCP · 2017-06-13
B4ATutorialAI/ML
OpenCVforB4A: basic image manipulation: OCVMats,OCVCore and OCVImgProc
Perhaps OCVMats (''Mat''s in the OpenCV syntax, please note that all classes in the B4A library add a ''OCV'' prefix to the class names) are the most important building blocks: •Basically, OCVMats are managed arrays, which can hold different type of data. They can be used to hold the pixels of a bitmap, a set of points, whatever. •Then, there are a lot of highly optimized methods, which belong to the same OCVMat class, or the OCVCore (Core functionality) and OCVImgProc (image processing) modules, which perform all the manipulations that one may need. •These and other strongly optimized "base manipulations" are then used by higher level algorithms to extract features from the image, which can be converted into useful information, and so many things...
@JordiCP · 2017-06-12
B4ATutorialImages
Simple Image viewer & pager
This example shows the images contained in a certain directory, with pinch zoom and smooth scroll -when image is zoomed- capabilities (provided by JSTouchImageView library, from @salvadorjhai). Also you can pass from one image to the next or the previous, with an horizontal touch movement (provided by Gestures library, from @agraham). One of the major advantages, appart from its simplicity, is the low comsumption of memory, as only one image is loaded at a time.
@Ivan Aldaz · 2017-06-11
B4ATutorialNotifications
Foreground Service with Notification Builder
The example shows how to implement a long-running service (Service.StartForeground) with three different ways to show a notification used for controlling the app: 1) Using the Notification object and catching the user press on the notification (based on Erel''s download example) 2) Using the NotificationBuilder library (see above for link to the library) and catching the user press on the notification 3) Using the NotificationBuilder library with additional actions to implement the controls
@Misterbates · 2017-06-07
B4ATutorialB4A
GUI AVD Manager / Emulator
B4A Sdk Manager v2 adds support for managing Android Virtual Devices (AVDs):
@Erel · 2017-06-06
B4ATutorialB4A
DoEvents deprecated and async dialogs (msgbox)
Starting from B4A v7.0 the following warning will appear for DoEvents calls:DoEvents is deprecated. It can lead to stability issues. Use Sleep(0) instead (if really needed).
@Erel · 2017-05-28
B4ATutorialOAuth
OAuth 2.0 / Google web services tutorial
OAuth 2.0 / Google web services tutorial
@Erel · 2017-05-11
B4ATutorialB4A
How they do... #1
How they do... #1
@Informatix · 2017-05-05
B4ATutorialCalendar
B4Acalendar
Probably not the most elegant way to do this calendar but it is working. It displays 42 days and will "grey out" the days of the previous/next month within the calendar month being displayed.
@Johan Schoeman · 2017-04-23
B4ATutorialFirebase
Java App for Firebase Notificatiion Sending
if you have android app with firebase notf. this app for easy testing.
@Tayfur · 2017-04-21
B4ATutorialGPS/location/maps
Notify Builder example
I use this code to ask for GPS activation. I was not able to find a working example of NotifyBuilder so I wrote for myself
@tigrot · 2017-04-21
B4ATutorialHuawei
Using FCM on Huawei phones: Set your app to protected (important!)
By default on Huawei phones all "unknown apps" (like your app is for sure) are NOT allowed to run in the background (= when the screen turns off OR your app is sent "to the back" by pressing the home button or by any other event). So when your app is paused, the complete app is stopped. Even the FCM service is completely inactive. As a result of that you are NOT able to receive any FCM messages anymore. It took me hours wondering why my phone app (Huawei P8, Android 6.x) does not receive messages. There''s a feature called "protected apps". Only apps which are "protected" will be able to run in the background.
@KMatle · 2017-04-17
B4ATutorialB4A
Update your app to take advantage of the larger aspect ratio on new Android flagship devices
To deliver more engaging viewing experiences to their users, many Android OEMs are experimenting with new, super widescreen smartphones. Samsung has just announced a new flagship device, the Samsung Galaxy S8, featuring a new display format with an aspect ratio of 18.5:9. At the Mobile World Congress earlier this year, LG also launched their new flagship device, the LG G6, with an expanded screen aspect ratio of 18:9. In order to take full advantage of the larger display formats on these devices, you should consider increasing your app''s maximum supported aspect ratio. To do so, simply declare an android.max_aspect element in the app''s element
@Multiverse app · 2017-03-31
B4ATutorialAds
Admob Mediation With Chartboost
This is a short tutorial for mediation with admob for chartboost.
@tufanv · 2017-03-27
B4ATutorialCustomView
Custom View with Designer Support
Custom View with Designer Support
@Erel · 2017-03-26
B4ATutorialAds
Admob Mediation With Facebook
Erel Already described the mediation with inmobi and with the help of that tutorial I tried to implement facebook ads to admob. It took some days for me to implement it because of manifest problems, correct sdk and adapter files etc. My aim with this tutorial is to help people mediate with facebook without any hassle.
@tufanv · 2017-03-22
B4ATutorialB4A
MultiDex - Solves the too many methods error
B4A v6.8 adds support for MultiDex compilation. With MultiDex enabled, the compiled classes are split into multiple dex files as needed.
@Erel · 2017-03-13
B4ATutorialAudio/Video
cctv cool + php +AUDIO to Internet using PHP + b4a
In case someone have erros on camera on cctv examples i hope this will fix your problem like in my case..
@xpectmore · 2017-03-02
B4ATutorialDatabase
Searching the nearest Coordinate in a Database
Searching the nearest Coordinate in a Database
@DonManfred · 2017-03-02
B4ATutorialGoogle
Create better Play Store listings
Create better Play Store listings
@Multiverse app · 2017-02-18
B4ATutorialWebView
How I wrapped a HTML5, JavaScript & Css based Library...
To be able to do this, you need a good library that you want to wrap. A library like this will run inside a webview as its purely javascript, so some knowledge of HTML5 at most and some css will be recommended. I''m still learning both through trial and error. Secondly, I wanted to trap the events that happen within my components, so I used webview extras for that. Thirdly, I wanted to have the library include internaly the javascript and css files that I''m using. Please note the respective licenses for that. I decided on some community based libraries.
@Mashiane · 2017-02-03
B4ATutorialIRC / IM
MQTT Chat with Auto Discovery
This is an extension to the MQTT chat room example: https://www.b4x.com/android/forum/threads/b4x-mqtt-chat-room.61568/#content It is a chat room where one of the devices acts as a server and the others as clients.
@Erel · 2017-01-30
B4ATutorialColour
Fading label effect, for uniform colors - small tutorial
For all Android 3+ devices please use the "native" function SetColorAnimated (see this: https://www.b4x.com/android/forum/threads/simple-animations-in-b4a-v4-00.47731/ ; Fading label effect, for uniform colors - small tutorial
@AscySoft · 2017-01-23
B4ATutorialB4A
Use mouse wheel to quickly scroll through colors
Use mouse wheel to quickly scroll through colors
@Widget · 2017-01-19
B4ATutorialWeather
Parse JSON Weather Files from openweathermap.org
Parse JSON Weather Files from openweathermap.org
@ELCHARO · 2017-01-13
B4ATutorialFirebase
Firebase Messaging: Chat app without server
An example how to communicate between devices via FCM without a server in the middle
@KMatle · 2017-01-06