sample.xml
in this example) to the temporary folder.var tempFile = gadget.storage.extract("sample.xml"); // extract the fileAll temporary files created by
debug.trace(tempFile); // tempFile contains the path of the file
gadget.storage.extract
are cleaned up automatically when the gadget is closed.Note: Only on Windows do Desktop gadgets have access to the file system.
Posted by Stefan Van Damme, Gadget Developer
Link - from Google Desktop APIs Blog
Related:
Congratulations to Andreas Horlacher!
Tip: Put a gadget in its place
Slideshow for Facebook
Tip: Improve resizing performance
No comments:
Post a Comment