Google Chrome added in its last version (Canary or dev channel) the possibility to install Chrome Web Apps, some are already included into the delivered install pack (Calendar – GMail – Docs).

WebApps

This short blog gives you the easy steps to activate this features and create your own Chrome Web App.

Remember this works only on Chrome Canary and dev version

1. Activate web app

Modify the shortcut of Google Chrome (I’m doing it on a Canary version) and add the following string –enable-apps and launch Chrome

Activate WebApps

2. Install default applications

Open the extensions tab (Settings -> Tools -> Extensions) and click on developer mode, a new toolbar will be visible.

Install extensions

Click on “Load unpacked extension…” and browse to the following folder

%USERPROFILE%\AppData\Local\Google\Chrome\Application\[Version]\resources (Vista, Windows 7)
%USERPROFILE%\Local Settings\Application Data\Google\Chrome\Application\[Version]\resources (Windows XP)

Install WebApps

3. Launch Web Application

Now in Chrome Home page you will have some shortcuts that launch the application in ping mode

4. Create your own Web Application

You can create your own Chrome Web Application in very few steps. In this example I create a new Chrome Web Application linking the SAP SCN Community Network

Basically the crx extension file is a particular zip archive containing a manifest file maniferst.json” and some icon files.

File maniferst.json

{
 "name": "Sap Community Network",
 "version": "1.0",
 "icons": {
  "128": "128.png",
  "24": "24.png",
  "32": "32.png",
  "48": "48.png"
 },
 "app": {
  "launch": {
   "web_url": "http://www.sdn.sap.com"
  }
 }
}

name is the label displayed into the Chrome Home Page

version is not really important for Chrome Web App

icons is the list of icons included into the application, each icon is named with its pixel size

web_url is the link used into the app

Then you have to create the PNG icon files

24.png

24.png

32.png

32.png

48.png

48.png

128.png

128.png

Put all the files together into a folder. (In my example C:\Documents and Settings\Ivan\Desktop\SapSDNCommunity_app)

5. Create the install

Close your Chrome browser and execute from the shell

C:\Documents and Settings\Ivan\Local Settings\Application Data\Google\Chrome SxS\Application>
chrome.exe --pack-extension="C:\Documents and Settings\Ivan\Desktop\SapSDNCommunity_app"

This shell command will create two files SapSDNCommunity_app.pem and SapSDNCommunity_app.crx

6. Install your application

You have done, install the crx as did before and your Chrome Web App is ready to go.

Chrome Web Apps

Conclusion

It is not clear what kind of potentiality these Chrome Web Apps would have, I’m trying to identify a business scenario were these apps are really useful (t.i. link to SAP Portal), btw having a shortcut as a Chrome Web Apps is more professional.

Related posts:

  1. Finally Google Chrome themes
  2. Available today in beta: Google Chrome for Linux!
  3. Finally Google Chrome Sticker is mine!!!
  4. Google Chrome FastBall – A race across the internet