Saturday 27 April 2013

How to Write a Chrome App for your Website in 5 Minutes


It seems to be difficult but it's actually very easy to write an application for Chrome in less than 5 minutes. Let's create a simple app that Chrome does is add an icon on the New Tab page of Chrome, and clicking on that icon will lead to your site. It is basically a marker.
It has an example we will see how to build an extension for Chrome, which gives more functionality, from it you can search a particular website or watch the latest publications. The extension also be delay.

Chrome is now one of the most popular browsers and this makes some sense to have some kind of presence in the Chrome Store. Fortunately,vwe shall see, a kind of little knowledge of HTML, CSS, and Javascript to create a Chrome App


How to Create a Chrome App for your Web Site

It's easy to Download the file chrome-app.zip to your desktop, extract the files and open the file manifest.json in Notepad or any text editor. first you have to make a few changes to the file.
1: Add the name of your website on line number
2: put a small description of it on line
3: (less than 132 characters)
5: and replace www.helplogy.blogspot.com on lines
 and
7: with the URL of your website. Make sure you are the owner of these websites and you've verified ownership using Google Webmaster Tools

Save the file manifest.json Now create an image of 128 × 128 pixels with the logo of your website (you can use MS Paint) and save the file named icon.png in the same folder where the file manifest.json. To save time, you can use the sample file included.

How to Publish your app in the Chrome Web Store

your Chrome app is now ready and we need to publish it in the Chrome Store  Creates a new zip file and manifest.json icon.png files.

Then go to Chrome Dashboard and upload your zip file. and in the other screen, choose a category for your app (for your web site can choose News & Weather => Media Coverage), adds a detailed description (which helps with SEO), some screenshots, choose a default language and post your app. That's it.

You need to pay a registration fee of 5$ to Google using Google Wallet to activate your developer account. This is optional if you are developing a Chrome app / extension to your local installation of Chrome and do not want to publish the application in the Chrome web store.

How to create a Chrome Extension for your website

Write a basic information of Chrome to your website is just as easy.

Download the example chrome-extension.zip and extract the contents. Change manifest.json file and include the name of your extension and description.

0 comments:

Post a Comment