B4ASnippetMap
Convert map to array
Convert map to array
@toby · 2022-06-12
B4ASnippetWebView
Upload files with WebView
Code requires Android 5+ 1. Set a custom WebViewChromeClient. It is implemented with inline Java code. 2. The ShowFile_Chooser event is raised when the user clicks on a "browse" button. 3. You need to get the file URI with FileProvider and call SendResult.
@Erel · 2022-06-09
B4ASnippetAI/ML
BCP-47 Codes for all languages supported by Google''s ML Kit
BCP-47 Codes for all languages supported by Google''s ML Kit
@Michael2150 · 2022-06-08
B4ASnippetNotifications
Notifications permission with targetSdkVersion = 33
Notifications permission with targetSdkVersion = 33
@Erel · 2022-06-06
B4ASnippetStrings
Check language direction based on dailing code
Check language direction based on dailing code
@Hamied Abou Hulaikah · 2022-06-06
B4ASnippetCamera
CameraExClass save picture without rotation
Anyone use CameraExClass.SavePictureToFile function, the image will be saved rotated horizontally. I changed this function to save picture as it without rotation.
@Hamied Abou Hulaikah · 2022-06-02
B4ASnippetOther
Weight Watcher
It starts off with a simple config screen where the user enters standard stuff, name, age, height, starting weight, and target weight, all measurements are in imperial but should be easier enough to convert to metric. You are then taken to the Main overview screen which shows starting, target, and last weight. it works out the person''s BMI, and informs them whether they''re obese, overweight, healthy, etc. A chart is provided showing the entries from the Daily Weigh In''s screen.
@Colin Evans · 2022-05-30
B4ASnippetDatabase
Parameterized SQL Update Example
Parameterized SQL Update Example
@73Challenger · 2022-05-29
B4ASnippetLabel
Label fade in-out text change
Label fade in-out text change
@lucasheer · 2022-05-22
B4ASnippetYouTube
B4A YouTube Downloader
B4A YouTube Downloader
@Abdull Cadre · 2022-05-09
B4ASnippetCalendar
Calendar with Database
Calendar with Database
@Colin Evans · 2022-05-06
B4ASnippetStrings
URI decoding
A function that allows URI characters to be decoded into their equivalents, e.g. "SAMSUNG %C2%A9" -> "SAMSUNG ©"
@T201016 · 2022-05-02
B4ASnippetFile handling
File URI and URL
B4A Subs to get URI and URL of files
@max123 · 2022-05-01
B4ASnippetFile handling
Share my app
Share your app package in apk format and send it to another device by Bluetooth or something
@alfaiz678 · 2022-04-26
B4ASnippetB4A
Block Phone Screen from turned off
This solution gives the user the possibility tu override the phone screen off timeout. The settings values will not affected (Button btAn). After override the button color turns yellow. After doing his actions while the screen is on the user is able to reset back to the standard settings screen timeout (Button btClose) the button color turns back to blue.
@Guenter Becker · 2022-04-21
B4ASnippetColour
Elevation Color
This extends Erels XUI shadow function to use the color parameter also in B4A, by using setOutlineAmbientShadowColor and etOutlineSpotShadowColor. Works since API 28.
@Blueforcer · 2022-03-24
B4ASnippetGPS/location/maps [OSM VIEWER]
Addition to B4XMap [OSM viewer]
Using this very nice OSM map viewer https://www.b4x.com/android/forum/threads/b4xmap-open-street-map-viewer.138028/ I didn''t like the blue diagonals that will show for the area outside the map, so added some code that will prevent that and also avoids trips to the map DB, looking for tiles that are not there.
@RB Smissaert · 2022-03-14
B4ASnippetSpeech [FIX ISRECOGNITIONAVAILABLE ALWAYS FALSE]
XSpeechRecognizer Android 11+ [Fix isRecognitionAvailable always false]
XSpeechRecognizer Android 11+ [Fix isRecognitionAvailable always false]
@Mike1970 · 2022-02-18
B4ASnippetDialogs [.BAS CHANGES][SOLUTION]
Increase B4XSearchTemplate without losing title bar [.bas changes] [Solution]
Increase B4XSearchTemplate without losing title bar [.bas changes] [Solution]
@AnandGupta · 2022-02-11
B4ASnippetAnimation
Valentine''s day is approaching
Valentine''s day is approaching
@William Lancee · 2022-01-28
B4ASnippetSocial
WhatsApp Cleaner
Last year I posted on Google Play an app that cleared WhatsApp from duplicate files (images, videos, audio, documents) or let you preview and delete files that were no longer interested. It also allowed to move the files to dropbox, so as to free the device memory. Google Play asked me to move the word WhatsApp at the end of the title because this could create confusion with the original App and then I could post it, after a while I removed the app and admonished me saying I did not have to use the word WhataApp. o_Oo_Oo_Oo_O I could have changed package name and app name and redacted it with a new icon .... but I did not care ... and did not produce much revenue. :(:(:(:( But for me I find it useful:p:p:p so I would like to share the app with its source code.
@Star-Dust · 2022-01-05
B4ASnippetGoogle
How to increase your Consent Rate for your GDPR CMP in Google funding Choices
How to increase your Consent Rate for your GDPR CMP in Google funding Choices
@Hadi57 · 2021-12-22
B4ASnippetEncryption
Keep your codes
Store notes encrypted with a password or PIN
@yeroen · 2021-12-02
B4ASnippetLabel
Contextual Menu in CLV item justified Label to select text
Select the text of a LABEL in the CLV items and later color those portions of text
@endbyte · 2021-12-02
B4ASnippetMaths [GOAL SEEK]
Find a missing value using Approximation & Guesswork [Goal Seek]
Find a missing value using Approximation & Guesswork [Goal Seek]
@Col · 2021-11-18
B4ASnippetImages
Conversion from CUrl to B4A
It is quite convenient to upload images to public cloud server and share the image link to other people rather than share the real image files directly! The following code snippets showed how to upload and search images by CUrl command (provided by: https://apidocs.imgur.com/) and by B4A syntax.
@Wong Ka Chun · 2021-11-17
B4ASnippetMail
TBirdSync: Thunderbird contacts/calendar/tasks mirroring from PC to Android (sources included)
TBirdSync: Thunderbird contacts/calendar/tasks mirroring from PC to Android (sources included)
@walt61 · 2021-11-13
B4ASnippetSocial
WhatsApp call
Start a WhatsApp call from your app
@Pendrush · 2021-10-16
B4ASnippetB4A [SOLVED]
Launching a TextEditor with a parameter on startup [SOLVED]
Launching a TextEditor with a parameter on startup [SOLVED]
@T201016 · 2021-10-15
B4ASnippetB4A [IDE]
Where is the compilation mode stored? [IDE]
Where is the compilation mode stored? [IDE]
@Erel · 2021-10-11