Android Question Read stream that contains bitmap

dim

Member
Licensed User
Longtime User
Hi all,
I develop an application written in Lazarus-freepascal, that creates a bitmap image after a specific process, then transforms it to a stream (TMemoryStream) and then sends it over network.

Is it possible to read that stream from an application written on B4A from an Android device ?
if yes, can you please describe how or any ideas how to implement that ?

Thank you.
 

dim

Member
Licensed User
Longtime User
Hello,
I am not an expert but perhaps this could help : https://www.b4x.com/android/forum/t...d-and-receive-objects-instead-of-bytes.30543/

For my understanding, where is the data sent ? To a server ? Via UDP ? Thanks
Thank you for replying, lemonisdead. The Lazarus application (windows O/S) is the server, it offers the stream at a specific port via TCP. The data is to be sent to the client Android application when it connects, in order to view the images. The main application is supposed to be (when finished) a cctv-like application.
 
Upvote 0

dim

Member
Licensed User
Longtime User
Thank lemonisdead, I can give it a try - sorry for asking but can it read streams as needed ?
 
Upvote 0
Top