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 -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -