objectoutputstream
Saving my Serialized Class that have not serialized objects like Rect
I\'m trying to save my Serialized ob开发者_开发技巧ject when the activity calls the onDestroy() but when i try to write my object using ObjectOutputStream a java.io.NotSerializableExeption is thrown.[详细]
2023-04-11 21:24 分类:问答NotSerializableException when sending an serializable object over socket?
Im trying to send a custom-made object over a socket connection. The class implements serializable but the cons开发者_开发问答tructor still throws a NotSerializableException when im trying to write th[详细]
2023-04-08 08:21 分类:问答How to send a string array using sockets and objectoutputstream
I have this to send string or integer but if i want to send a string array what should i use?开发者_JS百科[详细]
2023-03-29 15:33 分类:问答Reset ObjectOutPutStream to update new object state?
I want to reset ObjectOutPutStream to update the new object state. But why it doesn\'t effect. The below code outputs \"BEFORE\" instead of \"AFTER\"? What\'s wrong with my code?[详细]
2023-03-10 17:34 分类:问答Error with serializable class
I have a java server that sends some data through a socket to a client developed in android. The data that sent is serialized...and at the client side when trying to read from the ObjectInputStream I[详细]
2023-03-07 03:34 分类:问答keep getting an ionotseriaizableexception, what did i do wrong?
So, i have a class which has the following attributes private String name; private int counter; private DateFormat df;[详细]
2023-03-07 02:44 分类:问答java: keep tracking of file size on the run?
I wrote a code that writes compressed objects into a file, My question开发者_如何转开发s is: is there a way that I could keep track of the increment of size of my file as the object being wrote in? he[详细]
2023-03-06 06:53 分类:问答I'm having troubles with Java sockets in a client/server type application when having to accept many connections
First of all, thanks for reading. This is my first time in stackoverflow as user, although I\'ve always read it and found useful solutions :D. By the way, sorry if I\'m not clear enough explaining mys[详细]
2023-02-23 13:30 分类:问答Cannot create ObjectInputStream with InputStream for a Bluetooth Socket on the Android Platform
I am writing a multiplayer game for Android phones. Communication is via Bluetooth. I have managed to send bytes from one phone to the other using the input / output stream. Since I need to be able to[详细]
2023-02-23 00:21 分类:问答Send Java File object to a Server over Sockets
Hello I am trying to send a Java File Object over a socket to a server which will then store it in 开发者_JAVA百科a database. Currently I have created a FileBean which stores the File object in it. I[详细]
2023-02-22 06:17 分类:问答