ChartMaker: Ext 2 UI on top of the Google Chart API Firefox Universal Uploader
Dec 20

Gears Future APIs: Desktop Shortcut API

Gears, Google, Tech with tags: Add comments

Google Gears Desktop API

A common task you see people using AIR and Prism for, is just a wrapper around a Web application that you use all the time such as Gmail, or your Web based calendar or what have you. It would be nice to be able to automate the creation of a shortcut in a very simple way. This is where the Shortcut API comes into play.

The current thinking is that there will be other desktop-y features that people may want to tie into, so the shortcut API sits inside a Desktop module.

It looks like this:

var desktop = google.gears.factory.create('beta.desktop');
desktop.createShortcut("Test Application",
                       "An application at http://www.test.com/index.html",
                       "http://www.test.com/index.html",
                       {"16x16": "http://www.test.com/icon16x16.png",
                        "32x32": "http://www.test.com/icon32x32.png",
                        "48x48": "http://www.test.com/icon48x48.png",
                        "128x128": "http://www.test.com/icon128x128.png"});

Maybe you would use this as an install step. Maybe you give people the ability to export files in some way. What would you like to see here? This is still early stage, and we are thinking about features you would like to add. For example, the ability to say “open this Web application without the URL bar and other browser chrome”.

Other Future APIs

Disclaimer: This is early days, and who knows what the final API will look like, and how far it goes. Do you have ideas for cool Gears that make the Web better? Let us know!.

6 Responses to “Gears Future APIs: Desktop Shortcut API”

  1. Pedro Melo Says:

    Hi,

    I would try to add some sort of menubar manipulation APIs to the Desktop module.

    My webapp could setup menus and menu options that would trigger Javascript callbacks.

    Best regards,

  2. Robert O'Callahan Says:

    Currently all Gears APIs are available to untrusted Web apps, right? But this would be a big departure since it would require the user to make a trust decision.

  3. historia powszechna Says:

    Widze ze zapowiada sie niezla zabawa. Thanks for yor work. This info is very interesting!

  4. Karpacz Noclegi Says:

    It doesn’t work:((((

  5. Szklarska Poręba Says:

    Oh i made mistake. It’s working now:) thank u!

  6. Tworzenie Stron Says:

    Jeżeli ktoś potrzebuje rozwiązań takich jak to zapraszamy na naszą firmową stronę.

Leave a Reply

Spam is a pain, I am sorry to have to do this to you, but can you answer the question below?

Q: What are the first four letters in the world British?