b4j

  1. alirezahassan

    B4J Tutorial [B4J] - Lottery for Telegram (Source)

    Hi all, Used to make a lottery in Telegram. You can expand the UI of this app and use it like TV lotteries. for example: (Be sure to watch the clip) this zip file has a Source code. ‍Please like this post to increase my motivation. :) You can subscribe to my Telegram channel to use my text and...
  2. M

    iOS Question Push Notification Firebase not working....

    Hi everyone, i always used Firebase to send notification to the apps... i didn't know what i'm doing different, but i can't manage it to work. What i did: Created App ID on Apple Dashboard Created Push notification SSL production certifcate Put it in the b4ikeys folder Created the AdHoc...
  3. gezueb

    B4J Question how to use smb

    Hi, I want to copy a file with b4j from/to a NAS storage where user and password are required to access. I tried this little program from the tutorial: Sub Process_Globals Dim SMB1 As SMB End Sub Sub Globals End Sub Sub Activity_Create(FirstTime As Boolean) Log ("Hello") ' If...
  4. Alexander Stolte

    B4A Library [B4X] [XUI] AS Label - CrossPlatform Label

    This is a simple label view, in IOS roundings are removed when resizing or colors are not displayed properly. This can be fixed by placing a panel under the label, this view does the work for you. Just set the properties you want in the designer like in a normal label. ASLabel Author: Alexander...
  5. jdkellow

    Share My Creation Library Manager app for creating and maintaining .b4xlib libraries

    Hi All, I have created an app for managing multiple .b4xlib libraries. I found that keeping multiple libraries updated while they are being developed and tested was quite tricky. This app helps highlight what has been changed and I keep it running in the background while I work. I have been...
  6. M

    B4J Question error CS0016: Could not write to output file Access is denied

    Hi everyone, When I go to Project/build standalone package I see error CS0016 on the logs and I also see that the company's antivirus software is treating this as Malware. B4JPackager11 Version 1.21 error CS0016: Could not write to output file 'c:\Users\mainuser\MY PRODUCT FILTER.exe' --...
  7. DarkoT

    B4J Question TextField - handle TAB as Enter

    Hi guys, need little help... How can I handle Tab same as Enter; I need to get txtfield_Action when user move WITH TAB from one field to another... With Enter works perfect, I can not figure out how to catch Tab... I'm using B4J Pages for desktop app... Need example... Help, please... Tnx, DaT
  8. F

    B4J Question intercept windows action center notifications

    Hi all, has anyone in B4J managed to intercept notifications from the windows 10 action center? I need to check notifications from windows action center (that are not written in the windows event log) and then send them by email to my address. thanks Francesco
  9. rtek1000

    Bug? B4X IDEs presents BUG by maximizing

    Initial condition: - Windows 10 x64 (20H2) - Have two displays (Extended mode) - The IDE window sized to show a part on each screen Problem: - When the IDE window is maximized, a portion of the window remains on the second screen Verification: - This problem does not occur with other programs...
  10. moty22

    Share My Creation B4J App for ESP8266/32

    edited: connecting to www was added. B4J app for testing and setting ESP8266/32 using AT Commands. AT commands are used to test the module, set baud rate, check version, set RF power etc. The app also connects to a router. List of AT commands can be downloaded from here...
  11. 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...
  12. 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...
  13. 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)...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. 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?
Top