b4j

  1. jkhazraji

    Share My Creation [b4j]Detect Faces in images

    As Python can do, b4x can unleash the power of Opencv to detect faces in images within seconds. A demo animation shows this: see video
  2. W

    Share My Creation wmCRUD - a generic class for CRUD operations on an SQL(ite) database (with source code) [B4J] [SQL] [SQLite] [CRUD] [Class]

    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...
  3. jkhazraji

    Share My Creation Webcam to read QR code and show the result

    Yes. It is within the reach of b4x, and now with b4j whether as a native code or by java code. What matters is that it runs within the realm of b4x. However, it was not that easy to implement. Here is the result. The laptop is ci7 DELL inspiron 15 used on Windows 10 64-bit system.
  4. 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...
  5. 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...
  6. 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...
  7. 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
  8. 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...
  9. 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 =...
  10. 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...
  11. 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...
  12. 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?
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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("总进度"...
  18. 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)...
  19. 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"...
  20. 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...
Top