If you are experiencing an issue please mention the full platform your
issue applies to:
IDE: NetBeans 8.1
Java 1.8.0_131
Simulator
Device
C:\Src1\ShopServiceAsst\AstcTechMobileApp\src\com\astc\a3tech\Util\A3Include.java:24:
error: cannot find symbol
import java.io.ObjectInputStream;
symbol: class ObjectInputStream
location: package java.io
I see that codenameone can write and read a java.util.Vector
I can convert a Vector to bytes from my Server, send them to the Client VIA
TCP and save to disk, however when I use
Object obj = sendCmdToServerWithResponse(host.getText(), Port,
CMD, null, socketTimeOut);
Storage.getInstance().writeObject("Companies", (Vector)obj);
Vector<String> vec = (Vector)
Storage.getInstance().readObject("Companies");
I get java.lang.ClassCastException: [B cannot be cast to java.util.Vector
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/fa5d80d6-06fc-4f6e-8591-daaae10a16c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.