I need an b4a app that is able to stream video from local storage. The video streaming service must use socket server to send chuck byte array to the video player. For more reference check this link.
http://www.adrianwalker.org/2012/06/html5-video-pseudosteaming-with-java-7.html
If you are up...
Hi all,
my problem is to write to a wifi socket connected to a led display.
The Display accepts a 22 byte string, but some of the required chars are chr(177) to chr(186).
When I assign the string to buffer the buffer of course gets negative values.. and the display will not generate any...
I have the following code in java.
https://prnt.sc/nq9rep
How do I apply writeint in b4a???
I only have these options with b4a
AStreamsClient.Write
AStreamsClient.Write2
AStreamsClient.WriteStream
Hi all,
I have an app which uses sockets (from the iNetwork library) to communicate with another device over WiFi. Some of the messages received from the other device can cause local notifications to be raised on the iPhone running the app, or the app to send responses back to the other device...
I have this code in vb.net.
Connect perfectly!
Public Shared Sub Send(ByVal msg As String)
Try
Using MS As New MemoryStream
Dim B As Byte() = SB(msg)
Dim L As Byte() = SB(B.Length & CChar(vbNullChar))
MS.Write(L, 0...
Dear all,
I would like to switch a lamp on and off with a B4A app running on an android smartphone. The lamp should be connected to a socket-outlet controlled via bluetooth.
Are there any socket-outlet that are easy to interface with ? I mean a model which can be plugged in a home socket-outlet...
Hi everyone,
I developed in my app the comunication with a fiscal printer. I do it opening a socket and writing the comands in the stream.
I load the comands in a strings array and then I write them to the fiscal printer in a loop.
I have to wait the response from the fiscal printer (with the...
hello everyone !
It is with great honor that I present to you my tool for creating websocket & socket servers, it was developed using C ++ [libwebsocket, enet, winsock, lua_wrapper, scintilla and others].
Today I will do a tutorial on how to use B4J with ServerComposer BUY HERE
*
First we...
hello,
how to make this example b4j network here work with ssl?
https://www.b4x.com/android/forum/threads/b4x-network-asyncstreams-b4xserializator.72149/
i set the server into listen after a button click.
if me click connect from "client" the server show a connect but the client stay in status...
I whipped up some code to help out with a little logging, but surprisingly often it crashes with java.io.IOException: Socket Closed in the line commented with CRASH HERE. I've wrapped everything carefully to make sure the socket should be in good shape, but even though it apparently is...
I used the B4X Serializator tutorial as the basis for an android app that communicates with my ESP-12E. For the most part it works great, however, I have noticed some strange issues:
If I don't "disconnect" when pausing the activity (such as when exiting the app), then it seems to stay...
Hello,
I declare :
dim Socket1 as Socket.
But Socket type not found , and show missing library?
What have to do?
Help please. I'am new B4A user.
Regards
Dear B4Xers,
we need to create cross-platform UI; we need to work with sockets in the background also.
A typical example of our hypothetical application is an app where a disabled person "explores" an ever-changing UI that is dynamically generated to learn how to use different types of controls...
I Made a UI which send Text message from server to client and client to server but when i close server client should be disconnected but it did't. How to do that ?
server.b4j
#Region Project Attributes
#MainFormWidth: 300
#MainFormHeight: 400
#End Region
Sub Process_Globals...
I want to send text message from client to server and server to client.I know about
AsyncStreams but i don't know how to implement . Can anyone tell me how to send text messages from client to server ?
Server code
'Non-UI application (console / server application)
#Region Project Attributes...
I have Posted My code.I successfully initialize server but I can't connect sever to Client.Can anyone please tell me what is wrong in my code ? Can i connect client and server in the same pc ?
Server Code
#Region Project Attributes
#MainFormWidth: 600
#MainFormHeight: 600
#End Region...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.