1. Desktop shortcut does not add any functionality,
just opens the browsers and types in the web address. Nothing more.
You have to implement offline mode in your application and make it to
work if you open the browser and type address in. Then will work
desktop shortcut also.

2. If you look in the archives of this group, I wrote about this
problem an year ago, but seems in not a priority on devs list to add a
property to the desktop icon like "alreadyAsked" or something. Anyway,
my fix was to store a flag in local database if I already asked the
user about desktop icon or not.



On Aug 19, 2:13 pm, "Marcel H." <[email protected]> wrote:
> In my web application I created a toolbar in a frameset (it's not a
> public web-app) in which -- upon loading the application -- Gears
> creates a desktop shortcut to the offline login page for the web
> application.
>
> Let's say the shortcut points to:http://localhost:8080/site/gears/login.html
>
> This all works wonderfully, except that when I'm offline, the appStore
> is not yet enabled. This means that Gears will not try to serve me the
> page from the Gears cache, but instead the browser cache.
>
> Question:
> Is there any way at all to enable the appStore from a desktop
> shortcut?
>
> Bonus question:
> Even though the desktop shortcut already exists, every time I visit my
> application, it asks me whether I want to create a shortcut. In the
> Gears Desktop documentation I have not seen a way to check for already
> existing shortcuts. How can I check for an existing desktop shortcut?
>
> Thanks for your time!

Reply via email to