server

  1. jroriz

    Android Question [SOLVED] Creating a Server for HTML/JS Application Using B4A

    I created a page using an html/js framework (https://aframe.io). I will create an application from the html page. It turns out that the framework expects a server serving the page, as it uses relative paths, otherwise it won't work. To create the server I will use a third-party app...
  2. walterf25

    B4J Question MQTT Delay Time

    Hi Everyone, I am working on a project where I have a raspberry pi 4B where I have a b4j app running which communicates with a 32 channel Analog to Digital Converter we designed and built at work, the communication is via I2C protocol, this part works very well as far as I have been able to...
  3. carlos7000

    Spanish Como enviar datos a una App en un Android Tv?

    Hola Quiero compartir contenido, como textos, imágenes, videos, entre otros, con otro dispositivo, en este caso, un televisor con sistema operativo Android. Para comenzar, me gustaría empezar con algo simple, como el envío de un texto. Esta tarea la realizaré en una aplicación que se ejecutará...
  4. M.LAZ

    B4J Question jRDC2 Testing ip address

    Hi,, i'm trying testing jRDC2 on my local browser and my Dedicated Server : when put in local browser or Server browser : http://localhost:51029/test result is this is Your ip : [0:0:0:0:0:0:0:1] http://127.0.0.1:51029/test result is this is Your ip : 127.0.0.1 in...
  5. a.consorti

    B4J Question wait for and api response

    Hi guys! How are you, I state that I'm new to B4J and, despite my many attempts and various readings, I can't do something that should be simple. In practice I have created a web portal in B4J and I manage the various pages through the handlers. So far, so good. The problem arises when I...
  6. aeric

    B4J Code Snippet [Project Template] jRDC2 Server (SQLite, MySQL, MS SQL, Firebird, Postgresql, DBF)

    jRDC2 Server Template Version: 1.12 (based on jRDC2 version 2.23) Create a new project and run it! To be accompanied with jRDC2 Client Template Introduction: To be edited Version 1.00 : 9KB Version 1.11 : 127KB Version 1.12 : 127KB Version 2.00 (beta) : 127KB Note: If you think the latest...
  7. Lakhtin_V

    Android Tutorial LM WiFi example of using this library

    Hi! I'm trying to find an example using this library. I liked the functionality of this library, but how to put it into practice? I want to use Wifi direct to send requests to the head unit (server).
  8. red30

    Android Question Transferring data to the server

    I have a GMS module which can work with MQTT and Web Service. I need to get data from it and store it somewhere. As I understood from the forum, I cannot run my own MQTT server. So I settled on Web Service. I imagine it like this: on an Android or Windows device, I run a server that I can access...
  9. aeric

    Share My Creation Print Server (USB Thermal Receipt) running on Raspberry Pi

    This is a demo video of B4J Print Server which is a REST API Web Server. The server can run on Windows and Linux including on a Raspberry Pi OS. I have also created B4J, B4A and B4i Client app to send request to the server through GET and POST. The print data can contain ESC/POS string sent...
  10. aeric

    B4J Code Snippet [web]JSON Web Token (auth0/java-jwt)

    You can use this class to generate JSON Web Token (JWT) for use in Web API B4J Server. This code is using JavaObject from Java JWT github project (https://github.com/auth0/java-jwt) by Auth0. I only add support for HMAC algorithms. If you want, you can modify this code to support RSA and ECDSA...
  11. H

    Bug? [BANano] Server cannot compile

    Does anyone know some workaround? Compiler error: src\b4j\example\servercorsfilter.java:115: error: no suitable constructor found for FilterHolder(Class<CAP#1>) FilterHolder fh = new FilterHolder((Class<? extends Filter>) Class.forName("org.eclipse.jetty.servlets.CrossOriginFilter"))...
  12. Dave O

    B4J Question (solved) B4J cloudKVS server on VPS - can upload data, can't download/refresh data

    Hi all, Using cloudKVS in a test app to sync data from 2 Android devices to the cloudKVS server (vanilla B4J app listening on port 51042). Works fine when the server is my laptop, and the Androids are on the same Wifi network. But when the server is on my VPS (Ubuntu with JRE installed...
  13. Mashiane

    [BANanoVuetifyAD3] Server Side Rendering (Almost)

    Hi there Yesterday I got meself thinking, what if I could ensure SSR (Server Side Rendering) be possible in the BVAD3 apps.? Server-side rendering (SSR) is an application’s ability to convert HTML files on the server into a fully rendered HTML page for the client. The web browser submits a...
  14. bdunkleysmith

    B4J Question [SOLVED] Connect RPi to WiFi via code

    With it clear that an Arduino would not support my project and the recommendation that I should upgrade to a RPI covered in the thread rMQTT HostName with query parameters and despite my previous less than satisfactory experience with RPi projects, I'm pleasantly surprised with progress, however...
  15. B

    German Daten an SQL Server

    Hallo, ich habe eine App geschrieben, welche einwandfrei funktioniert und Daten über Bluetooth empfängt und diese in eine SQL Datenbank mithilfe der SQL Bibliothek schreibt. Dies funktioniert alles super. Nun wäre es super, wenn parallel dazu alle Werte, welche in die lokale SQL Datenbank...
  16. red30

    Android Question Problems with transferring a large number of photos to the server.

    I implemented it like this: Sub Post (Vin As String) Dim templist As List templist=File.ListFiles(File.DirInternal&Vin) Dim testerr="" As String Dim re=False As Boolean For i=0 To templist.Size-1 Sleep(50) Dim s=templist.Get(i) As String If...
  17. 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...
  18. aeric

    Share My Creation [Project Template] [Web] API Server

    Web API Server Version: 1.16 Description: Create Web API Server with CRUD functionalities Updates: Web API Server 2.0 is available https://www.b4x.com/android/forum/threads/project-template-web-api-server-2.143310/ Depends on following libraries: ByteConverter, JavaObject, jServer...
  19. Dave O

    Android Question trialing CloudKVS on a local Windows/Android setup?

    Hi all, I need to move my app's data (currently stored in a local file using writeMap) to the cloud so my users can share it between devices and family members. I'm looking for some tips on how to do this. CloudKVS seems like the best solution at this point. I don't know much about the server...
  20. 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.
Top