B4ASnippetBluetooth [CADENCE/SPEED]
BLE CSC [cadence/speed]
BLE CSC [cadence/speed]
@MbedAndroid · 2020-09-07
B4ASnippetImages
Add image to Gallery Android 5 - 10+
Add image to Gallery Android 5 - 10+
@Erel · 2020-09-06
B4ASnippetOther
Funny Jokes App - With Source Code
Funny Jokes was my first app that I published on PlayStore. The App has thousands of Jokes in multiple categories and users could share jokes using share option. I have attached the source code of the app along with the SQLite Database. I do hope newbies like me are able to benefit from the same.
@TheRnker · 2020-09-01
B4ASnippetImages
MediaBrowser - get a random image from gallery
MediaBrowser - get a random image from gallery
@Alexander Stolte · 2020-08-27
B4ASnippetSMS
Short messages with emoji
In searches, I''ve come across a fair few people wondering how to detect if a message is just emoji so that, like WhatsApp, it can be displayed in a larger font if necessary. So I thought I''d share my solution to this.
@nwhitfield · 2020-08-16
B4ASnippetList- and scrollview
Expanded CLV inside an Expanded CLV
Expanded CLV inside an Expanded CLV
@wes58 · 2020-08-15
B4ASnippetB4Xpages
How I converted my apps to B4XPages
How I converted my apps to B4XPages
@jahswant · 2020-08-02
B4ASnippetTable/Grid
B4xTable - Generic Code
This code contains a selection of the code snippets and tutorials on the B4x forums.
@rodmcm · 2020-07-24
B4ASnippetWebView
B4A WebView & SSL Certificate Errors
B4A WebView & SSL Certificate Errors
@drgottjr · 2020-07-24
B4ASnippetIntent
B4x pages GetStartingIntent
B4x pages GetStartingIntent
@Michael2150 · 2020-07-21
B4ASnippetViews - effects
Create Ripple effect inside Panel
Create Ripple effect inside Panel
@rraswisak · 2020-07-18
B4ASnippetMaths
Conversion of decimal numbers to neat integer fractions
Conversion of decimal numbers to neat integer fractions
@ShepSoft · 2020-07-14
B4ASnippetCharSequence / CSBuilder
Tip: CSBuilder usage
Tip: CSBuilder usage
@ShepSoft · 2020-07-07
B4ASnippetDate/time
Timer not exact enough for sending to stream
Timer not exact enough for sending to stream
@Midimaster · 2020-06-28
B4ASnippetMail
Simple and Reliable User Feedback/Bug Reporting Method
Simple and Reliable User Feedback/Bug Reporting Method
@JohnC · 2020-06-25
B4ASnippetJava
Using StartActivityForResult with JavaObject
This code demonstrates how JavaObject can be used to call external APIs that should be called with Context.startActivityForResult.
@Erel · 2020-06-18
B4ASnippetB4A
Version safe notification
Update: If you are using B4A v8.0+ then the standard notifications will work. Older versions:As explained in this tutorial all store apps will soon be forced to target the latest SDK. The following code can be used to create a notification. It works on all versions of Android.
@Erel · 2020-06-12
B4ASnippetList- and scrollview
PullToRefresh 2
This is an example of a pull-down refresh animation that I recently wrote
@cxbs · 2020-06-08
B4ASnippetGPS/location/maps
Sample using GPS and GeoAddress
Sample using GPS and GeoAddress
@joaquinortiz · 2020-06-07
B4ASnippetPermissions
Explain to user why you need a permission before displaying Android''s cryptic permission prompt
Sample code I use to display the reason why my app needs a particular permission so that the user is well informed of it before I let Android display it''s cryptic permission prompt.
@JohnC · 2020-06-06
B4ASnippetDate/time
Getting date time from the internet
Getting date time from the internet
@Steve Kwok · 2020-06-03
B4ASnippetImages
FontAwesome To Bitmap
Unlike an older "TextToBitmap" sub that you can find in the forum, this code vertically centers the icon. It can also be used in B4J and B4i (only need to change the font line).
@Erel · 2020-06-02
B4ASnippetFile handling [PATH]
get all image folders [path]
Get all image folders [path]. This code runs on my phone in release with 156ms. And i have over 1k folders and over 10k images.
@Alexander Stolte · 2020-06-01
B4ASnippethttp
Disable automatic redirections with OkHttpUtils2
Disable automatic redirections with OkHttpUtils2
@Erel · 2020-06-01
B4ASnippetToast
My ToastMessageShow
My ToastMessageShow
@T201016 · 2020-05-27
B4ASnippetPDF
Print PDF library supports higher resolution
Print PDF library supports higher resolution
@MitchBu · 2020-05-18
B4ASnippetWifi
Access Wifi Information
This code takes care of requesting the location permission which is needed on Android 8+
@Erel · 2020-05-18
B4ASnippetFile handling
External Storage - Simple Example
Enclosed is a simple call to storage , creating a directory and copying files from DirInternal using ExternalStorage Class
@rodmcm · 2020-05-13
B4ASnippetDrawing
Drawing Multiline Text
This code creates a label with the text and returns a snapshot of the label
@Erel · 2020-05-12
B4ASnippetBarcode/scan
HTML-Standalone QR-code generator for websites
Sometimes you need a QR-code generator in your website (which is working together with B4x). I searched for a standalone creator which is easy to handle. I came to this site: QR-code generator. I uses Javascript to generate the QR-code. I''ve modified the example (removed all inputfields and replaced them with simple variables).
@KMatle · 2020-05-04