Creating google chrome application is very as creating a web application.
Create web application using html, javascript & css.
Create web application using html, javascript & css.
can run in apache server or as file system in browser and test.
when application is ready, create file in root folder "manifest.json"
with below content
{
"name": "<<application name>>",
"description": "<<description.........>>",
"version": "1",
"app": {
"launch": {
"local_path": "<<index html file or the start page of your application>>"
}
},
"icons": {
"16": "icon16.png",
"48": "icon48.png",
"128": "icon128.png" }
}
in local_path specify the index page or the first page of your web application.
icons - are used as logos of your chrome app.
16 - will be used as favicon (16X16)
48 - used to show in extensions page (48X48)
128 - used as logo for your app (128X128)
Once ready with above you can test the app in chrome locally.
go to Tools --> Extensions
expand the "Developer Mode"
click on "Load Unpacked Extension..." button.
select your application folder. If your manifest file is correct it will install the app in browser.
Now you can test your app,
If you are ready to release to Chrome Webstore,
compress you application folder and make as zip
upload your zipped app.
fill the form and upload your app's screen shots.
that's all you are ready to publish your application.
Happy coding....
Comments
Post a Comment