google cloud messaging - JAVA - Send class over GCM in android -


let's have class called "myclass". need send server android phone on gcm. now, doing sending fields seperately , constructing myclass again on phone. there way send object directly on gcm?

instead of sending fields separately, can encode them favorite serialized format (xml, json, etc...) , pass string representation of object in single field. app need have method deserialize object field.


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

java - SmsManager sending message more than one -