2 messages in com.googlegroups.google-gears[google-gears] Files not storing file...
FromSent OnAttachments
duke24 Apr 2008 00:41 
Ben Lisbakken24 Apr 2008 10:48 
Subject:[google-gears] Files not storing file in the localserver
From:duke (p.sa@gmail.com)
Date:04/24/2008 12:41:20 AM
List:com.googlegroups.google-gears

Google Gears is not storing file in the localserver

**************index.html***************

<html> <head> <script type="text/javascript" src="gears_init.js"></script> <script type="text/javascript" src="hellogears.js"></script> <title>Hello World</title> </head> <body onload="init();"> <h1>Hello World</h1> </body> </html>

***************hellogears_manifest.json****************** { "betaManifestVersion": 1, "version": "v1", "entries": [ { "url": "index.html" }, { "url": "hellogears.js" } { "url": "gears_init.js" } ] }

*********************hellogears.js*****************

var localServer = null; var managedStore = null; var MANAGED_STORE_NAME = 'hellogears'; var MANIFEST_FILENAME = 'hellogears_manifest.json';

function init(){

if (!window.google || !google.gears){ location.href = "http://gears.google.com/?action=install&message=" + "Stock ticker requires Google Gears to be installed.&return=" + location.href;

} else { localServer = google.gears.factory.create("beta.localserver"); alert("localserver"); managedstore = localServer.createManagedStore (MANAGED_STORE_NAME); alert("managedStore"); managedStore.manifestUrl = 'hellogears_manifest.json'; ******************************************************************* alert(MANIFEST_FILENAME); //alert is not displaced ******************************************************************* managedStore.checkForUpdate(); alert("Check for Update"); } } The alert message highlighted is not displace. The file are also not store in the localserver. Thanks Duke