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
Post a Comment