I know you can serialize and deserialize entire Basic4Android objects (stream WriteObject).
I would like to be able to serialize an object in Basic4Android and deserialize in C# (and visa versa). Would it be possible ? Wat is the internal structure of a serialized stream (which you can also compress ...), or would I need to stick to JSon or XML ?
It is not possible to share a serialized object with a .Net app. You can however create a simple custom serializer that converts the object to a stream of bytes. The complexity of such implementation depends on your object structure.
In fact this is the way I'm currently doing this, but I had a look at the internals of the RandomAccessFile classand it should be possible somehow to port this code to .NET ? I don't know whether others might be interested as well.
Wim
Generally speaking it is not possible as some of the objects are "Java serialized". It may work in some specific cases. However it will be easier to just implement a custom serialization.