shenmingxue Member Licensed User Jun 21, 2022 #1 Server receives B4J data garbled? What's the best way to do it? Or source code reference?
aeric Expert Licensed User Longtime User Jun 21, 2022 #2 Your GIFs are too small. I can't see clearly what's going on. Try to upload your project in zip. Upvote 0
LucaMs Expert Licensed User Longtime User Jun 21, 2022 #3 aeric said: Your GIFs are too small. I can't see clearly what's going on. Try to upload your project in zip. Click to expand... Also it seems to me to see Chinese characters. P.S. Yes, it is so https://www.b4x.com/android/forum/threads/server-receives-b4j-data-garbled.141330/ Upvote 0
aeric said: Your GIFs are too small. I can't see clearly what's going on. Try to upload your project in zip. Click to expand... Also it seems to me to see Chinese characters. P.S. Yes, it is so https://www.b4x.com/android/forum/threads/server-receives-b4j-data-garbled.141330/
aeric Expert Licensed User Longtime User Jun 21, 2022 #4 I see. I think he/she is referring to this example https://www.b4x.com/android/forum/threads/b4x-network-asyncstreams-b4xserializator.72149/ I think the Chinese IDE in the GIF is E programming language. I don't know anyone is using it. Upvote 0
I see. I think he/she is referring to this example https://www.b4x.com/android/forum/threads/b4x-network-asyncstreams-b4xserializator.72149/ I think the Chinese IDE in the GIF is E programming language. I don't know anyone is using it.
shenmingxue Member Licensed User Jun 21, 2022 #5 aeric said: 我懂了。我认为他/她指的是这个例子https://www.b4x.com/android/forum/threads/b4x-network-asyncstreams-b4xserializator.72149/ 我认为GIF中的中文IDE是E编程语言。我不知道有人 aeric said: I see. I think he/she is referring to this example https://www.b4x.com/android/forum/threads/b4x-network-asyncstreams-b4xserializator.72149/ I think the Chinese IDE in the GIF is E programming language. I don't know anyone is using it. Click to expand... 我用B4J发送数据转码了 易语言服务器收到乱码?咋办 Click to expand... Upvote 0
aeric said: 我懂了。我认为他/她指的是这个例子https://www.b4x.com/android/forum/threads/b4x-network-asyncstreams-b4xserializator.72149/ 我认为GIF中的中文IDE是E编程语言。我不知道有人 aeric said: I see. I think he/she is referring to this example https://www.b4x.com/android/forum/threads/b4x-network-asyncstreams-b4xserializator.72149/ I think the Chinese IDE in the GIF is E programming language. I don't know anyone is using it. Click to expand... 我用B4J发送数据转码了 易语言服务器收到乱码?咋办 Click to expand...
OliverA Expert Licensed User Longtime User Jun 21, 2022 #6 The data in the sample program (if it is the one mentioned by @aeric) is serialized using B4XSerializator. If you want access to the information in your server program, you would need to implement a version of B4XSerializator in the language of the server you are using. A .NET example is provided here (https://www.b4x.com/android/forum/t...lementation-of-b4xserializator.73080/#content) and a PHP version can be found here (https://www.b4x.com/android/forum/threads/b4x-cloudkvs-synchronized-key-value-store.63536/#content). Both projects may be used as a reference to generate a version of B4XSerializator for your language of choice. One could also convert the data to be transmitted from B4J to JSON first and then transmit it to a server written in a programming language of choice (besides B4X). Note: the correct link to the PHP version is given by @Sandman below Last edited: Jun 21, 2022 Upvote 1
The data in the sample program (if it is the one mentioned by @aeric) is serialized using B4XSerializator. If you want access to the information in your server program, you would need to implement a version of B4XSerializator in the language of the server you are using. A .NET example is provided here (https://www.b4x.com/android/forum/t...lementation-of-b4xserializator.73080/#content) and a PHP version can be found here (https://www.b4x.com/android/forum/threads/b4x-cloudkvs-synchronized-key-value-store.63536/#content). Both projects may be used as a reference to generate a version of B4XSerializator for your language of choice. One could also convert the data to be transmitted from B4J to JSON first and then transmit it to a server written in a programming language of choice (besides B4X). Note: the correct link to the PHP version is given by @Sandman below
Sandman Expert Licensed User Longtime User Jun 21, 2022 #7 OliverA said: PHP version can be found here (https://www.b4x.com/android/forum/threads/b4x-cloudkvs-synchronized-key-value-store.63536/#content) Click to expand... You probably meant this url: https://www.b4x.com/android/forum/t...izator-and-phpcloudkvs-server-example.108802/ Upvote 0
OliverA said: PHP version can be found here (https://www.b4x.com/android/forum/threads/b4x-cloudkvs-synchronized-key-value-store.63536/#content) Click to expand... You probably meant this url: https://www.b4x.com/android/forum/t...izator-and-phpcloudkvs-server-example.108802/