Purpose:
To connect to and read data (such as the current solar power production) from an SMA Sunny Boy inverter. The Sunny Boy must have been added to your LAN or WLAN - see...
Hello everybody.
I am working on a bigger project where I have several classes.
The application will read data from a textfile, buffer it locally, and send it to an mqtt broker.
It has also a GUI to configure settings and check if it is working ok.
When the "read csv" class fails to read the...
See title. Example code (from the attached demo project):
Sub AppStart (Args() As String)
Dim wmB4Jargs1 As wmB4Jargs
wmB4Jargs1.Initialize
wmB4Jargs1.AddStandaloneArg("--nodetails", "-n", "This (optional) argument stands alone and does not need a value", False)...
Posted in the B4J Code Snippets forum: https://www.b4x.com/android/forum/threads/class-b4x-wmhtml-remove-html-tags-and-replace-html-entities-with-their-corresponding-characters.162596/
See title. The html entities' data were obtained from https://symbl.cc/en/html-entities/ and some additional ones were added. The attached demo project contains the class; there are no library dependencies. Example code from the project:
Private wmHtml1 As wmHtml
wmHtml1.Initialize...
The title says it all; tested with a Bose SoundTouch 20. The API info on which this class is based can be found at https://firstandsecondhomes.com/assets/uploads/SoundTouchAPI_WebServices_v1.1.0.pdf.
Public methods:
- Initialize: Initializes the object
- GetBass: Retrieves information about...
Why/What?
A CloudKVS didn't cover my needs so I developed this class. Features:
- It synchronises a table between two SQL instances; one is called the Client, the other the Server
- All columns that exist in the Server table must be present in the Client table
- Additional columns that exist in...
Abstract
Another one in my 'I don't like doing repetitive stuff' repertoire. The rationale for this one is to avoid having to code the 'boring stuff', i.e. CRUD for data tables (usually slightly or completely different than others from other programs) in a new program, again and again.
The idea...
Dear Developers,
I have a b4xpage/Activity and I declared an instance of a class "X" as Private X1 as X in the Sub Globals.
In may Class "X" I like to transfer a value to the b4xpage/activity like I do in a Custom View Class.
callSub2(mCallback, mEventName & "_ABC", result)
I tried to use...
All Listed CustomView, Modules, Classes and Services are part of our B4A Development at prestent and in future.
All not Listed CustomView, Moduls, Classes and Services are outdated and not longer supported!
B4A CustomViews, Modules, Classes...
Hi B4X community,
I have the following as a part of a Java code in a class:
#if Java
{
//
//....
String msg ="blabla";
ba.raiseEvent(null,"get_msg",msg);
//.....
//
}
#end if
Is the ba.raiseEvent written correctly?
How would I expose 'msg' variable to the...
¡Hola a todos!
Recientemente adquirí un equipo que cuenta con un sensor láser incorporado para medir distancias. Sin embargo, la aplicación preinstalada en el dispositivo es bastante básica y no aprovecha todo el potencial del sensor. Estoy muy interesado en desarrollar una aplicación...
Posted this in the questions group, slightly altered this class (posted originally by Erel) so that it will handle any (?) faulty input string and not
produce an unhandled error. Requested to put this in this group and attached a simple B4XPages project demonstrating this.
Posted by zipping the...
As I don't use SQLite (or any other SQL) all the time and am no database expert, it's always a bit of a challenge to get the SELECT syntax right, specifically when relationships between tables (JOINs) come into play. There's that, and the fact that it was fun to develop (and I wanted to have the...
when add some libraries i got this error
b4a and sdk is update
Dex merge Error
Error in e:\b4a_sdk\tools\..\extras\b4a_local\unpacked-play-services-appset-16.0.2-63785445471000\jars\classes.zip:classes.dex:
Type com.google.android.gms.appset.AppSet is defined multiple times...
Hi,
A simple tool to create XML+JAR files for Class Template
https://www.b4x.com/android/forum/threads/custom-class-templates-in-b4x.90552/post-572445
Thanks to @Star-Dust for zip class : https://www.b4x.com/android/forum/threads/sd-ziplibrary.90733/
Enter Author and Version
Add class files...
Hello.
I have a class with the name Box2.
Inside the class I declare one B4XTable I can't understand what I need to have on callback object so I can make b4xtable to work.
I show you some of my code to help you understand my problem.
Sub Class_Globals
Private B4XTable2 As B4XTable...
Hi everyone,
I'm moving part of my code done in a B4XPage into a Standard Class.
In this code i've a Runtime Permission CheckAndRequest that requires the "Wait For" block
Private Sub BeginBLEscan
rp_ble.CheckAndRequest(rp_ble.PERMISSION_ACCESS_FINE_LOCATION)
Wait For...
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.