B4XSnippetColour [B4X]
Contrast Background and text colors [B4X]
If you have an app in which the user can change the background colour you need to be able to change the text colour of controls accordingly. I found a code snippet that returns black or white depending on the luminosity of a colour which seems to do the trick
@stevel05 · 2020-01-13
B4ATutorialB4A
How to use NoxPlayer with B4A
It''s recomended to use a real device or the Android SDK included emulator. But if you for some reason want to use NoxPlayer as emulator it is easy!
@knutf · 2020-01-11
B4XTutorialB4X [B4X]
B4X Programming Technics + Track Changes Tool [B4X]
B4X Programming Technics + Track Changes Tool [B4X]
@hatzisn · 2020-01-11
B4JLibraryDatabase
New sqlite-jdbc version 3.30.1 (2019.12.25)
New sqlite-jdbc version 3.30.1 (2019.12.25)
@Claudio Oliveira · 2020-01-10
B4ATutorialImages
How open camera and choose imagen file from gallery of device
In this example i can take a photo or choose an image from gallery and put it in ImageView
@mrjaw · 2020-01-09
B4ASnippetAnimation [AGAIN]
Animation with SetLayoutAnimated [Again]
This is another example of using SetLayoutAnimated method that we can use to create animation.
@rraswisak · 2020-01-09
B4ASnippetAudio/Video
VideoRecordApp with FileProvider
VideoRecordApp with FileProvider
@Erel · 2020-01-07
B4ASnippetAudio/Video
FFT Test with source
A test program to detect sound. It acquires audio data from the microphone, performs an FFT and magnitude squared, then graphs the "bin" output.
@canalrun · 2020-01-06
B4XClassDialogs [B4X]
File download indeterminate dialog template [B4X]
Just a bit of fun for a project, this is a simple animated dialog template with nothing more than the standard view animations and FontAwesome.
@stevel05 · 2020-01-05
B4ALibraryAudio/Video
Casty - Cast Videos to Google Cast Devices
Casty is a small Android library that provides a simple media player for Chromecast. It''s fully consistent with Google Cast v3.
@DonManfred · 2020-01-05
B4JToolB4X
B4x Library Documentation viewer
B4x Library Documentation viewer
@stevel05 · 2020-01-05
B4ALibraryAudio/Video
FFmpeg_b4a - a FFmpeg library for b4a (decoding/streaming)
FFmpeg_b4a - a FFmpeg library for b4a (decoding/streaming)
@moster67 · 2020-01-03
B4ALibraryBarcode/scan
Document Scanner
Automatically detect a document on a photo then scan it
@Johan Schoeman · 2020-01-03
B4XTutorialTable/Grid [B4X]
Cross platform Editable B4XTable + Form Example [B4X]
This example demonstrates several things: Cross platform code and files, similar to the way XUI2D games are organized: All the logic is implemented in a class named EditableTable. The module is located in the projects parent folder. The two asset files (list of animals - source; and the preferences dialog template) are stored in the Shared Files folder and are copied when needed with a #CustomBuildAction command. You can see it in the EditableTable class. Note that if you want to update those files then you need to update the files in the Shared Files folder. The project specific files will be updated automatically. Using B4XTable and B4XPreferencesDialog to create an editable table. Table features: Add new items. Edit existing items. Delete existing items. Duplicate existing items. Data is saved when the app closes to a CSV file. Saved data is loaded when the app starts.
@Erel · 2020-01-02
B4JSnippetDate/time
B4X - cHolidays - Determine when a certain holiday is
I came across some excel formula''s (https://www.tek-tips.com/faqs.cfm?fid=7549) for determining when a holiday was and on what day / date. Thought it was an interesting way of doing it so I converted the code to something I could use in B4A and B4J. Some of cHolidays that you can check for are not real holidays "Black Friday" for one.
@Robert Valentino · 2020-01-02
B4RTutorialTheme
LEDStrip - different themes for different holidays
LEDStrip - different themes for different holidays
@Robert Valentino · 2020-01-01
B4JTutorialLinux
The easy way to install your B4J application on Linux
This is meant to be a tutorial for you to easily distribute your applications developed in linux. Through B4JPackager11 and B4JPackager v1.50 the excellent tool developed by Erel gives us the possibility of obtaining a convenient installation file using install Inno Setup. This is for the Windows world. Unfortunately, there is not much for Linux as installers. By sending two files to the customer, even the person who has no experience with Linux will be able to install your program easily and without any problems.
@MarcoRome · 2019-12-31
B4ALibraryOS
NanoTime
Uses the most accurate clock available on the device, resets on reboot so only really useful for working with elapsed time in an app.
@stevel05 · 2019-12-31
B4XTutorialIRC / IM
Cross platform chat layout example
Example of implementing a chat layout. It is based on xCustomListView. The text is created with a hidden BBCodeView (BCTextEngine) and the bubble is drawn with BitmapCreator.
@Erel · 2019-12-31
B4XLibraryLogging/Exceptions [B4J][B4A]
B4A Log Server [B4j] [B4a]
B4A and B4J. It enables multi window logging so you can organise and better read the logs you create in your code.
@stevel05 · 2019-12-31
B4ALibraryComms & Network
Network Service Discovery - Apple Bonjour - mDNS - Zero Configuration Networking
I am designing an IoT device that required an auto-discovery service. I did not find any way to easily read a Bonjour Answer (mDNS - 224.0.0.251 [5353]). To fix my problem I decided to wrap the Network service discovery (NSD) from android. https://developer.android.com/training/connect-devices-wirelessly/nsd Library Code : https://github.com/DylanMeng/B4A-LIB_NetworkServiceDiscovery
@Dylan Meng · 2019-12-30
B4XLibraryList- and scrollview [B4X]
My xCustomListView 1.73 [B4X]
Some features added to the last Erel''s xCustomListView (v. 1.71): ''xCustomListView v1.73 LM '' Added MultipleSelection: '' Property MultipleSelection '' Property SelectedIndices '' Property SelectedValues '' Public method UnselectAll '' Public method AddSelectedIndices '' Added private method SetPressedColor '' and modified PanelClickHandler to use it. '' Reorganized into Regions. '' ''xCustomListView v1.72 LM '' Added SetValue and GetAllValues
@LucaMs · 2019-12-30
B4ALibraryOther
Heart Rate Measurement - 100% embedded in B4A
Android based heart rate monitor which uses the camera and its flash to determine the users heart rate in beats per minute.
@Johan Schoeman · 2019-12-28
B4ITutorialIn-App Billing
In-App Purchase Receipt Validation
I needed a way to verify the transaction receipt from the In-app Purchases in an app i''m working on, below is what is needed in case anyone else needs to accomplish the same task. A secure server is needed in order for the receipt information to be verified with App Store. The PHP script simply takes the receipt data passed from your app and send that data over to the App Store to be verified.
@walterf25 · 2019-12-27
B4ALibraryFirebase [ONDEVICE TEXT-, BARCODE-, IMAGELABELING, FACE- AND CONTOUR-RECOGNITION]
Firebase ML-Vision [OnDevice Text-, Barcode-, Imagelabeling, Face- and Contour-Recognition]
This is a wrap for the Firebase ML-Vision live detection of - Text - Barcodes - Faces - Facontour - and Imagelabeling.
@DonManfred · 2019-12-27
B4XLibrarySlider [B4X][XUI]
RoundSlider [B4X] [XUI]
Cross platform round slider. Add it with the designer. Make sure that its width and height are the same. Make the custom view large enough as the custom view size includes the place for the thumb.
@Erel · 2019-12-26
B4RTutorialB4R clock [RTC]
Reading from a DS1302 [RTC] without a library
I have one of the "MH-REAL-TIME CLOCK MODULES - 2" with a DS1302 chip. I thought it would be interesting to see if I could read the seconds, minutes, hours, year, month, day of month, and day of week from the module without making use of a library i.e hard coding the data extraction as a learning exercise.
@Johan Schoeman · 2019-12-26
B4ALibraryCharSequence / CSBuilder
CSBuilder, store in JSON format
This class can parse JSON to generate CSBuilder. Create a json string, save it in a file, add it to assets folder, and display it with this class. All the CSBuilder capabilities are supported.
@spsp · 2019-12-26
B4XLibraryB4X [B4X][XUI]
SD: B4XViewEvent [B4X] [XUI]
Using the XUI views I realized the need to follow the events of Touch, Drag, Click and Release in a unique way.
@Star-Dust · 2019-12-24
B4ATutorialHome automation
Hugo - ESP8266 4-button WiFi remote
Hugo - ESP8266 4-button WiFi remote
@walt61 · 2019-12-24