0

In my Android app, I create a Serialized ArrayList and write it as a binary file using writeObject(). I want to take that file, copy it to a PC and read it into a program (that I would need to write in C++), where I would view / edit the information, write it back out to the file, and send it back to the Android device, where it would interpreted correctly.

I have examined the binary file with a hex editor; it contains the field names and the data, along with other binary information that I cannot interpret.

Is there a structure definition that exists of the serialized object?

1 Answer 1

1

This link describes the binary format of Serializable objects in some detail.

The Java Object Serialization Specification describes the format in excruciating detail.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.