C2DM collapse_key implementation explanation needed -


hi cannot see explanation of implementation of collapse_key. think understand not how it! android cloud device messaging framework

i have c2dm framework set , sending 4 types of messages many phones.

string messages basic looks kind of this:

type:name:uuid type:name:uuid:number type:uuid:id 

if phone off many of can piled waiting phone on-line. far can tell system works collapse_key me here?

addencodedparameter(sb, "collapse_key", "no_ide_what_to_put_here");

you mentioned retrying same message 3 times , using same key value. doesn't have same message. if you've got message indicates current price of stock, instance, , care latest price, send different messages same key. when device comes online, gets latest price quote message.

this may have been saying already, wanted make clear it's not "retrying sending same message".


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -