thanks Carise,
i tried localStore, and I tried ManagedStore with a manifest file,
but it makes no difference - i'm still getting the error. i have
tried this on both firefox 3 and safari on mac os x, with the same
results. here is the code:
<html>
<head>
<script type="text/javascript" src="gears_init.js"></script>
<script type="text/javascript">
try
{
var localServer = google.gears.factory.create
('beta.localserver');
var store = localServer.createStore('test-store');
}
catch(ex)
{
alert(ex.message);
}
</script>
</head>
<body>
test
</body>
</html>
can anyone replicate this error?
thanks,
imran
On Apr 24, 4:11 pm, carise <[email protected]> wrote:
> Hmm, actually... well, I'm not sure what exactly happens if you don't
> specify a manifest -- do you get any different results if you do,
> though?
>
> On Apr 24, 4:09 pm, carise <[email protected]> wrote:
>
> > Hi imran,
>
> > Yes, at least according to the spec you need to specify a
> > manifest.http://code.google.com/apis/gears/api_localserver.html#ManagedResourc...
>
> > If you just want to use a local store, you can just do
> > localServer.createStore('test-store').
>
> > On Apr 24, 3:35 pm, skunkwerk <[email protected]> wrote:
>
> > > hi carise,
> > > i didn't specify a manifest file - the error's popping up as soon
> > > as i try to declare the store. do i need one?
>
> > > thanks,
> > > imran
>
> > > On Apr 24, 2:20 pm, carise <[email protected]> wrote:
>
> > > > Out of curiosity, what's in your manifest file?
>
> > > > On Apr 23, 7:04 pm, skunkwerk <[email protected]> wrote:
>
> > > > > Hi,
> > > > > i was trying to run the piece of example code at the top of this
> > > > > page:http://code.google.com/apis/gears/api_localserver.html#LocalServer
>
> > > > > but i get a "URL scheme not supported" error from this line:
> > > > > var store = localServer.createManagedStore('test-store');
>
> > > > > I am running gears .5.4.2 under Firefox 3 on Mac OS X.
>
> > > > > any suggestions?
>
> > > > > thanks,
> > > > > imran