On Sat, Dec 5, 2009 at 11:05 PM, Cory Thompson <[email protected]>wrote:

> What I am aiming to do is to grab the state from my gadget once the
> gadget is updated and I need to use that collected value when a blip
> (besides the blip with the gadget) is submitted. This sounds like a
>

So basically you're looking for a way to store the gadget's state locally,
and re-use it when you receive an event later?  Since you're probably using
Appengine, look into the Datastore API (
http://code.google.com/appengine/docs/python/datastore/).  There's probably
some sample gadgets in the gallery that do this also.

The usual caveat: Avoid this approach for data that you need to be
trustworthy, since anyone can change gadget state or forge events to your
robot.

David

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.


Reply via email to