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!.
January 2nd, 2008 at 5:28 pm
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,
January 14th, 2008 at 1:29 pm
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.
February 24th, 2008 at 8:05 am
Widze ze zapowiada sie niezla zabawa. Thanks for yor work. This info is very interesting!
March 7th, 2008 at 6:23 am
It doesn’t work:((((
March 13th, 2008 at 6:32 am
Oh i made mistake. It’s working now:) thank u!
March 17th, 2008 at 6:42 am
Jeżeli ktoś potrzebuje rozwiązań takich jak to zapraszamy na naszą firmową stronę.
June 2nd, 2008 at 10:21 am
very good
buy xanax
June 28th, 2008 at 9:16 pm
very good web thank you!
October 18th, 2008 at 11:18 am
This is great blog! Thank’s!
October 29th, 2008 at 11:11 am
I like this blog so much!
November 15th, 2008 at 2:29 am
I like this informative blog
Press Digital Australia offer Windows powered mobile computing
November 20th, 2008 at 8:46 pm
Nortel Repair Vancouver
Bizphones.ca is a ONE-STOP solution for your telecom needs, with a complete in-house repair and refinishing facility. Bizphones.ca provides, new, remanufactured; phones, systems, voicmails and accessories at the absolute best prices in North America
December 8th, 2008 at 12:31 am
Interesting Blog.
thanks For sharing it.
Thanks and regards
Manoj Thakur
December 9th, 2008 at 11:08 pm
Men’s and Women’s ski jackets, ski trousers and salopettes, ski gloves and ski wear only at Born For Sports. Get huge discounts on all major skibrands – save up to 50% now
February 15th, 2009 at 5:32 pm
Interesting Blog.
thanks For sharing it.
February 15th, 2009 at 5:36 pm
thank you for this
April 22nd, 2009 at 1:13 pm
Unfortunately, It doesn’t work :-(
Even so It seems to be very interesting.
April 11th, 2010 at 2:33 am
I can’t run it :( Anyway it seems to be nice.