Hi, Guys
Scanning through the forum it appears that (using V4B 8.3+) it is OK to define global variables in the Starter Server (in the sub Process_Globals) as it will not be removed by the OS whilst the App is running, Question - is that correct?
Also, would I be safe to store global variables...
Hi Guys
I am trying to convert a project which runs on both B4A and B4I to be cross platform. I have started with converting the B4A, but hit a query. How do I deal with AddMenuItem - I am trying to move as much code as possible to X-platform class as suggested by Erel in...
This is a generic question about the responsibility of a class in downloading and parsing it's own members
and if this is considered good practice.
I have a now large program that downloads multiple objects from the internet and saves them into lists
I am trying to keep my main class as "clean"...
Introduction:
The Raspbee (or Conbee, which is the USB version - the information here will only refer to the Raspbee) from Dresden Elektronik (https://shop.dresden-elektronik.de/raspbee.html, also available elsewhere, e.g. on Amazon) is a Zigbee (https://www.zigbee.org/) radio board for the...
i think this PreferencesDialog is great for collecting data.
nice to have would be
a image selector (example for a user image)
select from an image list (product from products)
measurements L x W x H/ dimensions in meter or cm
weights in kg
rating 1-5 stars
Hi all, i use 2 B4XTables in the same project, and i get a error referented to SQLite.
Has anyone had a similar experience?Has anyone had a similar experience?
The error:
Error occurred on line: 601 (B4XTable)
android.database.sqlite.SQLiteException: near ")": syntax error (code 1): , while...
Here's a small class which produces a simple popup menu anchored to a view. It works in B4A and B4i currently.
I've attached projects to show how it is used.
Enjoy.
[Edit] New version 1.1 has better support for popup menus inside (nested?) scrollviews.
Hi im working on a Flask restfull API for a Android App, as is my first android client i having troubles with a PUT request, i send the json but the server responces bad request, the reason: the backend can't parse the json.
I printed it on the log an paste it on "Postman" and its work very...
Ola
So this was a response to a tweet I made that B4X always comes top!!!
Well I was forced to upgrade my laptop to win 10 after being comfortable in win7 fpr a very long time and the only reason im using a windows laptop is due to b4x.
It is a logical thing for win though due to costs...
I develop the XUI version of the ScrollView2D library that created @Informatix. I did not base myself on its code but developed everything from scratch. It is still unripe, but it works well and is not very heavy. Clearly for iOS already the native ScrollView is 2D as well as for Desktop...
SD_ElasticTrimmer
Author: Star-Dust
Version: 0.04
ElasticTrimmer
Events:
Change (Value As Int)
Functions:
DesignerCreateView (Base As Object, Lbl As Label, Props As Map)
Base type must be Object
GetBase
Initialize (Callback As Object, EventName As String)
Invalidate
RemoveViewFromParent...
Hi, everyone, i'm coding an app, and i wanted to do it graphically catchy, so i designed my own msgBox in the designer, and i display it using the custom B4XDialog and loading the layout i did.
Now, the problem is that it doesn't aumatic handle the KeyPress Back event, so you have to do it...
Class Name TimeSwitch
'time switch
Sub Class_Globals
Type HourSettings(q1 As Boolean,q2 As Boolean,q3 As Boolean,q4 As Boolean)
Private DaySettings(24) As HourSettings '0 to 23
End Sub
'Initializes the object. You can add parameters to this method if needed.
Public Sub...
Hi. i use the input dialogs (B4XInputTemplate)
https://www.b4x.com/android/forum/threads/b4x-input-dialogs-with-xui-views.101197/
how i can change the color of dialog?(background and color of header)
thank you
AS Animated Counter
AS MsgBox
AS PinLock
AS Placeholder
AS Button Slider
AS Floating Loading Button
AutoTextSizeLabel
AS Sliding Circles (Loadingview)
AS Ripple View
AS Gradients Panel
AS Color Chooser
AS Draw
AS View Pager
Have fun :)
I want a better dialog for time input so I created this time (picker) dialog using B4X XUI Views and IME library. I think the code has too many lines. Hope someone can simplify or improve it.
Note: I haven't tested but I think this code can also work for B4i and B4J.
Update: I have tested with...
Hi,
I am trying to write XOR encoding/decoding for B4X (I need to use it as a light weight and fast encoding/decoding cross plateforme solution with B4I, B4A, B4J and Lazarus/FPC). I know XOR is not the best/strongest encryption solution but it should be ok for my needs).
The following code...
Hi Erel,
I have some suggestions about B4X and, given that for necessity I had to move away from B4A/B4I and jump ship to Ionic and soon Flutter, this is my feedback I can offer so that B4X could be a valid alternative to those environments especially for many of us who are a 1 man show and...
This is about how to exchange AES256 encrypted messages incl. generated IV (initialization vector) between a ESP32 and B4x.
Notes:
- the ESP uses AES/CBC/NoPadding. The data must be padded (must have a length which is a multiple of 16). I've used a length of 256 to to get there (instead of...
Before making a change to a shared module that I often use, I wanted to assess the projects it would impact. Windows Search is one option of course, but not one I find very practical in this case - time for B4Xxfref.
Select the folder you want analysed (subfolders are inspected as well); the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.