See http://code.google.com/apis/gears/api_localserver.html#ManagedResourceStore

.oncomplete
.onerror
.updateStatus
.lastErrorMessage

On Tue, Mar 3, 2009 at 2:17 PM, meerkat <[email protected]> wrote:
>
>  try
>  {
>    var localServer = google.gears.factory.create('beta.localserver');
>  } catch (ex)
>  {
>    setText('Could not create local server: ' + ex.message);
>    return;
>  }
>  try
>  {
>  var store = localServer.createManagedStore("ABC_STORE");
>  store.manifestUrl = 'testManifest.json';
>  store.checkForUpdate();
>  setText('Local Store Created');
>  }
>  catch(e)
>  {
>          setText('Could not create Local Store: ' + e.message);
>          return;
> }
>
> Hello,
> I have the standard code above for creating localserver and
> managedresourcestore. I am getting the successful messages, the local
> server is created but the files in the manifest are not being copied
> over.( For testing purposes I only have a few files in the store to
> start with.)
>
> Any suggestions on to what might be (or not) happening?
> Thanks,
> meerkat
>

Reply via email to