B4ATutorialB4A
RTL Layout Support
Android now offers several APIs that allow you to build user interfaces that gracefully transform layout orientation to support languages that use right-to-left (RTL) UIs and reading direction, such as Arabic and Hebrew.
@mshafiee110 · 2020-05-13
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
B4ALibraryCalendar
CoupleCalendar
Functional calendar library for Android - Horizontal swipe - Show dot for one day event - Show line for multiple days event
@DonManfred · 2020-05-12
B4ALibraryWebView
Webview Custom Error Page
This code module will return a custom HTML design along with the actual error message instead of the default webview error page.
@Biswajit · 2020-05-11
B4ALibraryDrawing
ShapeDrawable - Clipped rounded rectangle and circle shape
A drawable that draws shapes. You can draw Arc, Oval, Rectangle, Rounded Rectangle, even a Custom Shape (using Path). The content of the view will be clipped only for rectangle, circle, and rounded rectangle shapes.
@Biswajit · 2020-05-11
B4ATutorialPreferences
PreferenceActivity tutorial
PreferenceActivity tutorial
@Erel · 2020-05-10
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
B4ATutorialFile handling
Getting file info using uri from content chooser or from received shared file - example
Example of getting file property information from uri provided by content chooser or received file shared to the app. Curtesy of Erel’s example: Received Share. Shows File name, Mime Type, date modified, file size and a list of all columns from that particular content provider. updated code to show information from Gallery content.
@Nokia · 2020-05-04
B4ATutorialList- and scrollview
Part 1 Basics - Creating long lists using xCustomListView with Lazy Loading - Newer developers
Part 1 Basics - Creating long lists using xCustomListView with Lazy Loading - Newer developers
@Peter Simpson · 2020-05-01
B4ASnippetGPS/location/maps
WGS 84 reader
Code that reads Wgs84 coordinates DDmmss.ssss / DDmm.mmm / and DD.ddddd and converts to floating point coordinates
@booch34 · 2020-04-29
B4ATutorialOS
Orientation and accelerometer
Orientation and accelerometer. The attached program displays the values of the different sensors: It creates a PhoneSensors object for each type of sensor. As you can see in the attached code, two Maps are used to hold the phone sensors and the other required data. This way there is no need to write any duplicate code.
@Erel · 2020-04-28
B4ATutorialList- and scrollview [XCUSTOMLISTVIEW]
Creating long lists of data using xCLV [xCustomListView] with Lazy Loading - New B4Xers
Creating long lists of data using xCLV [xCustomListView] with Lazy Loading - New B4Xers
@Peter Simpson · 2020-04-28
B4ALibraryViewPager
zPager
Another View Pager which can smoothly slide between panels with lazy loading, suitable for sliding images, doesn''t require any external libraries
@KZero · 2020-04-27
B4ATutorialList- and scrollview
ListView tutorial
ListView tutorial
@Erel · 2020-04-27
B4ATutorialBarcode/scan
Generate QR-Code w. RSA Public Key and scan/load it
Here''s an example how to generate a QR code containing a RSA Public Key (can be any data you need) in B4J and scan/load the key in B4A (based on the B4x QR code examples from Erel).
@KMatle · 2020-04-27
B4ASnippetFile xfer [INCLUDED]
Upload a file to your server with HttpJob and php[included]
Upload a file to your server with HttpJob and php[included]
@scottie · 2020-04-26
B4AClassList- and scrollview
CustomListView class
A flexible list based on ScrollView
@Erel · 2020-04-26
B4ASnippetFile handling
Delete oldest files, if no free space
Delete oldest files, if no free space
@peacemaker · 2020-04-25
B4ALibraryFile xfer
prdownloader
prdownloader
@somed3v3loper · 2020-04-22
B4ATutorialHome automation
Experimental Powered air purifying respirator
Although very similar to a BiPAP device, This device could only be considered as very low-cost Powered Air Purifying Respirator (PAPR) with filter adapter and mask.
@freedom2000 · 2020-04-22
B4ALibrarySeekbar
BubbleSeekbar
A beautiful Android custom seek bar, which has a bubble view with progress appearing upon when seeking. Highly customizable, mostly demands has been considered.
@somed3v3loper · 2020-04-22
B4ATutorialB4A [TIP]
Reset the manifest editor code to the default code [Tip]
Use case: you downloaded an old example and you want to reset the manifest editor code so it will have the correct targetSdkVersion and theme. Open the manifest editor, delete all text and save it. Open the manifest editor code again and the default text will appear.
@Erel · 2020-04-21
B4ATutorialList- and scrollview [XUI]
CustomListView with floating titles [XUI]
CustomListView with floating titles [XUI]
@Erel · 2020-04-21
B4ATutorialB4A
Create an Android virtual machine or laptop
Create an Android virtual machine or laptop
@hatzisn · 2020-04-20
B4ATutorialB4A
Using CustomBuildAction to deploy to multiple devices at once
Using CustomBuildAction to deploy to multiple devices at once
@Erel · 2020-04-19
B4ATutorialBarcode/scan
Using Camera2 with Zxing for live scan of 1D and 2D barcodes
Using Camera2 with Zxing for live scan of 1D and 2D barcodes
@Johan Schoeman · 2020-04-19
B4ALibraryAnimation
Lotti
Lottie is a mobile library for Android and iOS that parses Adobe After Effects animations exported as json with Bodymovin and renders them natively on mobile! For the first time, designers can create and ship beautiful animations without an engineer painstakingly recreating it by hand.
@DonManfred · 2020-04-19
B4ALibraryFirebase
Firebase UI Auth - a new Dimension in Authentication
This is a Wrap for the Firebase UI-bindings found at Github. It offers Authentification using - Google-Account (Tested) - email and password authentification (Tested) - Telephone-Authentification (Tested) - Twitter (Not tested as i do not have a Twitter-Dev Account) - Facebook (Not tested as i do not have a Facebookr-Dev Account) For the last two (Twitter and Facebook) there must be made additional changes to the Manifest.
@DonManfred · 2020-04-18
B4AClassTable/Grid
Grid Class using a CLV VisibleRangeChanged long list images from url
The idea of this class is to be able to load in a 3 column Grid (customizable) a long list of url images, and to be able to customize all the labels panels etc…
@scsjc · 2020-04-15