b4j

  1. walterf25

    B4J Question Successful Business ABMaterial Framework Stories.

    Hi all, I would like to read from any success stories using ABMaterial framework, has anyone actually either for personal business purposes or for a client built a successful web app that is still currently being used by more than 1000 users on a daily basis. The reason I ask this question is...
  2. C

    B4J Question Close xui.MsgboxAsync or xui.Msgbox2Async with code

    Based on @Erel's code here.... xui.MsgboxAsync & xui.Msgbox2Async don't have a "cancel" method, so trying to use it generates an error: java.lang.RuntimeException: Method: cancel not found in: javafx.scene.control.Alert Instead, the 'close' or 'hide' methods can be used: Sub Globals Dim...
  3. A

    B4J Question I have some questions to convert a large project to B4J

    Hello, the truth is that I have been working on a project in the Java Basic language (VBNET) for several years, about 15 years. Is it possible to convert it directly to work on several Linux and Mac systems through certain tools? Do the Windows dll libraries work without problems or do many...
  4. fernando1987

    Share My Creation UI login/registy using jdahsboardUI library + Source Code

    Hello, this is an example showcasing the latest features of the jdashboard UI library. I hope you like it. To make it work, you'll need the latest version of the jdashboard library. User: admin Pass: 1234 Download the compiled example here
  5. jkhazraji

    Share My Creation AI image generation - A girl in a tulip field

    AI image and video generation is getting more popular. Most of the ai image generation sites are paid, some with free plans. I tried my luck with one of them. First I signed-up them I got my API key, finally I summoned the powers of B4X to generate an ai image. The first idea that came to my...
  6. G

    B4J Question Save B4XTable data to a remote database?Thank you for your help

    Dim cmd1 As DBCommand = CreateCommand("select_insertnianduyusuan", params) 错误: 不兼容的类型: List<Object>无法转换为Object[] Private Sub ShowDialog(Item As Map, RowId As Long) Wait For (PrefDialog.ShowDialog(Item, "yes", "cancel")) Complete (Result As Int) If Result =...
  7. Chianca

    B4J Question Best way to create wrappers for B4J

    Hello Friends! I'm starting a new project on B4J, that will run on Windows and Linux desktops. The app needs to use a 3rd party external library (.DLL and .SO). What is the best way for writing this app? Create a wrapper of DLL and .SO and use it depending on target OS? There is any tutorial...
  8. P

    Color selector application using B4XSeekBars and B4XFloatTextFields (B4A and B4J versions)

    This application showcases the use of B4X views and the multi platform programming with the #If B4A and #If B4J directives. This is how it looks like (first on my laptop then on my smartphone): A short description is available in the attachment: color_selector.pdf You can find the source codes...
  9. R

    B4J Question Draggable List View

    Is there such a view in B4J that allows the user to manually re-order the cells in the list? I am looking for something rather like xCustomListView that responds to drag events?
  10. SSparrow

    Need to port a B4A app to B4X and possibly B4J (Paid)

    I have a mobile app that is used for configuring our company's wireless sensors over a BLE connection. The source code has been through many revisions since the early days of B4A and needs updating to B4X as a step towards an iOS release for the Apple Store. The app contains a large number of...
  11. E

    B4J Question Facing Problem with Jserial...Receiving Data is not in proper format

    Working on a modbus RTU project on which i send a predefined command of few bytes and in response also few bytes are send by the MODBUS RTU (REMOTE TERMINAL UNIT).Reponse length of bytes is not uniform for each command. sometime it length is 8 bytes..sometime 13 .While receiving AStream_NewData...
  12. vfafou

    B4J Question jRDC2 Windows 11 problem when running in release mode outside the IDE

    Hello! I need a way to run the jRDC2 before the user run my application. I've built the jRDC as a standalone package but I take the following errors when I run my application! I use jdk-14.0.1 and trying with 11.0.1 I have the same results. Running in release mode from the IDE, all are working...
  13. Patent

    B4J Code Snippet Render a Node

    Dear community, here is a snip about NEW rendering of any node in any size you want. Yery useful: the original Node is not altered. Works with B4J, not tested with B4A. Enjoy Private Sub RenderNode (factorX As Double, factorY as Double, sourceView As B4XView) As B4XBitmap Dim...
  14. G

    B4J Question How to insert a progress bar in b4xtable?

    Sub Class_Globals Private Root As B4XView 'ignore Private xui As XUI 'ignore Private b4xtable1 As B4XTable Private GraphColumn As B4XTableColumn Private progress As ProgressBar End Sub public Sub zhichuchaxun GraphColumn = b4xtable1.AddColumn("总进度"...
  15. G

    B4J Question Help, I've been studying for a whole day but haven't solved it. The data queried by B4J is different from the data in Access

    Dim req1 As DBRequestManager = CreateRequest Dim cmd1 As DBCommand = CreateCommand("select_tubiao3",Null) Wait For (req1.ExecuteQuery(cmd1, 0, Null)) JobDone(j1 As HttpJob) If j1.Success Then req1.HandleJobAsync(j1, "req1") Wait For (req1) req1_Result(res1 As DBResult)...
  16. G

    B4J Question Using jchart class library to dynamically obtain pie chart data from database, what is the problem?

    Wait For (req.ExecuteQuery(cmd, 0, Null)) JobDone(j As HttpJob) If j.Success Then req.HandleJobAsync(j, "req") Wait For (req) req_Result(res As DBResult) req.PrintTable(res) 'PIE CHART PieChart.Initialize("PC") PieChart.Title = "Pie Chart"...
  17. G

    B4J Question java.lang.NumberFormatException: For input string: "null" Why is there an error when data can be found in the database? Thank you

    [CODE lang="b4x" title="java.lang.NumberFormatException: For input string: "null"" highlight="java.lang.NumberFormatException: For input string: "null""]Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events. Tag: null, Columns: 3, Rows: 1 BUMEN FEIYONGGUIJI jine...
  18. G

    B4J Question How to set variable values in JOSON files and What are the types of types in the Joson file? THANKS

    B4XTable1.AddColumn(Main.b & "月份计划", B4XTable1.COLUMN_TYPE_TEXT) { "title": "12月份计划", "type": "Text", "key": "12月份计划", "required": true },
  19. vfafou

    B4J Question AS CalendarExpandable question

    Hello! I would like to ask @Alexander Stolte if there is any event triggered when we change the month from header. I need to do some tasks when the month is changed.
  20. Tirecs

    B4J Question [SOLVED] B4J TableView Column Alignment Error in Java versions higher than 8

    Hello forum members, we use this function for setting the alignment of columns of a TableView in our B4J applications: 'Possible Alignments: [ top-left | top-center | top-right | center-left | center | center-right | bottom-left | bottom-center | bottom-right | baseline-left | baseline-center |...
Top