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

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -