b4j

  1. W

    B4J Question [SOLVED] Linux/wine - program running from the IDE uses Greek(?) font?

    When running outside the IDE, all is well. However, when running the attached (based on the default project when creating a new UI one in B4J) from the IDE, it looks like a Greek font is being used for all views except the form title. Changing e.g. a button's font to Arial instead of the default...
  2. A

    German [B4J] intern jnet - ftp - dir list für einen VX Works ftp-Server

    Hallo miteinander, hab hier ein Problem mit jnet/ftp. Ich nutzte B4J 9.8 internal Version:1.81. Ich habe hier mal ein vereinfachtes Testprogramm meines Projekts private Sub Test ftp.Initialize("ftp","10.26.10.115",21,"User","pass") ftp.PassiveMode=True ftp.TimeoutMs= 60000 Log...
  3. aeric

    B4J Library [B4X] Velocity

    A wrap of Apache Velocity Engine library for B4A and B4J What is Velocity? Velocity is a Java-based template engine. It permits anyone to use a simple yet powerful template language to reference objects defined in Java code. Source: https://velocity.apache.org/ Download additional libraries...
  4. Z

    B4J Question [SOLVED]Gmail not working

    Hi, I'm trying to send a gmail through a B4J app but it's not working. I've updated my cacerts in Java and tested it with keytool and that's OK. My code is: Private Sub B4XPage_Created (Root1 As B4XView) Root = Root1 Root.LoadLayout("MainPage") smtp.Initialize("smtp.gmail.com", 465...
  5. C

    B4J Question Error when reloading CLV quickly when clv items contain B4XComboBox

    For a while I've been noticing an error when I reload a CustomListView quite quickly: Each CLV item contains a B4XCombobox and the error seems to be because I'm trying to use clv.GetItemFromView using the underlying combobox. Attached is a small project showing the issue. If you run it and...
  6. Z

    B4J Question [SOLVED]Inno Setup Problem

    Hi, I'm using Inno Setup Compiler 6.2.2 with B4J Build Standalone Package and I'm going crazy trying to figure out the following: My program includes a number of screens whose layouts are set up in Designer but whose elements are repositioned programmatically. After I run the Build Standalone...
  7. M

    B4J Question Fast Net For B4J

    Hi @Earl, I am currently working on building a cross-platform project for B4A and B4J. Previously, I had completed the same project fully for B4A and it had good results. When I decided to work on the project for Windows, I used B4X instead. The issue I am facing is with retrieving data from an...
  8. yo3ggx

    B4J Question Native library

    Hello. I've build a B4J library using Eclipse. Some native libraries are used inside the library jar file. In a test application (directly in Eclipse), everything is working as expected. I added the library jar file in the External libraries folder in B4J (including the library containing the...
  9. walterf25

    B4J Question ABMaterial Class Instantiation

    Hi all, I need some help understanding how to use a standar B4J class in an ABMaterial project, basically I have a project where I have a written a class that opens a Serial Port and starts receiving data from a device, This all works perfect so far, until I navigate to a different page, the...
  10. DarkoT

    Other Best idea for creating multilevel layout

    Hi, need idea (best practice) how to create user friendly input in B4J desktop app which will allow user to input WORKORDERS. On first level user will input a "head" (=production order) which will contains customer ID, date, description, ... On second level user should create many workorders...
  11. W

    B4J Code Snippet Improving the speed of reading multiple sheets from an Excel workbook with jPOI5/XLUtils

    Especially noticeable when reading from a not-very-small workbook, even if it just contains multiple sheets with some tens of thousands of rows. Slow method that opens the workbook multiple times (and, I guess, reads it/interprets its XML completely each time to load it into memory): Dim...
  12. Rasoull

    Android Question multiple socket connection

    hi I have many users connecting to the server, the server side is written with b4j and I want to connect them one by one, what libraries can I use for this?
  13. K

    B4J Question Rearrange Visible Buttons

    Hello Everyone! I 'm new to B4x and I'm trying to create an app using B4XPages. I want to change the visibility of some buttons based on a certain value (done that). Moreover I want those buttons rearranged, so that the visible buttons would look better. For example if i had 5 Buttons and only...
  14. Arnaud

    B4J Question Googlemaps bug?

    Hello, Since 24-02-2023, I have problem with Google map library for all my project in B4j . the screen is white. So, I have tested with the example project "GoogleMapDemo" to be sure that the problem is not my API key, and I have the same problem. It seems that the problem is when the pane to...
  15. B

    B4J Question B4XTable Wordwrap

    Hi All. I picked up programming in B4A again after a few years and I have started to use B4J also. For my current project I use B4XPages, B4XTable and SQLite. I have searched the forums and looked at the teaching guides, but can't find the answer to the next question : How can I make B4XTable...
  16. W

    B4J Question [B4J] B4XListTemplate font change not working for its CLV?

    Attached the test project and the screenshot. The code is just this: Dim ListTemplate As B4XListTemplate Dim dlg As B4XDialog dlg.Initialize(MainForm.RootPane) dlg.Title = "Title - this is default font 12" dlg.TitleBarFont = xui.createDefaultFont(12)...
  17. W

    B4J Library [Class] [B4J] [SQLite] wmSQLiteSelectBuilder - a more or less graphical builder for SQLite SELECT statements

    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...
  18. teddybear

    Share My Creation [WebApp] A Simple Html Template Parser

    This is a mini template engine which can generate HTML dynamically by parsing templates on server-side. It is a bit like Django. 1. Templates A template is a text file which contains variables, tags. 1.1 Variable There are two types of template variables, one is common variable, the other is...
  19. C

    B4J Library [Custom View] Year Planner View

    This Year Planner View is my first effort at a custom view! It depends on jXUI, XUI Views, & B4XCollections. It displays every day in the selected year and returns the clicked day(s). A bunch of Designer Script Extensions are used to keep everything neat as the form is resized (credit to @Erel...
  20. SinaDeveloper

    Admob income

    Hello I am building a browser with b4a for Android and b4j for Windows. I really don't know if it will be profitable to use Admob ads or to add vip subscription! That's why I ask a few questions, please answer them: 1- In addition to Android, will it be possible to use AdMob in b4j? 2- Can I...
Top