b4j

  1. moty22

    Share My Creation TFT Text from PC

    Display text on TFT screen sent from PC. Arduino is Nano or Uno. TFT screen is 1.8" driver ST7735. Connected to PC via USB. Color and size are selectable. ' TFT module with ST7735 driver ' 1 LED 3.3 V or 5V via 47 ohm ' 2 SCK 13 ' 3 SDA 11 ' 4 A0 Or DC 9 ' 5 RESET 8 ' 6...
  2. GMan

    B4J Question Problem with reading Excel.xls (B4XTable)

    I am playing around with the Excel import. Here is my code so far (taken over 1:1 from Erel 's example: #Region Project Attributes #MainFormWidth: 1200 #MainFormHeight: 600 #End Region Sub Process_Globals Private fx As JFX Private MainForm As Form Private B4XTable1 As...
  3. gezueb

    B4J Question B4j Sqlite missing write permission?

    I have made an B4j programm that reads and writes into a local sqlite database. The database is located in the path c:/sql in a windows 10 installation. The program works perfectly when compiled and executed in the IDE. However, it fails to insert data into the sql database (without exception)...
  4. D

    B4J Question [Solved] Shell.run blocking server

    Hi! I'm developing an api to interact with mssql. Now I'm trying to generate a PDF file with an external exe, to do so I call shell.run an powershell script and wait for it to close to write a response, but while the external exe is running the server not respond any other request. s.Initialize...
  5. sadeq.hitex

    B4J Question Desugar problem

    Im trying to desugar an aar library to fix this problem : Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26) UNEXPECTED TOP-LEVEL EXCEPTION: java.lang.RuntimeException: Translation has been interrupted at...
  6. R

    B4J Question Canvas Snapshot Size Limit

    When using Canvas methods Snapshot or Snapshot2 to convert the contents of a Canvas to an Image, it throws the following exception when the size of the Canvas is too large. Does anyone know how I can determine what is the maximum WIDTH * HEIGHT, and how this upper limit can be changed? Thanks...
  7. Marcos Alves

    Android Question B4XPages and #IF JAVA

    Hello, I have a B4XPages code that is using specific java routines only for B4J. If compiled for B4A the routine raises an error that's why it's needed to restrict the compilation only to B4J. But compiler in B4A is ignoring the directive as follows: #if B4J #if Java import...
  8. KMatle

    B4J Code Snippet Print files via jShell and a VBS script (Windows only)

    I use this VBS script to print all files in a folder on the standard printer (in my case PDF-files). Windows recognizes the file type and uses the defined program (e.g. Acrobat for PDFs) to print the files. You can easily add some functions (use Google to find out how) like getting the names of...
  9. G

    Android Question [B4A] Cannot connect to database

    Hello there, Can anyone help me? i tried to use b4a to mysql with b4j jRDC and show this error ResponseError. Reason: java.net.ConnectException: Failed to connect to /192.168.0.8:17178, Response: ERROR: java.net.ConnectException: Failed to connect to /192.168.0.8:17178 The IP Addresses is...
  10. sfsameer

    Share My Creation ERP System : Source Code

    Hello, Today i was browsing my laptop and suddenly i came across a folder names Quality ERP which is a system i developed back in 2018 when i first started learning B4J :) Please note the system is a simple ERP system and it's not like SAP or Oracle ERP ;) The system Contains : 1- Dashboard...
  11. alirezahassan

    B4J Question B4x Page

    Hi, i use b4xpage. and i want to show page. i write this code B4XPages.ShowPage("M_hi") and i want to send some data to this page. before using b4x page i write this for example M_hi.ID = ID M_Hi.start and i send ID to this code Module. for b4xpage what should i do to send data?
  12. cklester

    B4J Question [SOLVED] How To Stop B4J Server on Windows 10

    On Windows 10, I'm running the server app from this thread. It's working fine. How do I stop it? I'm not sure what process it is in Windows Task Manager, and I shut down B4J IDE, but the server is apparently still running, as the site continues to be served at the default URL.
  13. David Elkington

    B4J Question Looking to Merge PDF

    I was wondering if anyone can help. I have a bunch of PDF files created by another application (unknown quantity but known filenames) and I would like to merge them into 1 PDF file so that it can be attached and emailed as a unit. I have searched all over bu the solutions out there involve...
  14. R

    B4J Question Google Maps Waypoint Anchor Change

    Any marker added with the jGoogleMaps library displays the marker with the bitmap anchored at the centre of the bottom margin. Is it possible to expose the properties of the marker such that the bitmap is centred over the co-ordinate rather than above it? Rather like the Android library...
  15. Xfood

    Italian B4j Webview ( Client does not have access to the resource on the server )

    Buongiorno A tutti, volevo creare una semplice procedura in b4j con WebViev, in pratica devo mettere un indirizzo ip e fare un loadurl per vedere la pagina di ritorno, solo che " la bilancia in questo caso" mi da ( Client does not have access to the resource on the server ) normalmente la...
  16. B

    B4J Question Detect only Pane node in the form

    I need a metod to detect only the Pane node present in the in the form Actually i use the following metod: I have a form with 4 pane, all are not visible unless i select the one i want to use in the menubar. Each Pane tag are set "pnl" + pane name, tha's the same item name use in the menubar...
  17. a6000000

    B4J Question [B4J] jscriptengine JsBridge js-WebViev-to-B4J-to-js [working example]

    [EDIT] better: https://www.b4x.com/android/forum/t...4j-and-from-b4j-to-webview-javascript.123547/ [solved] finally found what works: from WebViev click to B4J https://www.b4x.com/android/forum/threads/making-upcalls-from-javascript-to-javafx.51794/post-771871 Send data-message from...
  18. S

    B4J Question B4J IDE runs on Linux :)

    I don't know if this is old news to people here, but the B4J IDE (including the designer) runs on Ubuntu 20.4 with the latest Crossover (V20). Crossover even has B4J as a known app, so the install is relatively painless. But - and there's always a but - when I try to run a simple program B4J...
  19. walterf25

    B4J Question ABMaterial Responsive Apps

    Hi all, I am back trying to finish up a project I started months ago, i finally found some time to try and finish it, this is a web app that I plan deploying for internal use at work, the app is a very simple Inventory service, I have really not had much time to go through all the tutorials...
  20. Programing Center

    B4J Question Run exe file on windows

    hi, i programming a project. and i export exe file from 'Build standalone package' and i want to share this program. What are the prerequisites? for example if there isn't any jdk on the windows, do the programs give it an Error to install jdk or no? and dose it matter to run on windows 32bit or...
Top