b4j

  1. red30

    B4J Question Working with RS-485 to Ethernet converter in B4J

    I have an RS-485 line on which several devices are present. At the end of this line is an RS-485 to USB converter. When I insert this converter into a PC, it is defined as a COM port and I work with these devices using the "Serial" and "AsyncStreams" libraries sp.Initialize("")...
  2. Marvel

    B4J Code Snippet Creating Jigsaw Puzzles (B4XPages)

    This is a very crude version of the code I'm using in a project to create a jigsaw puzzle. What it basically does is cut square images into jigsaw pieces. It's not very cleaned up, but feel free to use and extend as you want. What you can do with this code: Specify the puzzle row/column...
  3. B

    B4J Question [B4J] how to get widows desktop folder, ie: "C:\Users\abc\Desktop"

    i have searched in the forum for a while, but not found. Thanks!
  4. sfsameer

    Share My Creation Booking Website System B4J Web App : Source code

    Hello everyone, *Starting off by thanking the one and only @Erel for making this possible for us! Previously we have released the Hotel Management system : https://www.b4x.com/android/forum/threads/hotel-management-system-source-code-for-sale.127717/ To complete the cycle, we are almost...
  5. yo3ggx

    B4J Question B4J Packaged apps (Windows 10) contain Malware?

    Hello, I've developed a B4J application that is distributed as both JAR file and a Windows Packaged (portable) application. After some user reports, I've tested the executable at https://www.virustotal.com/ This is the result. Is this something to be expected? How can I prevent this?
  6. cjpryor

    B4J Question Help building a jar file to call from B4J

    So, I have built a jar file named PrintPageReportWrapper.jar that I can execute from a command line with java -jar PrintPageReportWrapper.jar. Unfortunately, I have never had to go beyond this point in my java development other than deploying the jar file to desktop computers. I am now trying...
  7. B

    B4J Question Suggestions about importing a .tsv file into Excel

    Hi, I'd like to convert a VBScript app that I wrote, which imports a tab-delimited file into Excel, and performs all sorts of formatting functions. I used the B4J Excel library - forgot what it was called - sometime back. No problem with that. My question is how should I approach the...
  8. S

    B4J Question Get error when request data from jRDC server

    Hello, Some strange is happening, I can't figure out what, it must be something very small or it is a bug. I have a few buttons,which are to do something else, but I misuse them for now to figure something out. Strange thing is that I get errors depending on who knows what. I'm just testing...
  9. S

    B4J Question Error connect B4J via 2nd jRDC on Linux

    Hello, I have 1 jRDC.jar running on linux as server. Work ok with B4A test app. I did not understand the description for using 1 server for 2 database. I looked for similar other questions in forum. Then I use same jRDC for 2nd DB but changed this line in Main sub appstart to...
  10. C

    B4J Question B4J Server template 404 error only when packaged

    Note: I'm brand new to B4X and Java I'm starting simple... downloaded, installed, launched, and setup B4J.exe (with B4X OpenJDK)... and chose a [New][Server] project. The only two changes I made: #PackagerProperty: ExeName = B4JServerTest 'srvr.Port = 51042 srvr.Port = 80 Everything...
  11. D

    B4J Question Error on request inside a server Handler (java.lang.InterruptedException)

    Hello! I'm gettin this error but i have no clue of what's happening because it works good for days before happen. I suspect that is caused by a request that I make inside a handler but I'm not sure. java.lang.RuntimeException: java.lang.InterruptedException at...
  12. J

    B4J Question [Solved] I have an issue with File.CopyAsync

    Hey all! Please note this is NOT an ABMaterial issue! I have two systems running on a VPS. One is an ABMaterial app which uses the ABFileManager system and another is a light weight B4J webapp. The two systems need to share data (images) so I have set up a folder that both systems can access...
  13. vecino

    B4J Question How to use an .ocx library?

    Hello, a customer tells me: "I have a fingerprint reader that only comes with an .ocx library and I want to use it". With B4A and mainly with B4J can I make use of the library? How? Thank you.
  14. developer_soft

    Android Question Development of b4a and b4j

    The question that has been on my mind is whether Earl Uzil developed b4a and b4i with b4j? ?? If so, what is b4j developed with?? Didn't the server write the same site with b4j??? Really, why is the b4a tag not so popular in StackOver Flow and it can not be used in posts??
  15. alirezahassan

    B4J Question how to use scroll view in b4j

    hi all, i want to add some pane to scroll view, but i can't find any Programming command like "addview". for example: Dim sc As ScrollView sc.Initialize("") sc.Panel.AddView(...)
  16. G

    B4J Question ServerSocket, switch client socket to TLS

    I have a (legacy) solution written several years ago in VB.net which is an SMTP server. Part of the solution includes responding to the STARTTLS command which effectively converts the active client socket from plain to SSL. I'm looking to convert this to B4J, and have created a very simple...
  17. W

    B4J Tutorial [Tool] Integrated B4JPackager11 helper: PrepInstallerScript (with source code)

    I was making the switch from Java 8 to Java 11 and wanted to use the 'Integrated B4JPackager11' as explained by @Erel in https://www.b4x.com/android/forum/threads/integrated-b4jpackager11-the-simple-way-to-distribute-standalone-ui-apps.117880/. Nice, but too much work for a lazy guy like me as...
  18. J

    B4J Question Webserver that makes http requests as well as accepting them

    I have a jserver webserver. The b4j program that wraps(?) this will now also need to make http requests of its own based on what is in a database. What is the best way to set that up that won't interfere with it listening for incoming requests. I was thinking of a timer whose tick event made a...
  19. Alexander Stolte

    Android Tutorial [B4X] B4X Online Tools - JSON Parser/QR Generator/Regex Parser

    Full list of B4J Server Examples: https://b4x.com:51041 If there are other online tools that simplify programming with B4X, then I expand the thread.
  20. mcqueccu

    B4J Question Licensing for Desktop applications

    How does one license B4J Desktop Applications with a license key for a duration of maybe 1 year, and how do I implement a trial license for say 3 months? If you have done something in that regards, kindly share. Thank you
Top