<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4141553651337452967</id><updated>2011-05-03T02:44:53.747-07:00</updated><title type='text'>All About Google Gears</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ggears.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://ggears.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Srikanth Ramu</name><uri>http://www.blogger.com/profile/14847465366764947335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4141553651337452967.post-7986230285080894589</id><published>2009-05-28T11:59:00.000-07:00</published><updated>2009-05-28T12:01:44.712-07:00</updated><title type='text'>Gears releases new version</title><content type='html'>A new version of Gears is released, for more details refer:&lt;br /&gt;&lt;br /&gt;http://gearsblog.blogspot.com/2009/05/gears-05210-released.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4141553651337452967-7986230285080894589?l=ggears.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ggears.blogspot.com/feeds/7986230285080894589/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4141553651337452967&amp;postID=7986230285080894589' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/7986230285080894589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/7986230285080894589'/><link rel='alternate' type='text/html' href='http://ggears.blogspot.com/2009/05/gears-releases-new-version.html' title='Gears releases new version'/><author><name>Srikanth Ramu</name><uri>http://www.blogger.com/profile/14847465366764947335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4141553651337452967.post-2888313440484413605</id><published>2008-04-16T20:11:00.000-07:00</published><updated>2008-04-16T20:13:11.371-07:00</updated><title type='text'>Desktop API for Desktop icons</title><content type='html'>&lt;p&gt;Few days back I tried the Desktop api of &lt;a href="http://code.google.com/apis/gears/upcoming/api_desktop.html"&gt;Gears&lt;/a&gt;.  Its really cool option to access the applications by selecting desktop short  cuts. &lt;/p&gt; &lt;p&gt;You could use "&lt;a href="http://code.google.com/apis/gears/upcoming/api_desktop.html"&gt;createShortcut&lt;/a&gt;"  method and when you invoke it, a dialog will be prompted for user's permission.  Once the download is successful, a folder "icons#desktop" will be  created. To know about the file locations, refer &lt;a href="http://gears.google.com/support/bin/answer.py?answer=79850"&gt;url&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;Initially I tried using icons of size 132x27 &amp;amp; 18x18, but got some error  message. However when I tried downloading the icons of size 16x16 and 32x32, I  was successful. Not sure if there was any issue with size or the icon itself.&lt;br /&gt;&lt;br /&gt;Refer API:&lt;br /&gt;&lt;a onclick="return top.js.OpenExtLink(window,event,this)" href="http://code.google.com/apis/gears/upcoming/api_desktop.html" target="_blank"&gt;http://code.google.com/apis&lt;wbr&gt; /gears/upcoming/api_desktop&lt;wbr&gt; .html&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4141553651337452967-2888313440484413605?l=ggears.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ggears.blogspot.com/feeds/2888313440484413605/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4141553651337452967&amp;postID=2888313440484413605' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/2888313440484413605'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/2888313440484413605'/><link rel='alternate' type='text/html' href='http://ggears.blogspot.com/2008/04/desktop-api-for-desktop-icons.html' title='Desktop API for Desktop icons'/><author><name>Srikanth Ramu</name><uri>http://www.blogger.com/profile/14847465366764947335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4141553651337452967.post-751347323738140288</id><published>2008-04-06T13:24:00.000-07:00</published><updated>2008-04-06T13:25:01.950-07:00</updated><title type='text'>Google Gears recent news:</title><content type='html'>&lt;p&gt;Google Docs has introduced offline support for a small percentage of users  and will make it available for all users in due course. As of now the offline  support is only for Google Docs.&lt;/p&gt; &lt;p&gt;&lt;a href="http://googledocs.blogspot.com/2008/03/bringing-cloud-with-you.html"&gt;http://googledocs.blogspot.com/2008/03/bringing-cloud-with-you.html&lt;/a&gt;&lt;/p&gt; &lt;p&gt;You might be aware that &lt;a href="http://blogs.zoho.com/general/offline-support-comments-in-zoho-writer/"&gt;Zoho  Writer uses Gears&lt;/a&gt; for offline functionality. &lt;/p&gt; &lt;p&gt;On related notes refer an interesting post on online applications:&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.zoho.com/general/standardization-maturity-of-online-suites/"&gt;http://blogs.zoho.com/general/standardization-maturity-of-online-suites/&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Picasa Web Albums could be viewed in Windows Mobile touchscreen devices and  uses Gears for offline support.&lt;/p&gt; &lt;p&gt;&lt;a href="http://googlephotos.blogspot.com/2008/03/more-good-news-for-mobile.html"&gt;http://googlephotos.blogspot.com/2008/03/more-good-news-for-mobile.html&lt;/a&gt;&lt;/p&gt; &lt;p&gt;You might be aware that my &lt;a href="http://ggears.blogspot.com/2008/03/gears-on-mobile.html"&gt;previous  post&lt;/a&gt; was on launch of Gears for Windows Mobile with Zoho Writer and Buxfer  applications.  &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4141553651337452967-751347323738140288?l=ggears.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ggears.blogspot.com/feeds/751347323738140288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4141553651337452967&amp;postID=751347323738140288' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/751347323738140288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/751347323738140288'/><link rel='alternate' type='text/html' href='http://ggears.blogspot.com/2008/04/google-gears-recent-news.html' title='Google Gears recent news:'/><author><name>Srikanth Ramu</name><uri>http://www.blogger.com/profile/14847465366764947335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4141553651337452967.post-8327608994860482049</id><published>2008-03-09T08:03:00.000-07:00</published><updated>2008-03-09T08:06:36.078-07:00</updated><title type='text'>Gears on Mobile</title><content type='html'>On seeing the title if you think am going to discuss about shifting Gears in automobiles then am sorry!! Its about Google Gears support for Windows Mobile (WinMo) devices. If you have any web application that works in Windows Mobile, then you could look at the latest release of Google Gears for offline support. The current release supports Windows Mobile 5 &amp;amp; 6.&lt;br /&gt;&lt;br /&gt;During the Gears for Mobile launch, two web applications have used Google Gears for their offline support.&lt;br /&gt; &lt;br /&gt;Zoho Writer: An online word processor extended offline support for their Windows Mobile edition. To access the mobile version visit: &lt;a href="http://mobile.zoho.com/"&gt;http://mobile.zoho.com&lt;/a&gt;. The desktop/laptop (computer) version of Writer is available at &lt;a href="http://writer.zoho.com/"&gt;http://writer.zoho.com&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Buxfer: A personal finance web application visit &lt;a href="http://m.buxfer.com/"&gt;http://m.buxfer.com&lt;/a&gt; &lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;There is no change in API for desktop and Mobile edtions. However if you are using old gears_init.js then you may have update with the latest one available @ &lt;a href="http://code.google.com/apis/gears/gears_init.js"&gt;http://code.google.com/apis/gears/gears_init.js&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Fore more details:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://googlemobile.blogspot.com/2008/03/shifting-google-gears-to-mobile.html"&gt;http://googlemobile.blogspot.com/2008/03/shifting-google-gears-to-mobile.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://google-code-updates.blogspot.com/2008/03/power-up-your-mobile-web-applications.html"&gt;http://google-code-updates.blogspot.com/2008/03/power-up-your-mobile-web-applications.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://code.google.com/apis/gears/mobile.html"&gt;http://code.google.com/apis/gears/mobile.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4141553651337452967-8327608994860482049?l=ggears.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ggears.blogspot.com/feeds/8327608994860482049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4141553651337452967&amp;postID=8327608994860482049' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/8327608994860482049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/8327608994860482049'/><link rel='alternate' type='text/html' href='http://ggears.blogspot.com/2008/03/gears-on-mobile.html' title='Gears on Mobile'/><author><name>Srikanth Ramu</name><uri>http://www.blogger.com/profile/14847465366764947335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4141553651337452967.post-3068002009356123730</id><published>2008-03-09T08:02:00.000-07:00</published><updated>2008-03-09T08:05:20.057-07:00</updated><title type='text'>Google Gears API: ResourceStore Module</title><content type='html'>In this post you will find code snippet for ResourceStore of &lt;a href="http://ggears.blogspot.com/2008/02/google-gears-api-localserver-module.html"&gt;LocalServer Module&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;code&gt; function localserver()&lt;br /&gt;{&lt;br /&gt;var localserver = google.gears.factory.create('beta.localserver', '1.0');&lt;br /&gt;var store = localserver.createStore('mystore');&lt;br /&gt;store = localserver.openStore('mystore');&lt;br /&gt;var files=['/images/myimage.gif']&lt;br /&gt;var captureId=store.capture(files,callback);&lt;br /&gt;}&lt;br /&gt;function callback()&lt;br /&gt;{&lt;br /&gt;   alert('files are captured');&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt; &lt;br /&gt;&lt;br /&gt;Ensure that you have the &lt;a href="http://code.google.com/apis/gears/gears_init.js"&gt;gears_init.js&lt;/a&gt; file to use above methods. For other methods refer:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://code.google.com/apis/gears/api_localserver.html"&gt;http://code.google.com/apis/gears/api_localserver.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://code.google.com/apis/gears/api_localserver.html#ResourceStore"&gt;http://code.google.com/apis/gears/api_localserver.html#ResourceStore&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4141553651337452967-3068002009356123730?l=ggears.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ggears.blogspot.com/feeds/3068002009356123730/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4141553651337452967&amp;postID=3068002009356123730' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/3068002009356123730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/3068002009356123730'/><link rel='alternate' type='text/html' href='http://ggears.blogspot.com/2008/03/google-gears-api-resourcestore-module.html' title='Google Gears API: ResourceStore Module'/><author><name>Srikanth Ramu</name><uri>http://www.blogger.com/profile/14847465366764947335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4141553651337452967.post-1401406074797112858</id><published>2008-02-24T07:18:00.000-08:00</published><updated>2008-02-24T07:29:59.233-08:00</updated><title type='text'>Google Gears API: LocalServer Module</title><content type='html'>Following my last post about &lt;a href="http://ggears.blogspot.com/2008/02/google-gears-api-localserver-module.html"&gt;Google Gears Database Module&lt;/a&gt; , here comes the LocalServer module.&lt;br /&gt;&lt;br /&gt;LocalServer module allows you to store the HTTP resources locally. The resources could be images, html pages, css, JS files etc. For more details refer my post on &lt;a href="http://ggears.blogspot.com/2008/01/modules-of-google-gears.html"&gt;Gears Modules&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;There are two options in LocalServer to store the files:&lt;br /&gt;&lt;br /&gt;1. ManagedResourceStore: The resources are cached based on a manifest file. Set of URLs of the resources has to mentioned in a manifest file with a version number of the manifest file. When ever the  resource is modified, you need to change the version number specified in the manifest file. Gears will take care of updating the local store (resources stored locally) with the new version. This option is more handy when the resources are almost static or occasionally modified, and thus avoiding downloading the resources every time you go offline/online.&lt;br /&gt;&lt;br /&gt;Note: You might have an array of resources of which only few might have been modified. Gears will download only the modified resource.&lt;br /&gt;&lt;br /&gt;2. ResourceStore: Alternately you can store the resources through API (method calls) at will, using methods like capture(), copy(), remove() etc.&lt;br /&gt;&lt;br /&gt;Well, selecting the option is purely based on the requirement and the type of resource. If the resource is almost static, then you could use the ManagedResourceStore option, however there are resources associated with UI themes which changes based on user's current settings, that could be captured using ResourceStore.&lt;br /&gt;&lt;br /&gt;Fore more details refer: &lt;a href="http://code.google.com/apis/gears/api_localserver.html"&gt;http://code.google.com/apis/gears/api_localserver.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In my next post I'll explain ResourceStore module with sample code.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4141553651337452967-1401406074797112858?l=ggears.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ggears.blogspot.com/feeds/1401406074797112858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4141553651337452967&amp;postID=1401406074797112858' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/1401406074797112858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/1401406074797112858'/><link rel='alternate' type='text/html' href='http://ggears.blogspot.com/2008/02/google-gears-api-localserver-module.html' title='Google Gears API: LocalServer Module'/><author><name>Srikanth Ramu</name><uri>http://www.blogger.com/profile/14847465366764947335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4141553651337452967.post-7697938203210608793</id><published>2008-02-22T09:31:00.001-08:00</published><updated>2008-02-24T07:18:25.664-08:00</updated><title type='text'>Google Gears New version 0.2 is now available</title><content type='html'>Gears team have released 0.2 version of Google Gears. For more details refer:&lt;br /&gt;http://gearsblog.blogspot.com/2008/02/gears-02-released.html&lt;br /&gt;http://gears.google.com/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4141553651337452967-7697938203210608793?l=ggears.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ggears.blogspot.com/feeds/7697938203210608793/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4141553651337452967&amp;postID=7697938203210608793' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/7697938203210608793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/7697938203210608793'/><link rel='alternate' type='text/html' href='http://ggears.blogspot.com/2008/02/gear-new-version-02-is-now-available.html' title='Google Gears New version 0.2 is now available'/><author><name>Srikanth Ramu</name><uri>http://www.blogger.com/profile/14847465366764947335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4141553651337452967.post-521146493288005984</id><published>2008-02-02T12:00:00.000-08:00</published><updated>2008-02-02T12:17:57.033-08:00</updated><title type='text'>Google Gears API: Database Module</title><content type='html'>My last post was on &lt;a href="http://ggears.blogspot.com/2008/01/google-gears-api-initialization.html"&gt;initializing the Google Gears API&lt;/a&gt; which is indeed the first step to use the Gears API. Next comes the use of different modules. In this post I'll illustrate the usage of Database Module.&lt;br /&gt;&lt;br /&gt;All the &lt;a href="http://ggears.blogspot.com/2008/01/modules-of-google-gears.html"&gt;Gears Module&lt;/a&gt; has to be instantiated by using &lt;b&gt;Gears Factory&lt;/b&gt;'s &lt;b&gt;create&lt;/b&gt; method. For more details refer below url:&lt;br /&gt;&lt;br /&gt;http://code.google.com/apis/gears/api_factory.html&lt;br /&gt;&lt;br /&gt;Also have a look at &lt;b&gt;getBuildInfo()&lt;/b&gt; method, to get the Gears build info.You will get some thing like this - &lt;b&gt;0. 2.14.0;official;opt;linux;firefox &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;As explained in my &lt;a href="http://ggears.blogspot.com/2008/01/modules-of-google-gears.html"&gt;Modules of Google Gears&lt;/a&gt; post, the Database module uses SQLLite database.&lt;br /&gt;&lt;br /&gt;Here are few methods that could be useful. Ensure that you have followed the &lt;a href="http://ggears.blogspot.com/2008/01/modules-of-google-gears.html"&gt;initialization&lt;/a&gt; steps.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;function dbtest()&lt;br /&gt;{&lt;br /&gt;  var db = google.gears.factory.create('beta.database', '1.0');&lt;br /&gt;  if(db)&lt;br /&gt;  {&lt;br /&gt;      db.open('dbtest');&lt;br /&gt;      db.execute('create table if not exists testtab (id int,name text)');&lt;br /&gt;      db.execute('insert into testtab values (?,?)' ,[1,'srikanth']);&lt;br /&gt;      var rs = db.execute('select id,name from testtab where id=(?)',[1]);&lt;br /&gt;      while(rs.isValidRow())&lt;br /&gt;      {&lt;br /&gt;          alert(rs.field(0) + ':' + rs.field(1));&lt;br /&gt;          rs.next();&lt;br /&gt;      }&lt;br /&gt;      rs.close();&lt;br /&gt;      db.execute('update testtab set name = (?) where id=(?)',['srikanthramu',1]);&lt;br /&gt;      rs=db.execute('select name from testtab where id=(?)',[1]);&lt;br /&gt;      while(rs.isValidRow())&lt;br /&gt;      {&lt;br /&gt;          alert(rs.fieldName(0)+':'+rs.field(0));&lt;br /&gt;          rs.next();&lt;br /&gt;      }&lt;br /&gt;      rs.close();//It is important to close the resultset before database object&lt;br /&gt;      db.close();&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Refer below url for database module methods:&lt;br /&gt;http://code.google.com/apis/gears/api_database.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4141553651337452967-521146493288005984?l=ggears.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ggears.blogspot.com/feeds/521146493288005984/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4141553651337452967&amp;postID=521146493288005984' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/521146493288005984'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/521146493288005984'/><link rel='alternate' type='text/html' href='http://ggears.blogspot.com/2008/02/google-gears-api-database-module.html' title='Google Gears API: Database Module'/><author><name>Srikanth Ramu</name><uri>http://www.blogger.com/profile/14847465366764947335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4141553651337452967.post-3863766712101949432</id><published>2008-01-25T10:53:00.000-08:00</published><updated>2008-01-25T10:54:55.664-08:00</updated><title type='text'>Google Gears API: Initialization</title><content type='html'>After &lt;a href="http://ggears.blogspot.com/2008/01/installinguninstalling-google-gears.html"&gt;installing Google Gears&lt;/a&gt; you can start using the Gears API. The first step would be the initialization of Gears, done using &lt;a href="http://code.google.com/apis/gears/tools/gears_init.js"&gt;gears_init.js&lt;/a&gt;  file. This file has an anonymous function call that creates a GearsFactory() object based on the browser. Google strongly recommends the initialization using gears_init.js file. Developers can use "google.gears" and "window.google"  to check whether Gears is installed and properly initialized.&lt;br /&gt;&lt;br /&gt;Refer below url for more details:&lt;br /&gt; http://code.google.com/apis/gears/design.html#detecting&lt;br /&gt;&lt;br /&gt;The anonymous function will be called when gears_init.js file is loaded directly using a script tag. Due to this when a page that loads gears_init.js file is accessed in IE7, below message will be popedup:&lt;br /&gt;&lt;br /&gt;"This website wants to run the following add-on: 'gears.dll' from 'Google Inc ......."&lt;br /&gt;&lt;br /&gt;However you could avoid this by encapsulating the initialization block with in a named function.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4141553651337452967-3863766712101949432?l=ggears.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ggears.blogspot.com/feeds/3863766712101949432/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4141553651337452967&amp;postID=3863766712101949432' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/3863766712101949432'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/3863766712101949432'/><link rel='alternate' type='text/html' href='http://ggears.blogspot.com/2008/01/google-gears-api-initialization.html' title='Google Gears API: Initialization'/><author><name>Srikanth Ramu</name><uri>http://www.blogger.com/profile/14847465366764947335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4141553651337452967.post-7319806211667254715</id><published>2008-01-14T11:00:00.000-08:00</published><updated>2008-01-14T11:01:23.098-08:00</updated><title type='text'>Dojo Offline Tookit</title><content type='html'>&lt;p&gt;Dojo Offline Toolkit (DOT) was ahead of Google in releasing a small download to enable web applications to work offline.&lt;/p&gt;  &lt;p&gt;Initially DOT provided a web proxy that will be running in your machine. The  UI resources will be cached locally by the proxy server. And to store the data  DOT had 3 storage options: 1) Flash storage 2) SQLLite storage 3) File Storage  provider. &lt;/p&gt;  &lt;p&gt;Apart from the storage/cache options Dojo Offline Toolkit offered few utilities like: Dojo Offline Widgets (offline UI), Options to check the network availability etc.&lt;/p&gt;  &lt;p&gt;Subsequent to the release of Google Gears, DOT was quick to move over  Gears. You could find some interesting stuffs like Encrypt/Decrypt options,  function to scan a page and identify the resources for offline etc.&lt;/p&gt;   &lt;p&gt;For more details visit: http://dojotoolkit.org/offline&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4141553651337452967-7319806211667254715?l=ggears.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ggears.blogspot.com/feeds/7319806211667254715/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4141553651337452967&amp;postID=7319806211667254715' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/7319806211667254715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/7319806211667254715'/><link rel='alternate' type='text/html' href='http://ggears.blogspot.com/2008/01/dojo-offline-tookit.html' title='Dojo Offline Tookit'/><author><name>Srikanth Ramu</name><uri>http://www.blogger.com/profile/14847465366764947335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4141553651337452967.post-2882272303793012962</id><published>2008-01-12T06:56:00.000-08:00</published><updated>2008-01-12T07:02:21.847-08:00</updated><title type='text'>Web application in offline mode</title><content type='html'>Why Offline Mode ? Well, read below:&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;Need:&lt;/b&gt; With more and more applications moving away from desktops, towards the  web/internet and with the concepts like SAS (Software As Service), collaborative  mode etc gaining significance, we are more dependent on the internet. Expecting  all time (even while traveling)  network connectivity in all places (like rural  area) might be too optimistic thought. To bridge this gap web application  vendors are forced to enable their web applications to work offline i.e with out  being connected to the internet.&lt;br /&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Solution: &lt;/b&gt;I could think of 2 ways to provide offline support to a web application. &lt;/p&gt; &lt;ol&gt;&lt;li&gt;Providing a downloadable version of the application, so that users can      install it in their machine and work locally. When required they can sync      the local version with the online version.      &lt;ul&gt;&lt;li&gt;Pros:         &lt;ul&gt;&lt;li&gt;Almost all the features can be supported in the offline mode&lt;/li&gt;&lt;li&gt;Probably less code change required for an existing application.              You might have to work only on the syncing aspect.&lt;/li&gt;&lt;/ul&gt;       &lt;/li&gt;&lt;li&gt;Cons:         &lt;ul&gt;&lt;li&gt;The downloadable size could be more&lt;/li&gt;&lt;li&gt;More hard disk space is required&lt;/li&gt;&lt;li&gt;Product upgrading could be cumbersome&lt;br /&gt;          &lt;/li&gt;&lt;/ul&gt;       &lt;/li&gt;&lt;/ul&gt;   &lt;/li&gt;&lt;li&gt;Offline support through some kind of caching support through browser extension, proxy server etc      &lt;ul&gt;&lt;li&gt;Pros:         &lt;ul&gt;&lt;li&gt;Light weight component could be downloaded thus reducing the hard             disk usage&lt;/li&gt;&lt;li&gt;New release/feature upgrading could be easy&lt;/li&gt;&lt;/ul&gt;       &lt;/li&gt;&lt;li&gt;Cons:         &lt;ul&gt;&lt;li&gt;You might have to compromise on the features offered in the offline mode when compared to the online version&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;       &lt;/li&gt;&lt;/ul&gt;   &lt;/li&gt;&lt;/ol&gt; &lt;p&gt;In my subsequent posts I would explain the second option with open source  solutions like Dojo Offline toolkit and Google Gears.  &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4141553651337452967-2882272303793012962?l=ggears.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ggears.blogspot.com/feeds/2882272303793012962/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4141553651337452967&amp;postID=2882272303793012962' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/2882272303793012962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/2882272303793012962'/><link rel='alternate' type='text/html' href='http://ggears.blogspot.com/2008/01/web-application-in-offline-mode.html' title='Web application in offline mode'/><author><name>Srikanth Ramu</name><uri>http://www.blogger.com/profile/14847465366764947335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4141553651337452967.post-6626103989958846608</id><published>2008-01-11T10:29:00.000-08:00</published><updated>2008-01-11T10:30:00.206-08:00</updated><title type='text'>Security Dialog</title><content type='html'>&lt;p&gt;When ever Gear APIs are accessed by a web application, a security  dialog is prompted, you could Allow/Deny.&lt;br /&gt;&lt;/p&gt;  &lt;p&gt;To check the Allowed/Denied sites invoke Tools-&gt;Google Gears Settings.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4141553651337452967-6626103989958846608?l=ggears.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ggears.blogspot.com/feeds/6626103989958846608/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4141553651337452967&amp;postID=6626103989958846608' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/6626103989958846608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/6626103989958846608'/><link rel='alternate' type='text/html' href='http://ggears.blogspot.com/2008/01/security-dialog.html' title='Security Dialog'/><author><name>Srikanth Ramu</name><uri>http://www.blogger.com/profile/14847465366764947335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4141553651337452967.post-2047663369670749732</id><published>2008-01-10T12:32:00.000-08:00</published><updated>2008-01-10T12:34:56.251-08:00</updated><title type='text'>Installing/Uninstalling Google Gears:</title><content type='html'>&lt;p&gt;Visit: &lt;a href="http://gears.google.com/"&gt;http://gears.google.com/&lt;/a&gt; page,  download and install the GoogleGearsSetup.exe file. Ensure that you are  connected to the internet during installation. Once installed RESTART the  browser to use the Gears. To check whether Gears is installed invoke Tools -&gt;  Gears Gears Settings. &lt;/p&gt;  &lt;p&gt;The current Gears version is 0.1.54.0&lt;/p&gt;  &lt;p&gt;System Requirements: &lt;/p&gt;  &lt;p&gt;&lt;b&gt;Browser:&lt;/b&gt; IE 6+ and FF 1.5+. As on date FF3.0 beta is not supported, refer this &lt;a href="http://groups.google.com/group/google-gears/browse_thread/thread/ca9c4ca18ca5b365/930bd16e58ded49c?lnk=gst&amp;amp;q=beta#930bd16e58ded49c"&gt;forum  post&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;&lt;b&gt;OS:&lt;/b&gt; Linux, Mac, Windows XP/Vista. Though Windows 2000 is not mentioned in the  supported list, I tired installing Gears and was  successful too. May be you can try in your environment.&lt;/p&gt;   &lt;p&gt;For any issues during installation you could follow some useful threads from &lt;a href="http://groups.google.com/group/google-gears"&gt;Gears  forums&lt;/a&gt; (especially the sticky posts with error codes).&lt;/p&gt;  &lt;p&gt;To uninstall refer http://code.google.com/apis/gears/install.html&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4141553651337452967-2047663369670749732?l=ggears.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ggears.blogspot.com/feeds/2047663369670749732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4141553651337452967&amp;postID=2047663369670749732' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/2047663369670749732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/2047663369670749732'/><link rel='alternate' type='text/html' href='http://ggears.blogspot.com/2008/01/installinguninstalling-google-gears.html' title='Installing/Uninstalling Google Gears:'/><author><name>Srikanth Ramu</name><uri>http://www.blogger.com/profile/14847465366764947335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4141553651337452967.post-8184785665633243065</id><published>2008-01-07T10:39:00.001-08:00</published><updated>2008-01-07T10:46:45.527-08:00</updated><title type='text'>Modules of Google Gears</title><content type='html'>&lt;p&gt;When you think of offline (not connected to the network) support  to web  applications, you need to operate on the data/resources stored locally. Any  developer who wants to provide offline capability to their applications needs to  understand the Google Gears Modules, I've explained below the Gears modules  based on the contents stored locally.&lt;/p&gt;  &lt;p&gt;&lt;span style="font-weight: bold;"&gt;HTTP resources:&lt;/span&gt; These are mostly client/UI contents like HTML pages, css files, images, javascripts etc. Local Server Module&lt;b&gt; (LSM)&lt;/b&gt; offers storing these resources locally. When HTTP requests are made, the browser checks if these resources are available locally, if so the local copy will be served, if not the browser will try to access the online resources. Application developers have to use the APIs in LSM to update the stored contents when they are modified in the online version.  &lt;/p&gt; &lt;p&gt;&lt;span style="font-weight: bold;"&gt;Application/User specific data:&lt;/span&gt; Data varies from application to application  i.e: Editor application has documents, Mail apps has messages/drafts, Feed  Reader has feeds, news etc. Database Module&lt;b&gt; (DM) &lt;/b&gt;offers SQLLite database  system to store the data. You could open a database, create tables  and  perform CRUD (Create, Retrieve, Update and Delete) operations. Unlike LSM, DM  does not have API to sync the modified data to the online version.  Application developers have to take care of it. &lt;/p&gt;  &lt;p&gt;Apart from the above two modules, there is &lt;b&gt;WorkerPool Module&lt;/b&gt; to  execute your javascript code in a separate processes. &lt;/p&gt;  &lt;p&gt;Location of the locally stored resources/data through LSM and DM:&lt;/p&gt;   &lt;p&gt;&lt;b&gt;Fire Fox:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Linux:&lt;/b&gt;&lt;br /&gt;/home/&lt;username&gt;[username]/.mozilla/firefox/[.default]/Google Gears for Firefox/[website]&lt;website&gt;/http_8080&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Mac:&lt;/b&gt;&lt;br /&gt;/Users/administrator/Library/Caches/Firefox/Profiles/[.default]/Google Gears for Firefox/&lt;website&gt;[website]/http_80&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Windows XP:&lt;/b&gt;&lt;br /&gt;C:\Documents and Settings\&lt;user&gt;[user]\Local Settings\Application Data\Mozilla\Firefox\Profiles\[.default]\Google Gears for Firefox\&lt;website&gt;[website]\http_8080&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Windows Vista:&lt;/b&gt;&lt;br /&gt;C:\Users\[user]&lt;user&gt;\AppData\Local\Mozilla\Firefox\Profiles\[.default]\Google Gears for Firefox\[website]&lt;website&gt;\http_80&lt;br /&gt;&lt;br /&gt;&lt;b&gt;IE:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Windows XP:&lt;/b&gt;&lt;br /&gt;C:\Documents and Settings\[user]&lt;user&gt;\Local Settings\Application Data\Google\Google Gears for Internet Explorer\&lt;website&gt;[&lt;/website&gt;&lt;/user&gt;&lt;/website&gt;&lt;/user&gt;&lt;/website&gt;&lt;/user&gt;&lt;/website&gt;&lt;/website&gt;&lt;/username&gt;website&lt;username&gt;&lt;website&gt;&lt;website&gt;&lt;user&gt;&lt;website&gt;&lt;user&gt;&lt;website&gt;&lt;user&gt;&lt;website&gt;]\http_8080&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Windows Vista:&lt;/b&gt;&lt;br /&gt;C:\Users\&lt;user&gt;[usr]\AppData\LocalLow\Google\Google Gears for Internet Explorer\&lt;website&gt;[&lt;/website&gt;&lt;/user&gt;&lt;/website&gt;&lt;/user&gt;&lt;/website&gt;&lt;/user&gt;&lt;/website&gt;&lt;/user&gt;&lt;/website&gt;&lt;/website&gt;&lt;/username&gt;website&lt;username&gt;&lt;website&gt;&lt;website&gt;&lt;user&gt;&lt;website&gt;&lt;user&gt;&lt;website&gt;&lt;user&gt;&lt;website&gt;&lt;user&gt;&lt;website&gt;]\http_80&lt;/website&gt;&lt;/user&gt;&lt;/website&gt;&lt;/user&gt;&lt;/website&gt;&lt;/user&gt;&lt;/website&gt;&lt;/user&gt;&lt;/website&gt;&lt;/website&gt;&lt;/username&gt;&lt;/p&gt;  &lt;p&gt;For more details visit: http://code.google.com/apis/gears/&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4141553651337452967-8184785665633243065?l=ggears.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ggears.blogspot.com/feeds/8184785665633243065/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4141553651337452967&amp;postID=8184785665633243065' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/8184785665633243065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/8184785665633243065'/><link rel='alternate' type='text/html' href='http://ggears.blogspot.com/2008/01/modules-of-google-gears.html' title='Modules of Google Gears'/><author><name>Srikanth Ramu</name><uri>http://www.blogger.com/profile/14847465366764947335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4141553651337452967.post-1181565567366948689</id><published>2008-01-04T11:03:00.000-08:00</published><updated>2008-01-04T11:04:50.938-08:00</updated><title type='text'>Welcome to GGears!!</title><content type='html'>&lt;p&gt;Google Gears a browser extension, enables web apps to work offline. Does that  sound innovative!! &lt;a href="http://www.itworld.com/Tech/5051/25-most-innovative-products-of-the-year-071228/"&gt;PC  World&lt;/a&gt; found so. I've been using Gears for quite some time would like to  share news, views, samples etc about Gears. Hope you find this interesting. &lt;/p&gt; &lt;p&gt;Have a great day.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4141553651337452967-1181565567366948689?l=ggears.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ggears.blogspot.com/feeds/1181565567366948689/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4141553651337452967&amp;postID=1181565567366948689' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/1181565567366948689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4141553651337452967/posts/default/1181565567366948689'/><link rel='alternate' type='text/html' href='http://ggears.blogspot.com/2008/01/welcome-to-ggears.html' title='Welcome to GGears!!'/><author><name>Srikanth Ramu</name><uri>http://www.blogger.com/profile/14847465366764947335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
