Share Your Creations

Hi all, I am happy to share my creation. I just started learning B4A. I am really happy I could develop an android app so quickly. It is a simple one, but it served my purpose. Some years ago, I attempted the conventional way using Eclipse, etc. Very soon, I gave up. Coming from VB6 background, and knowing nothing about Java, it was just too much for me. I am glad I stumbled into B4A. I have attached only the Files folder and the .b4a file. Basically, this plays a preset list of music files, each for the specified no. of times. One can enter the number of repetitions in the edittextbox on the left. Value of zero would skip that track. Since it is not necessary to listen to the introduction, that is set to zero, by default. The...
Nixie-phile frequency counter
The Arduino generates an accurate 1 second time base for the counter by cascading timer0 and timer2. Part of the B4R code is in C for setting the timers/counters of the Atmega, this way the accuracy is determent by the 16 MHz crystal. The link between digital inputs 3 and 4 connects the output of timer2, 250 Hz, to input of timer0. The software uses the output of timer0 (1Hz) when go positive to start the count of frequency input to timer1. Timer1 is a 16 bits timer, it overflows at the count of 2 power of 16, that in turn advances over-flow register. At the end of the 1 second the 16 bit register is recorded. The Arduino sends via OTG (On The Go) cable or adaptor 1 byte as a key + 3 bytes of the measured frequency. The specs recommend...
Resize and crop image
A new cross platform version does exist: [B4X] [XUI] ResizeAndCrop. This is a new version from these threads. https://www.b4x.com/android/forum/threads/resize-and-crop.19550/#content and this one. https://www.b4x.com/android/forum/threads/resize-and-crop-square-image.94949/ It handles images with any width/height ratio in both orientations. I put it here to find it easier.
Corona Track is an application which keeps you updated about the latest data of COVID19 across the world. It captures data from multiple aggregators and gives you latest statistics of every countries across the world. Also indepth Indian data Including that at National, State and Even district level is updated live! I started it with inspiration from a few similar projects on this forum itself and i want to thank everyone who has made similar projects before If you wish to report any bugs/issues or wish to contribute/ collaborate on the project feel free to email at [email protected] or DM me.( I have found a lot of things which can be added firther to make it really informative and useful) PS: All the data shown is...
MQTT client on service working a few seconds by minute to preserve battery
at start i wanted to monitor 2 SOS buttons for seniors. My first idea was to use a rfbridge sonoff programmed with tasmota and a MQTT on mobile, but a MQTT client working full time in a mobile take more than 30% of battery : it is not usable. second idea was to use a gateway between rfbridge and my mobile. in this case configuration is this one: the gateway is a MQTT client on ESP8266 built with B4R and it is interface interrogated by this application. (code is in B4R side) MQTT broker is cloudMQTT.com on Android side, i built a MQTT client dedicted at SOS buttons monitoring - MQTT client is a service running 15sec and sleeping 1mn (or more) => in this configuration it take less than 3% of battery - we have a sound alarm...
Hi, I was planning to make an image selector library like the one used in WhatsApp and Telegram but i ran out of time so i'd like to share this project as it may be useful for someone it is working and can be used for many proposes (tested on API-21 to API-28) , it may need a few little optimizations it has all standard gallery features (albums, scrolling, pinch to zoom ...) Required external Libraries MediaBrowser ScaleImageView zGridView
experimental  Powered air purifying respirator
Disclaimer : This design is not a medical device and should never be used as such. Medical ventilator are really complex devices, they follow strict process of certification and can be lethal if used unproperly. So, NEVER use this device to care a CODIV19 people… nor for anything else than an illustration of complexity of these systems… Please also note that, as mentionned here : <https://github.com/jcl5m1/ventilator> , There are significant risks associated with using a high pressure BiPAP as a DIY ventilator without medical supervision. 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. I took most of my inspiration...
File Encryptor
This is my first post in this forum. I'm a newbie. only two weeks with B4X. Coming from python & kivy I found that though B4X language has a steep learning curve, it is much easyer to build and deploy apps for android in B4A, not to mention the superb documentation. This app is a simple File Encryptor. You can encrypt the file with the same name or with a different name (just don’t forget to delete the source). Adding “SetApplicationAttribute(android:largeHeap, "true")” to the manifest file, enabled me to encrypt / decrypt files up to 128 MB. More than that and the app crash with "out of memory error". (help here will be welcome) Almost all the code is in a separate class so it's easy to apply it to B4J and B4I. ATTENTION: DON'T...
Hi guys! I have just release my new B4A app. https://play.google.com/store/apps/details?id=gigiosoft.MQTTAlert This app allows to monitor a local or a cloud MQTT network. Once connected to a running broker, it allows to monitor configurable topics for configurable payloads (ex you may want to get a phone notification when a pir sensor detects motion or when your CO2 sensor measure values higher than x). You can also configure it to publish topics upon conditions. For example you could set it to publish "on" to a fan device when a certain temperature is higher then x and "off" when it's lower. The app allows you also to send manual commands. Hope you like it.
Embalmer  [With Source Code]
Hi All, Not an App with wide appeal but possibly useful if you know a mortician. Embalmer primarily calculates the volume of embalming concentrate for a required amount of embalming fluid. Regards Roger 27 May 2020 Multifunction Calculator added to the App. 20 May 2020 Embalmer now checks for updates. 20 Sept 2016 Update Embalmer can now, also calculate any of the other three parameters shown in Standard Mode by dragging that parameter down to the Result Bar. Embalmer
Highland Titles Calculator [Source code]
I previously posted this App back in 2014 but didn't include the source code. This will correct that oversight. My original post is HERE. I started with the code of SCalculator by Derez, dismantled it and built up HTC from what I learnt from the exercise. A great learning experience. Derez's SCalculator can be found HERE although it has changed a bit over the years. Another calculator example is Tape Calculator by Klaus found HERE. The code for HTC is in the attached zip the App is on PS HERE Hopefully this will be of some use to somebody . Regards Roger P.S. This was a very early attempt at programming so no laughing. :)
Back
Top