<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Shekhar Govindarajan's Blog</title>
	<atom:link href="http://www.shekhargovindarajan.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shekhargovindarajan.com</link>
	<description>My Notepad on the Web</description>
	<lastBuildDate>Fri, 03 Sep 2010 05:58:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<atom:link rel="hub" href="http://pubsubhubbub.appspot.com/" />
			<item>
		<title>Solved: Images load up partially when served by Apache Web Server</title>
		<link>http://www.shekhargovindarajan.com/tips-n-tricks/solved-images-load-up-partially-when-served-by-apache-web-server/?&amp;owa_from=feed&amp;owa_sid=&amp;utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=solved-images-load-up-partially-when-served-by-apache-web-server</link>
		<comments>http://www.shekhargovindarajan.com/tips-n-tricks/solved-images-load-up-partially-when-served-by-apache-web-server/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 18:00:39 +0000</pubDate>
		<dc:creator>Shekhar</dc:creator>
				<category><![CDATA[Tips N Tricks]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[cifs]]></category>
		<category><![CDATA[enablesendfile]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[smb]]></category>

		<guid isPermaLink="false">http://www.shekhargovindarajan.com/?p=1647</guid>
		<description><![CDATA[This was a very strange issue which showed up at one of my client&#8217;s Web application. The application is hosted on a Apache Web server and serves JPEG images. These JPEG files reside on a different server and mounted via CIFS (loosely called Samba mount) on the Linux machine running the Web server.
Now the issue [...]]]></description>
			<content:encoded><![CDATA[<p>This was a very strange issue which showed up at one of my client&#8217;s Web application. The application is hosted on a Apache Web server and serves JPEG images. These JPEG files reside on a different server and mounted via CIFS (loosely called Samba mount) on the Linux machine running the Web server.</p>
<p>Now the issue was, many JPEG images, especially the larger ones, loaded up only partially in a Web browser (both Internet Explorer and Firefox). What made them load fully was pressing CTRL+R or clicking on Refresh/Reload several times. Bandwidth wasn&#8217;t an issue here, since this problem occurred even when browsing the JPEGs from the local network.<span id="more-1647"></span></p>
<p>At first, I doubted that it could be an issue with the way the JPEGs are produced, something related to the progressive rendering et al. But then I came across an instance (too involved to explain it here) which proved me wrong.</p>
<p>Testing the case further, I found that the JPEGs load absolutely fine in the Web browser, when opened up via File&gt;Open &#8211; instead of hitting the Web Server. This made me turn my eyes onto the Apache Web server. Googling around and reading the comments in the Apache configuration file gave a few hints. With some hit-n-trial, the solution that worked for me is as follows:</p>
<ul>
<li>Login as root</li>
<li>Open the httpd.conf file (the configuration file of Apache Web server) in a text editor (like vi). On RedHat/Fedora/CentOS Linux, this file can be found in the directory /etc/httpd/conf</li>
<li>Append the following line to the end of the file:
<pre>EnableSendfile off
</pre>
</li>
<li>Save the file.</li>
<li>Reload or restart the web server. On a RedHat/Fedora/CentOS Linux the command &#8217;service httpd reload&#8217; can be used for the same.</li>
</ul>
<p>The EnableSendFile directive in Apache is documented as: &#8220;Control whether the sendfile kernel support is used to deliver files (assuming that the OS supports it). The default is on; turn this off if you serve from NFS-mounted filesystems.&#8221;</p>
<p>What caught my attention was &#8220;turn this off if you serve from NFS-mounted filesystems&#8221;. But, in my case, the JPEG files were mounted via CIFS and not NFS. But reading more about the EnableSendFile directive at <a href="http://httpd.apache.org/docs/2.2/mod/core.html#enablesendfile">http://httpd.apache.org/docs/2.2/mod/core.html#enablesendfile</a>, reveals the it affects even SMB (and hence CIFS) or any other network mounted files. Following is the snippet from the document:</p>
<p><em>With a network-mounted DocumentRoot (e.g., NFS or SMB), the kernel may be unable to serve the network file through its own cache.</em></p>
<p>Also, I guess, this solution is not specific to JPEG files. The above mentioned issue and the solution should be applicable to other file types too, which are served from a network mounted drive.</p>
<img src="http://www.shekhargovindarajan.com/?ak_action=api_record_view&id=1647&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.shekhargovindarajan.com/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.shekhargovindarajan.com/tips-n-tricks/solved-images-load-up-partially-when-served-by-apache-web-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Replacement battery for Android Dev Phone 1</title>
		<link>http://www.shekhargovindarajan.com/tips-n-tricks/replacement-battery-for-android-dev-phone-1/?&amp;owa_from=feed&amp;owa_sid=&amp;utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=replacement-battery-for-android-dev-phone-1</link>
		<comments>http://www.shekhargovindarajan.com/tips-n-tricks/replacement-battery-for-android-dev-phone-1/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 18:05:19 +0000</pubDate>
		<dc:creator>Shekhar</dc:creator>
				<category><![CDATA[Tips N Tricks]]></category>
		<category><![CDATA[adp1]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[battery]]></category>
		<category><![CDATA[brightstar]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[htc]]></category>
		<category><![CDATA[mugen power]]></category>

		<guid isPermaLink="false">http://www.shekhargovindarajan.com/?p=1598</guid>
		<description><![CDATA[This is a long pending post that I wanted to write. In April, after about a year of purchase of my Android Dev Phone 1 (a.k.a. ADP1), its battery started draining out. It became so bad that that I had to keep the phone always on charging. While at home/office, I used to charge it [...]]]></description>
			<content:encoded><![CDATA[<p>This is a long pending post that I wanted to write. In April, after <a href="http://www.shekhargovindarajan.com/google/anroid-to-india-a-shipping-faq/" target="_blank">about a year of purchase</a> of my Android Dev Phone 1 (a.k.a. ADP1), its battery started draining out. It became so bad that that I had to keep the phone always on charging. While at home/office, I used to charge it using USB/AC power. While driving, I kept it charging using <a href="http://twitter.com/shekharg/statuses/7306761717" target="_blank">a nifty car adapter</a>.</p>
<p>After about a week of frustration and laziness (to search for a fix), I decided to buy a replacement battery. But the question was, whom do I contact for the replacement battery? HTC? Google? or Brightstar (the distributor) ? Phew&#8230;.<span id="more-1598"></span></p>
<p>While I was Googling around to find an answer, I came across the site of Mugen Power <a href="http://www.mugen-power-batteries.com/">http://www.mugen-power-batteries.com/</a>. It looked interesting enough to try shipping a replacement battery from here. So I decided to chuck out Google, HTC and Brightstar and go for Mugen Power. But it wasn&#8217;t a joy ride to start with. The first stumbling block was as follows:</p>
<p><strong>Will Mugen Power&#8217;s &#8216;TMobile G1 Dream battery&#8217; work for ADP1?</strong><br />
The battery that Mugen Power sells is labelled for TMobile G1 Dream. While TMobile G1 Dream and ADP1 are the same hardware, I didn&#8217;t want to take any chances.</p>
<p>So, I filled up the <a href="http://www.mugen-power-batteries.com/contacts/" target="_blank">Contact Us</a> form on the website asking whether the same battery will work for my ADP1. I got an E-mail reply within 4 hours asking me to send the photographs of the phone&#8217;s battery. After sending the photographs, I got a reply within 7 hours confirming that the T-Mobile G1&#8217;s battery will fit in my ADP1. The E-mail also mentioned the link <a href="http://www.mugen-power-batteries.com/htc/htc-dream.html" target="_blank">http://www.mugen-power-batteries.com/htc/htc-dream.html</a> from where I could buy the battery.</p>
<p>The take home from the above are:</p>
<ul>
<li>While the responses were coming from a Gmail address <img src='http://www.shekhargovindarajan.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  , Mugen Power&#8217;s support is quick and effective.</li>
<li><strong>The battery for T-Mobile&#8217;s G1, sold by Mugen Power, fits in and works for an Android Dev Phone 1.</strong></li>
</ul>
<p><strong>The shipping experience</strong><br />
Following the link, I bought &#8220;<a href="http://www.mugen-power-batteries.com/htc/htc-dream/mugen-power-htc-dream-t-mobile-google-phone-g1-1200mah-extra-eros-akkumulator.html" target="_blank">Mugen Power HTC Dream T-mobile Google Phone G1 1200mAh Extended Replacement Battery [HLI-G1SL]</a>&#8220;. Sorry for the long name, but that&#8217;s what it is called.</p>
<p>Note that I went for the 1200 mAh battery. The battery which ships with ADP1 is a 1150 mAh &#8211; so this Mugen Battery was hardly an extended battery. But, one can also go for 2400 or the 3900 mAh batteries which will keep your phone powered up for days! But note that the 2400 and 3900 mAh options need a extended battery cover due to the size of the battery. Fortunately the battery cover is shipped alongwith.</p>
<p>Coming back to my shipping experience, I ordered the 1200 mAh battery priced @ $26.95. I went for Free Shipping and not for the Speedpost option. The latter costs $36.13 (more than the cost of the battery!) but promises delivery within 2-6 business days. Free shipping quoted a delivery within 10-15 business days. But guess what, I received the battery in 8 days! I placed the order on 29 April and it got delivered to my residence at New Delhi, India on 8 May.</p>
<p>Seems I was lucky because one of my friends who ordered an extended battery for his HTC Touch, received the battery after 15 days at Gurgaon, Haryana, India.</p>
<p>Note that there were no import or customs duty to pay. That is, I owned the  battery at the cost of $26.95 (all inclusive).</p>
<p>To sum up, the Mugen Power battery came to rescue when I was desperate. When fully charged, the battery keeps the phone alive for about 7-8 hours under heavy usage &#8211; Twitter, Facebook and E-mail sync, WiFi and GPS at times, screen at its full brightness and active wallpaper! This performance is almost same as that of the ADP1&#8217;s battery &#8211; which it shipped with. My phone is powered by Mugen Power battery for more than a month now.</p>
<img src="http://www.shekhargovindarajan.com/?ak_action=api_record_view&id=1598&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.shekhargovindarajan.com/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.shekhargovindarajan.com/tips-n-tricks/replacement-battery-for-android-dev-phone-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL GUI Tools (Query Browser, Administrator) for Fedora 13</title>
		<link>http://www.shekhargovindarajan.com/open-source/mysql-gui-tools-query-browser-administrator-for-fedora-13/?&amp;owa_from=feed&amp;owa_sid=&amp;utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=mysql-gui-tools-query-browser-administrator-for-fedora-13</link>
		<comments>http://www.shekhargovindarajan.com/open-source/mysql-gui-tools-query-browser-administrator-for-fedora-13/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 04:10:06 +0000</pubDate>
		<dc:creator>Shekhar</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Fedora 13]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[mysql administrator]]></category>
		<category><![CDATA[mysql gui tools]]></category>
		<category><![CDATA[mysql query browser]]></category>
		<category><![CDATA[mysql workbench]]></category>
		<category><![CDATA[remi repository]]></category>

		<guid isPermaLink="false">http://www.shekhargovindarajan.com/?p=1604</guid>
		<description><![CDATA[In Fedora Linux, the mysql-gui-tools package provides the graphical (or GUI) clients to query and administer a MySQL database &#8211; useful alternatives to the command line client.
While I&#8217;m very comfortable with the mysql command line client, I do switch to the GUI query browser to add/edit stored procedures/functions.
&#8220;yum install mysql-gui-tools&#8221; was the simplest command to [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://fedoraproject.org/" target="_blank">Fedora Linux</a>, the mysql-gui-tools package provides the graphical (or GUI) clients to query and administer a MySQL database &#8211; useful alternatives to the command line client.</p>
<p>While I&#8217;m very comfortable with the mysql command line client, I do switch to the GUI query browser to add/edit stored procedures/functions.</p>
<p>&#8220;yum install mysql-gui-tools&#8221; was the simplest command to install the GUI tools for MySQL in Fedora Linux. But in Fedora 13, this results in &#8220;No package  mysql-gui-tools available&#8221;.</p>
<p>So what happened here?</p>
<p><span id="more-1604"></span><strong> </strong></p>
<p><strong>Why Fedora 13 repositories don&#8217;t have mysql-gui-tools package ?<br />
</strong>The reason for this is explained in a bug report <a href="https://bugzilla.redhat.com/show_bug.cgi?id=573405" target="_blank">here</a>. In a nutshell, the explanation is, the MySQL GUI tools is purposely removed from the Fedora 13 repositories because they have been buggy! Fair enough &#8211; it has crashed on me many a times.</p>
<p>But what is the alternative? The thread in the bug report suggests that it will be replaced with <a href="http://wb.mysql.com/" target="_blank">MySQL Workbench</a>. That&#8217;s great! MySQL Workbench has <a href="http://www.mysql.com/products/workbench/features.html" target="_blank">many more features</a>. So now can I issue a &#8216;yum-install mysql-workbench&#8217; to have it installed on Fedora 13? The answer is no. This is because the bug report sums up with the following note:</p>
<pre>mysql-workbench has not finished its review yet.  this is due to the enormous
amount of work needed as the mysql team follows lots of bad practices.

Until we can cleanly and sanely package mysql-workbench there will be nothing
available on fedora. 

<span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: 19px; white-space: normal; font-size: 13px;">The above reply is dated June 17, 2010. A 'no release date' left me desperate to look around (google).</span></pre>
<p><strong>The solution</strong><br />
There is always a solution and Google leads us to it. In a nutshell, I installed MySQL Workbench  from the <a href="http://rpms.famillecollet.com/" target="_blank">Remi repository</a>. A quick install of MySQL Workbench, on Fedora 13, is as follows:</p>
<ul>
<li>Login as root</li>
<li>Open a terminal window in GNOME/KDE or switch to the command line</li>
<li>Issue the command:<em> </em>
<pre><em>rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi </em></pre>
<p><em> </em></li>
<li>Next, issue the command:<em> </em>
<pre><em>yum install http://rpms.famillecollet.com/remi-release-13.rpm</em></pre>
<p><em> </em></li>
<li>Open the file named remi.repo, found in the directory /etc/yum.repos.d, in a text editor (say vi) and change line no. 5 from:<br />
<em> enabled=0 to enabled=1</em><br />
<span style="font-style: normal;">This will enable the [remi] repository.</p>
<p></span></li>
<li>Finally issue:
<pre><em>yum install mysql-workbench</em></pre>
<p>to install MySQL Workbench on Fedora 13.</li>
</ul>
<p>Henceforth, MySQL Workbench can be launched via a terminal window by issuing <em>mysql-workbench</em> or it can be found under Applications &gt;Programming in GNOME.</p>
<img src="http://www.shekhargovindarajan.com/?ak_action=api_record_view&id=1604&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.shekhargovindarajan.com/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.shekhargovindarajan.com/open-source/mysql-gui-tools-query-browser-administrator-for-fedora-13/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Solved: &#8216;requires bundle org.eclipse.wst.xml.core&#8217; error, while installing Google Plugin in Fedora Eclipse</title>
		<link>http://www.shekhargovindarajan.com/tips-n-tricks/solved-requires-bundle-org-eclipse-wst-xml-core-error-while-installing-google-plugin-in-fedora-eclipse/?&amp;owa_from=feed&amp;owa_sid=&amp;utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=solved-requires-bundle-org-eclipse-wst-xml-core-error-while-installing-google-plugin-in-fedora-eclipse</link>
		<comments>http://www.shekhargovindarajan.com/tips-n-tricks/solved-requires-bundle-org-eclipse-wst-xml-core-error-while-installing-google-plugin-in-fedora-eclipse/#comments</comments>
		<pubDate>Sat, 12 Jun 2010 14:42:08 +0000</pubDate>
		<dc:creator>Shekhar</dc:creator>
				<category><![CDATA[Tips N Tricks]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Fedora 12]]></category>
		<category><![CDATA[Fedora 13]]></category>
		<category><![CDATA[Google App Engine]]></category>
		<category><![CDATA[google plugin]]></category>
		<category><![CDATA[google wave]]></category>
		<category><![CDATA[google web toolkit]]></category>

		<guid isPermaLink="false">http://www.shekhargovindarajan.com/?p=1585</guid>
		<description><![CDATA[The simplest way to get started with developing for Google App Engine, Google Web Toolkit and Google Wave is to use the Google Plugin for the Eclipse IDE. This plugin installs the SDK as well. Eclipse&#8217;s built-in wizard to add new software (plugin) makes it very easy to install the Google plugin. This wizard can [...]]]></description>
			<content:encoded><![CDATA[<p>The simplest way to get started with developing for Google App Engine, Google Web Toolkit and Google Wave is to use the <a href="http://code.google.com/eclipse/" target="_blank">Google Plugin</a> for the <a href="http://www.eclipse.org/" target="_blank">Eclipse</a> IDE. This plugin installs the SDK as well. Eclipse&#8217;s built-in wizard to add new software (plugin) makes it very easy to install the Google plugin. This wizard can be supplied with a URL (http://dl.google.com/eclipse/plugin/3.5 in this case) to a download site. Henceforth, Eclipse takes care of downloading and installing the plugin, along with associated dependencies, bundle or required software.</p>
<p>However, for me, installing the Google Plugin didn&#8217;t go as smooth as expected. I have been using <a href="http://fedoraproject.org/" target="_blank">Fedora</a> Linux on my laptop since the last 5+ years. Fedora ships with the Eclipse IDE. When I tried installing the Google Plugin in Fedora Eclipse, I faced the following error.<span id="more-1585"></span> This error surfaced with Eclipse 3.5 on Fedora 12 and Fedora 13.</p>
<pre>Cannot complete the install because one or more required items could not be found.

  Software being installed: Google Plugin for Eclipse 3.5 1.3.2.v201003242055
                                        (com.google.gdt.eclipse.suite.e35.feature.feature.group 1.3.2.v201003242055)

  Missing requirement: Google App Engine Plugin 1.3.2.v201003242055
                                   (com.google.appengine.eclipse.core 1.3.2.v201003242055)
                                   requires 'bundle org.eclipse.wst.xml.core 0.0.0' but it could not be found

  Cannot satisfy dependency:
              From: Google Plugin for Eclipse 3.5 1.3.2.v201003242055
              (com.google.gdt.eclipse.suite.e35.feature.feature.group 1.3.2.v201003242055)
              To: com.google.appengine.eclipse.core [1.3.2.v201003242055]</pre>
<p>Googling around gives numerous solutions &#8211; from using a third party repository (with a broken link <img src='http://www.shekhargovindarajan.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  ) to installing &#8220;Eclipse IDE for Java EE Developers&#8221; from www.eclipse.org. But the solution that worked for me was the simplest. Please note that this issue and the following solution could be specific to Eclipse on Fedora and Google Plugin.</p>
<p><strong>The Solution</strong><br />
Launch Eclipse. Click on Help&gt;Install New Software.  On the subsequent window titled “Available Software”, click on blue link &#8216;Available Software Sites&#8217;. Look for the URL http://download.eclipse.org/releases/galileo in the list of Software Sites. Select and click on Enable (button on the right). Click on OK.</p>
<div id="attachment_1594" class="wp-caption alignleft" style="width: 310px"><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2010/06/Enable-the-Galileo-software-site-before-installing-the-Google-Plugin.png"><img class="size-medium wp-image-1594" title="Enable the Galileo software site before installing the Google Plugin" src="http://www.shekhargovindarajan.com/wp-content/uploads/2010/06/Enable-the-Galileo-software-site-before-installing-the-Google-Plugin-300x222.png" alt="Enable the Galileo software site before installing the Google Plugin" width="300" height="222" /></a><p class="wp-caption-text">Enable the Galileo software site before installing the Google Plugin</p></div>
<p>Back on the “Available Software” window, type the URL  http://dl.google.com/eclipse/plugin/3.5  in the field labeled “Work with:” . Click on Add. This will show Plugin and SDKs in the bottom pane. Check the boxes against them and click on Next. Follow the onscreen instructions. This will install the Google plugin and SDK. When prompted, restart Eclipse.</p>
<p><strong>A few Troubleshooting Tips</strong><br />
On a freshly installed Eclipse, all software sites are disabled by default. This may not be true, if you have been updating or installing other plugins in Eclipse. I recall that, on Fedora 12, I faced the issue of numerous conflicts till I disabled all but the http://download.eclipse.org/releases/galileo site. Bottom line: before installing the Google Plugin, make sure that you only have the Galileo site enabled.</p>
<p>Second, this happened to me once that, even after following the above steps I got the same error. It seemed that Eclipse had problem in downloading the required software and ended up throwing the same error, instead of reporting a failed download. In this case, restart Eclipse, else you may keep getting the same error on retries. After restart, follow the steps mentioned in <strong>The Solution</strong> again.</p>
<img src="http://www.shekhargovindarajan.com/?ak_action=api_record_view&id=1585&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.shekhargovindarajan.com/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.shekhargovindarajan.com/tips-n-tricks/solved-requires-bundle-org-eclipse-wst-xml-core-error-while-installing-google-plugin-in-fedora-eclipse/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Solved: Garbled text in Putty</title>
		<link>http://www.shekhargovindarajan.com/tips-n-tricks/solved-garbled-text-in-putty/?&amp;owa_from=feed&amp;owa_sid=&amp;utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=solved-garbled-text-in-putty</link>
		<comments>http://www.shekhargovindarajan.com/tips-n-tricks/solved-garbled-text-in-putty/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 07:19:17 +0000</pubDate>
		<dc:creator>Shekhar</dc:creator>
				<category><![CDATA[Tips N Tricks]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[gallery link=]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Microsoft Windows]]></category>
		<category><![CDATA[ncurses]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[Secure Shell]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[utf8]]></category>

		<guid isPermaLink="false">http://www.shekhargovindarajan.com/?p=1426</guid>
		<description><![CDATA[Putty is a popular and free Linux terminal/shell client for Windows. It allows one to connect to a Linux server using SSH (Secure Shell) or Telnet. I have been using it for as long as I can recall. But this issue of garbled text in Putty is what I have been ignoring, until yesterday.
Yesterday, I had setup Paradox database [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/" target="_blank">Putty</a> is a popular and free Linux terminal/shell client for Windows. It allows one to connect to a Linux server using SSH (Secure Shell) or Telnet. I have been using it for as long as I can recall. But this issue of garbled text in Putty is what I have been ignoring, until yesterday.</p>
<p>Yesterday, I had setup <a href="http://en.wikipedia.org/wiki/Paradox_(database)" target="_blank">Paradox</a> database using <a href="http://www.dosemu.org/" target="_blank">DOSEMU</a> on Linux, for a client. On Putty, the Paradox interface showed garbled making it unusable for the client. My instant suspect was DOSEMU. A quick check revealed that it&#8217;s happening with other apps too - those with a <a href="http://en.wikipedia.org/wiki/Ncurses" target="_blank">ncurses</a> or text based user interface.<span id="more-1426"></span>For example: The garbled text, around the borders of UI elements, showed in ntsysv (as shown in the screenshots). ntsysv is a nifty console app, found in RedHat/CentOS/Fedora Linux, to start services during boot up.
<a href='http://www.shekhargovindarajan.com/tips-n-tricks/solved-garbled-text-in-putty/attachment/before-ntsysv-showing-garbled-text-in-putty/' title='Before - ntsysv showing garbled text in Putty'><img width="150" height="150" src="http://www.shekhargovindarajan.com/wp-content/uploads/2010/03/Before-ntsysv-showing-garbled-text-in-Putty-150x150.png" class="attachment-thumbnail" alt="Before - ntsysv showing garbled text in Putty" title="Before - ntsysv showing garbled text in Putty" /></a>
<a href='http://www.shekhargovindarajan.com/tips-n-tricks/solved-garbled-text-in-putty/attachment/putty-settings-to-fix-garbled-text/' title='Putty settings to fix garbled text'><img width="150" height="150" src="http://www.shekhargovindarajan.com/wp-content/uploads/2010/03/Putty-settings-to-fix-garbled-text-150x150.png" class="attachment-thumbnail" alt="Putty settings to fix garbled text" title="Putty settings to fix garbled text" /></a>
<a href='http://www.shekhargovindarajan.com/tips-n-tricks/solved-garbled-text-in-putty/attachment/after-ntsysv-after-the-change-in-settings-in-putty/' title='After - ntsysv after the change in settings in Putty'><img width="150" height="150" src="http://www.shekhargovindarajan.com/wp-content/uploads/2010/03/After-ntsysv-after-the-change-in-settings-in-Putty-150x150.png" class="attachment-thumbnail" alt="After - ntsysv after the change in settings in Putty" title="After - ntsysv after the change in settings in Putty" /></a>
</p>
<p><strong>The Solution<br />
</strong>Launch Putty. On the Category pane (on the left), click on Windows&gt;Translation. For the dropdown labeled &#8220;Received data assumed to be in which character set&#8221;, select UTF-8. To save this setting, click on Sessions (in the Category pane). On the right pane, select &#8220;Default Settings&#8221; and click on the button labeled Save. This is what worked for me with Putty version 0.60.</p>
<img src="http://www.shekhargovindarajan.com/?ak_action=api_record_view&id=1426&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.shekhargovindarajan.com/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.shekhargovindarajan.com/tips-n-tricks/solved-garbled-text-in-putty/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Drupal 6: Different Page Templates for different Content Types</title>
		<link>http://www.shekhargovindarajan.com/tips-n-tricks/drupal-6-different-page-templates-for-different-content-types/?&amp;owa_from=feed&amp;owa_sid=&amp;utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=drupal-6-different-page-templates-for-different-content-types</link>
		<comments>http://www.shekhargovindarajan.com/tips-n-tricks/drupal-6-different-page-templates-for-different-content-types/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 18:00:39 +0000</pubDate>
		<dc:creator>Shekhar</dc:creator>
				<category><![CDATA[Tips N Tricks]]></category>
		<category><![CDATA[Administrator]]></category>
		<category><![CDATA[content type]]></category>
		<category><![CDATA[designer]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[drupal 6]]></category>
		<category><![CDATA[page template]]></category>
		<category><![CDATA[page.tpl.php]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.shekhargovindarajan.com/?p=1412</guid>
		<description><![CDATA[Given the flexibility of Drupal, a different page template depending on the Content Type is not very demanding. The good news is, it is very much possible. The bad news is you may have to struggle like me to find the simplest, neatest and working method to achieve it.
Reading the documentation and Googling would result [...]]]></description>
			<content:encoded><![CDATA[<p>Given the flexibility of Drupal, a different page template depending on the Content Type is not very demanding. The good news is, it is very much possible. The bad news is you may have to struggle like me to find the simplest, neatest and working method to achieve it.</p>
<p>Reading the documentation and Googling would result in many methods &#8211; some are confusing, some are not so neat and others apply to earlier versions of Drupal. Following is my favourite method to setup different page templates, depending on the Content Type, in Drupal 6.<span id="more-1412"></span></p>
<p><strong>What is a Page Template<br />
</strong>This is the template which contains a Node. This must not be mistaken with the node template, for example, a Story node which displays the title, teaser, images, comment form and et al. In Drupal, the default page template is written in the file named page.tpl.php (and the node template is in node.tpl.php).</p>
<p>It is the page template with which you can display three columns for certain content types and two columns for others. It is the page template using which you can dictate the column which will show a Story, a Blog entry, a Forum topic or a <a href="http://drupal.org/project/webform" target="_blank">Webform</a>. This template is where you insert the Regions for Blocks and Views.</p>
<p><strong>A Neat Solution</strong><br />
Append or write the following code in a file named template.php in your theme&#8217;s directory:</p>
<pre>&lt;?php
function &lt;theme-name&gt;_preprocess_page(&amp; $vars) {
	if (isset ($vars['node']) &amp;&amp; $vars['node']-&gt;type == "blog") {
		$vars['template_files'] = array();
		$vars['template_files'][] = 'page-blog';
	}

	if (isset ($vars['node']) &amp;&amp; $vars['node']-&gt;type == "forum") {
		$vars['template_files'] = array();
		$vars['template_files'][] = 'page-forum';
	}

	if (isset ($vars['node']) &amp;&amp; $vars['node']-&gt;type == "webform") {
		$vars['template_files'] = array();
		$vars['template_files'][] = 'page-webform';
	}
}
?&gt;
</pre>
<p>In the above code replace &lt;theme-name&gt;, in the name of the function, with the name of your Theme&#8217;s directory. For example, suppose the name of your Theme&#8217;s directory is &#8220;blue&#8221;, then:</p>
<pre>function blue_preprocess_page(&amp; $vars)</pre>
<p>Now all you need to do is what you are most creative at. Write the templates for each content type. Drop files in your theme&#8217;s directory named page-blog.tpl.php, page-forum.tpl.php and page-webform.tpl.php for the Blog entry, Form topic and Webform  respectively. Feel free to set different page layouts and Regions in these files. Note that any Content Type which is not specified in the above code will use page.tpl.php &#8211; the default page template. For example, in this case, the Story content type will use page.tpl.php.</p>
<p><strong>Important: </strong>Log into Drupal as admin and goto Administrator&gt;Site configuration&gt;Performance and click on the button &#8220;Clear cached data&#8221; (at the bottom).</p>
<p>I prefer this solution because the template selection logic goes separated into a different file, leaving the Page templates friendly for a designer. Plus, template.php is the logical place to add overrides or specific behaviour. Most likely a seasoned Drupal developer will first look into this file for customizations.</p>
<p>Created or added a new content type? All you need is to add another IF block in the above code and drop a new page template. Before concluding that it is not working for you, do remember to clear the cache.</p>
<img src="http://www.shekhargovindarajan.com/?ak_action=api_record_view&id=1412&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.shekhargovindarajan.com/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.shekhargovindarajan.com/tips-n-tricks/drupal-6-different-page-templates-for-different-content-types/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>E-mail notification for new or updated Google Wave</title>
		<link>http://www.shekhargovindarajan.com/google/e-mail-notification-for-new-or-updated-google-wave/?&amp;owa_from=feed&amp;owa_sid=&amp;utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=e-mail-notification-for-new-or-updated-google-wave</link>
		<comments>http://www.shekhargovindarajan.com/google/e-mail-notification-for-new-or-updated-google-wave/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 02:28:41 +0000</pubDate>
		<dc:creator>Shekhar</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[e-mail notification]]></category>
		<category><![CDATA[google wave]]></category>
		<category><![CDATA[notification]]></category>
		<category><![CDATA[PCQuest]]></category>
		<category><![CDATA[robot]]></category>
		<category><![CDATA[web browser]]></category>

		<guid isPermaLink="false">http://www.shekhargovindarajan.com/?p=1385</guid>
		<description><![CDATA[A few days back, this feature was introduced in Google Wave. This new feature allows you to setup E-mail notifications for new Waves and updated Waves i.e. new and updated Blips or messages in a Wave.
To enable E-mail notifications, login into Google Wave. Move your mouse over Inbox (on the left). Click on the Arrow [...]]]></description>
			<content:encoded><![CDATA[<p>A few days back, this feature was <a href="http://googlewave.blogspot.com/2010/03/help-test-email-notifications.html" target="_blank">introduced</a> in Google Wave. This new feature allows you to setup E-mail notifications for new Waves and updated Waves i.e. new and updated Blips or messages in a Wave.</p>
<p>To enable E-mail notifications, login into <a href="https://wave.google.com/" target="_blank">Google Wave</a>. Move your mouse over Inbox (on the left). Click on the Arrow (pointing downwards) and select Notifications.<span id="more-1385"></span></p>
<div id="attachment_1386" class="wp-caption alignleft" style="width: 310px"><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2010/03/Google-Wave-E-mail-Notifications-Feature.png"><img class="size-medium wp-image-1386 " title="Google Wave: E-mail Notification Feature" src="http://www.shekhargovindarajan.com/wp-content/uploads/2010/03/Google-Wave-E-mail-Notifications-Feature-300x256.png" alt="Google Wave: E-mail Notification Feature" width="300" height="256" /></a><p class="wp-caption-text">Google Wave: E-mail Notification Feature</p></div>
<p>You can opt to get notified about new and updated Waves immediately (as it happens), hourly or weekly. The notifications are sent to the E-mail address associated with your Google Wave. This will be the GMail or Google Apps (in my case) E-mail address at which you got the Google Wave invite.</p>
<p>I tested it with &#8220;immediately&#8221; option and found that Google Wave sends an E-mail when</p>
<ul>
<li>A new Wave is created and you are added as a participant</li>
<li>A new Blip (message) is created in a Wave in which you are a participant</li>
<li>When an existing Blip is updated in the Wave in which you are participating</li>
</ul>
<p>Google Wave will not send a notification when:</p>
<ul>
<li>It has already sent you notification for a new or updated Wave. It will not send any further notification for any update in that particular Wave, till you log into Google Wave and click on the new or updated Wave.</li>
</ul>
<p><strong> </strong></p>
<div id="attachment_1399" class="wp-caption alignleft" style="width: 310px"><strong><strong><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2010/03/E-mail-Notification-sent-by-Google-Wave.png"><img class="size-medium wp-image-1399" title="A new Wave E-mail Notification sent by Google Wave" src="http://www.shekhargovindarajan.com/wp-content/uploads/2010/03/E-mail-Notification-sent-by-Google-Wave-300x174.png" alt="A new Wave E-mail Notification sent by Google Wave" width="300" height="174" /></a></strong></strong><p class="wp-caption-text">A new Wave E-mail Notification sent by Google Wave</p></div>
<p><strong>Issues/Bugs:</strong></p>
<ul>
<li>The notifications are sent even when you are using Google Wave &#8211; logged into it and seeing the Waves. Why a notification when I can see a new Wave(s) being created and updated in front of me ? So what if I choose to click on them after sometime. Ideally the notifications should be sent after I have closed the Google Wave window on my Web Browser. I said &#8220;closed&#8221; and not logged out because logging out of Google Wave may mean to log out from other Google apps too.</li>
<li>The &#8220;Immediately&#8221; notification is not so immediate. Few notifications were delayed by as long as 14 minutes! Though at times I have received the notification within a minute. This does not fit well with a real time app like Google Wave. Immediate notifications must be &#8220;immediate&#8221;, as it happens and within seconds.</li>
<li>The notification settings link in the E-mail (notification) just opens Google Wave and does not show the Window or popup to change the settings. Note that this bug is a known issue as per the <a href="http://googlewave.blogspot.com/2010/03/help-test-email-notifications.html" target="_blank">Google Wave blog</a>.</li>
</ul>
<p><strong>Good to have in the next version:</strong></p>
<ol>
<li>There should be a provision to send notifications to any E-mail address and not only to the associated Gmail or Google Apps E-mail address.</li>
<li>The notification settings, besides being system wide and applicable to all Waves, should be present for individual Waves too. The notification settings for individual Waves should override the system wide settings. This way one can subscribe to notifications only for the Wave in which he/she is interested.</li>
<li>If point 2 is implemented, there should be an exclusive option to get notified about New Waves created by others &#8211; where you are added as a participant.</li>
</ol>
<p>I was wanting this feature so much that last year I wrote a Robot for my own use (with a hard coded E-mail address) to send me notifications for updates in Waves. I add this Robot to the Waves of my interest. I even wrote <a href="http://pcquest.ciol.com/content/search/showarticle.asp?arid=11694" target="_blank">an article</a> in PCQuest magazine about this Robot. For those who are interested in the code, refer to <a href="http://forums.pcquest.com/forum/viewtopic.php?f=16&amp;t=7027" target="_blank">this link</a> at the PCQuest forums to download the article with the code intact. If Google Wave could bring the Notification settings to individual Waves, I would no longer need to use my Robot.</p>
<img src="http://www.shekhargovindarajan.com/?ak_action=api_record_view&id=1385&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.shekhargovindarajan.com/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.shekhargovindarajan.com/google/e-mail-notification-for-new-or-updated-google-wave/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Tag Reader for Android</title>
		<link>http://www.shekhargovindarajan.com/microsoft/microsoft-tag-reader-for-android/?&amp;owa_from=feed&amp;owa_sid=&amp;utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=microsoft-tag-reader-for-android</link>
		<comments>http://www.shekhargovindarajan.com/microsoft/microsoft-tag-reader-for-android/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 15:12:42 +0000</pubDate>
		<dc:creator>Shekhar</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[adp1]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[android market]]></category>
		<category><![CDATA[gallery link=]]></category>
		<category><![CDATA[microsoft tag]]></category>
		<category><![CDATA[microsoft tag reader]]></category>
		<category><![CDATA[New Delhi]]></category>
		<category><![CDATA[store IM Address]]></category>
		<category><![CDATA[tag]]></category>
		<category><![CDATA[vcard]]></category>
		<category><![CDATA[web browser]]></category>

		<guid isPermaLink="false">http://www.shekhargovindarajan.com/?p=1371</guid>
		<description><![CDATA[What is Microsoft Tag? In simple words, Microsoft Tag allows you to store information in images (Tags). More on Microsoft Tag can be found here. My excitement about Microsoft Tag is, the Tag Reader app is now available for Android phones.  
I own an Android Dev Phone 1 (a.k.a. ADP1). It was just today that Microsoft Tag Reader [...]]]></description>
			<content:encoded><![CDATA[<p>What is Microsoft Tag? In simple words, Microsoft Tag allows you to store information in images (Tags). More on Microsoft Tag can be found <a href="http://www.microsoft.com/tag/" target="_blank">here</a>. My excitement about Microsoft Tag is, the Tag Reader app is now available for Android phones.  </p>
<p>I own an Android Dev Phone 1 (a.k.a. ADP1). It was just today that Microsoft Tag Reader app for Android was announced. The Tag Reader app allows to scan, extract and store information in Microsoft Tags using the phone&#8217;s camera. <span id="more-1371"></span></p>
<p>I wasted no time in firing up Android Market on my ADP1 and searched for &#8220;microsoft&#8221;. And voila Microsoft Tag Reader showed up on the top, in the list of apps. Installed it. Alternatively, one can browse to the URL  <a href="http://gettag.mobi">http://gettag.mobi</a> using the Android&#8217;s web browser. This will automatically launch the Android Markert app, prompting to install Microsoft Tag Reader.</p>
<p>To see the app in action, you will need to have a Microsoft Tag handy. One of the quickest way is to create your own at <a href="http://www.microsoft.com/tag/">http://www.microsoft.com/tag/</a>. The different types of information that one can store in a Tag are URL, Free Text, vCard and Dialer. The Microsoft Tag Reader is well integrated with Android and invokes the appropriate actions for each of these types like - launching the web browser with the URL, displaying the text, storing the vCard into Android&#8217;s Contacts and launching the Dialer with the number.
<a href='http://www.shekhargovindarajan.com/microsoft/microsoft-tag-reader-for-android/attachment/microsoft-tag-reader-app-for-android-prompts-for-password-for-password-protected-tags/' title='Microsoft Tag Reader app for Android prompts for password for password-protected Tags'><img width="150" height="150" src="http://www.shekhargovindarajan.com/wp-content/uploads/2010/03/Microsoft-Tag-Reader-app-for-Android-prompts-for-password-for-password-protected-Tags-150x150.png" class="attachment-thumbnail" alt="Microsoft Tag Reader app for Android prompts for password for password-protected Tags" title="Microsoft Tag Reader app for Android prompts for password for password-protected Tags" /></a>
<a href='http://www.shekhargovindarajan.com/microsoft/microsoft-tag-reader-for-android/attachment/microsoft-tag-reader-app-for-android-stores-the-scanned-tags-for-later-use-in-the-history/' title='Microsoft Tag Reader app for Android stores the scanned Tags for later use in the History'><img width="150" height="150" src="http://www.shekhargovindarajan.com/wp-content/uploads/2010/03/Microsoft-Tag-Reader-app-for-Android-stores-the-scanned-Tags-for-later-use-in-the-History-150x150.png" class="attachment-thumbnail" alt="Microsoft Tag Reader app for Android stores the scanned Tags for later use in the History" title="Microsoft Tag Reader app for Android stores the scanned Tags for later use in the History" /></a>
</p>
<p><strong>Pros</strong></p>
<ul>
<li>Instant and fast scanning</li>
<li>Integrated with Android apps like Web browser, Contacts and Dialer</li>
</ul>
<p>Whilst there are some cons too</p>
<p><strong>Cons</strong></p>
<ul>
<li>VCard: Does not store IM Address in Contact&#8217;s Chat addresses.</li>
<li>VCard: This seems to be a bug. In case of commas (,) in the address or any other fields, the Tag Reader prefixes a backslash (\) to each comma. For example: an address like &#8220;124-A, New Delhi&#8221; is stored as &#8220;124-A\, New Delhi&#8221; in the Android&#8217;s Contacts </li>
<li>The app displays the text for Free Text but does not allow to copy (for copy-n-paste) &#8211; a good to have feature.</li>
</ul>
<p>Cons aside (its likely that these will be fixed in the next version), the noteworthy point is Micrsoft Tag Reader is the first ever Android app from Microsoft!</p>
<img src="http://www.shekhargovindarajan.com/?ak_action=api_record_view&id=1371&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.shekhargovindarajan.com/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.shekhargovindarajan.com/microsoft/microsoft-tag-reader-for-android/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Android: How to change the Google Account without a hard reset</title>
		<link>http://www.shekhargovindarajan.com/google/android-how-to-change-the-google-account-without-a-hard-reset/?&amp;owa_from=feed&amp;owa_sid=&amp;utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=android-how-to-change-the-google-account-without-a-hard-reset</link>
		<comments>http://www.shekhargovindarajan.com/google/android-how-to-change-the-google-account-without-a-hard-reset/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 20:08:42 +0000</pubDate>
		<dc:creator>Shekhar</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[adp1]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[cyanogenmod]]></category>
		<category><![CDATA[found solutions]]></category>
		<category><![CDATA[google account]]></category>
		<category><![CDATA[google buzz]]></category>
		<category><![CDATA[hard reset]]></category>
		<category><![CDATA[search button]]></category>
		<category><![CDATA[search keyword]]></category>

		<guid isPermaLink="false">http://www.shekhargovindarajan.com/?p=1298</guid>
		<description><![CDATA[I own an Android Dev Phone 1, also called ADP1. The phone prompted to setup a Google Account as the very first step, before I can start using it. For the Google Account, I used my credentials for Google Apps Standard Edition , though I also have a regular GMail account.
I supply my Google Apps [...]]]></description>
			<content:encoded><![CDATA[<p>I own an Android Dev Phone 1, also called ADP1. The phone prompted to setup a Google Account as the very first step, before I can start using it. For the Google Account, I used my credentials for <a href="http://www.google.com/apps/intl/en/group/index.html" target="_blank">Google Apps Standard Edition </a>, though I also have a regular GMail account.</p>
<p>I supply my Google Apps credentials each time I wipe off (hard reset) the phone. Though optional, I wipe off the phone&#8217;s data whenever I update my phone with a new ROM. Following the <a href="http://developer.htc.com/adp.html" target="_blank">official</a> and <a href="http://www.cyanogenmod.com/" target="_blank">non official</a> upgrades, I&#8217;m currently running CyanogenMod 4.2.14.1 on my ADP1.</p>
<p>Then came a day when I did not want to wipe off the data but only wanted to change the Google Account associated with the phone.<span id="more-1298"></span>This was the day when I wanted to play with <a href="http://www.google.com/buzz" target="_blank">Google Buzz</a> which requires a GMail or non Google Apps account. I googled around and found solutions suggesting:</p>
<ul>
<li>Clear data for Gmail and Gmail storage under Manage Applications</li>
<li>Clear data for Google Apps and you will see a message in the Android&#8217;s notification bar to setup a new Google account.</li>
</ul>
<p>None of these worked for me. What worked for me is as follows:</p>
<ul>
<li>Goto Home (by clicking on the Home hardware button).</li>
<li>Click on Menu (hardware button)</li>
<li>Click/touch on Settings&gt;Applications&gt;Manage Applications.</li>
<li>Click on Google Apps.</li>
<li>Click on the button labelled &#8220;Clear data&#8221;</li>
<li>When prompted with &#8220;All information you&#8217;ve saved in this application will be deleted permanently&#8221;, click on OK</li>
<li>Subsequently, click on back button thrice and then click on &#8220;Data synchronization&#8221;. Alternatively, click on Home&gt;Menu&gt;Settings&gt;Data synchronizaion.</li>
<li>This will start the wizard which will prompt for a new Google account. This wizard is the same that you would have seen when you first (after you bought it) powered on the phone or whenever you wipe off the phone&#8217;s data.</li>
</ul>
<p>This is what helped me in testing out <a href="http://www.shekhargovindarajan.com/google/google-buzz-on-maps-in-android/" target="_blank">Google Buzz on Google Maps on my Android phone</a>. In your case, this may simply help you in changing the Google Account without hard resetting your Android.</p>
<p><strong>Update (February 14, 2009)﻿:</strong> After following the above procedure, I noticed that though my E-mails were syncing, I could not search my E-mails. Whenever I typed in a search keyword in the GMail app and clicked on the search button, I saw a message saying something as &#8220;E-mails will sync shortly&#8221;. This can be fixed as follows. Goto Settings&gt;Applications&gt;Manage Applications&gt;Gmail. Click on &#8220;Clear data&#8221; button.</p>
<img src="http://www.shekhargovindarajan.com/?ak_action=api_record_view&id=1298&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.shekhargovindarajan.com/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.shekhargovindarajan.com/google/android-how-to-change-the-google-account-without-a-hard-reset/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Google Buzz on maps in Android</title>
		<link>http://www.shekhargovindarajan.com/google/google-buzz-on-maps-in-android/?&amp;owa_from=feed&amp;owa_sid=&amp;utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=google-buzz-on-maps-in-android</link>
		<comments>http://www.shekhargovindarajan.com/google/google-buzz-on-maps-in-android/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 15:30:34 +0000</pubDate>
		<dc:creator>Shekhar</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[adp1]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[android dev phone 1]]></category>
		<category><![CDATA[buzz]]></category>
		<category><![CDATA[caching]]></category>
		<category><![CDATA[Gmail]]></category>
		<category><![CDATA[google apps]]></category>
		<category><![CDATA[google maps]]></category>
		<category><![CDATA[google maps 4.0.0]]></category>
		<category><![CDATA[GPS]]></category>
		<category><![CDATA[mobile phones]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[Nokia phones]]></category>
		<category><![CDATA[windows mobile]]></category>

		<guid isPermaLink="false">http://www.shekhargovindarajan.com/?p=1270</guid>
		<description><![CDATA[It was the morning of 10th February, when I got to know that Google Buzz is rolling out to users. Was disappointed to not to spot it in my Google Apps (Standard) and in my GMail. Learnt that Google Buzz also works on Google Maps on mobile phones.
I guessed that it would require a Google [...]]]></description>
			<content:encoded><![CDATA[<p>It was the morning of 10th February, when I got to know that <a href="http://gmailblog.blogspot.com/2010/02/google-buzz-in-gmail.html" target="_blank">Google Buzz is rolling out to users</a>. Was disappointed to not to spot it in my Google Apps (Standard) and in my GMail. Learnt that Google Buzz also works on Google Maps on mobile phones.</p>
<p>I guessed that it would require a Google Maps upgrade on the phone. Instantly fired Android Market on my Android Dev Phone 1 (a.k.a. ADP1), clicked on the Downloads tab and was greeted by an available upgrade to Google Maps &#8211; Google Maps version 4.0.0. Opted to install the upgrade hoping to spot the Buzz on the maps but alas &#8211; it wasn&#8217;t a smooth sail.<span id="more-1270"></span> After the upgrade, I fired the Google Maps app on my ADP1. clicked on Menu&gt;Layers&gt;Buzz and spotted a new icon <a href="http://www.shekhargovindarajan.com/wp-content/uploads/2010/02/google-buzz-icon1.png"><img class="alignnone size-full wp-image-1273" title="google-buzz-icon" src="http://www.shekhargovindarajan.com/wp-content/uploads/2010/02/google-buzz-icon1.png" alt="Google Buzz Icon" width="22" height="20" /></a> on the maps. Clicking on the icon showed me a screen where I could post a new Buzz (a message).</p>
<div id="attachment_1274" class="wp-caption alignleft" style="width: 210px"><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2010/02/Post-a-Google-Buzz-using-Maps-on-Android.png"><img class="size-medium wp-image-1274" title="Post a Google Buzz using Maps on Android" src="http://www.shekhargovindarajan.com/wp-content/uploads/2010/02/Post-a-Google-Buzz-using-Maps-on-Android-200x300.png" alt="Post a Google Buzz using Maps on Android" width="200" height="300" /></a><p class="wp-caption-text">Post a Google Buzz using Maps on Android</p></div>
<p>Along with typing a text message, this screen also allowed me to upload a new photo that I could click via the phone&#8217;s camera or select an existing picture from the Android phone&#8217;s Gallery. Once I posted a Buzz, I could see a new speech bubble on the map at my current location &#8211; determined via GPS or Cell location (without GPS).  Over time, I realized, I could see only my Buzzes. Was no one else buzzing?</p>
<p><strong>Buzz is not for Google Apps</strong><br />
Later during the day, I realized that my friends, using their GMail account, could see other&#8217;s Buzzes on their Nokia phones. Also they could not see my Buzzes.</p>
<p>I instantly suspected that it could be all because of using a <a href="http://www.google.com/apps/intl/en/group/index.html" target="_blank">Google Apps</a> (not GMail) credentials on my Android phone. My Android phone is tied up with a Google Apps Standard Edition account which is not a regular GMail/Google account. That&#8217;s when I got onto the Net and  <a href="http://googleenterprise.blogspot.com/2010/02/google-buzz-coming-soon-for-businesses.html" target="_blank">this blog post</a> confirmed my suspicion. But the confusion remained for a while. How could I post a Buzz (as said above) but not see other&#8217;s Buzzes?</p>
<p>So I spent the remaining day (of 10th February) and 11th February ensuring that Google Buzz indeed does not work with an Android using Google Apps account. I changed my ADP1&#8217;s Google account from Apps to a regular GMail account as explained in this blog post &#8211; <a href="http://www.shekhargovindarajan.com/google/android-how-to-change-the-google-account-without-a-hard-reset/" target="_blank">Android: How to change the Google Account without a hard reset</a>. Subsequently,  I changed it back from GMail to Apps. Kept flipping the accounts several times. Witnessed a few erratic and confusing behaviour &#8211; call it caching. Eventually, I concluded the following:</p>
<ul>
<li>Google Buzz on maps in Android works with a regular GMail account and not with a Google Apps account.</li>
<li>If you are switching from a Google Apps account to a GMail account on Android after installing Google Maps 4.0, refer to the following:
<ol>
<li>Launch Android Market</li>
<li>Click on the Downloads tab</li>
<li>Select Google Maps</li>
<li>Click on the button &#8220;Uninstall updates&#8221;. This will downgrade Google Maps.</li>
<li>Subsequently, reinstall/update to Google Maps 4.0.0</li>
<li>Now, launch Google Maps and click on Menu&gt;Layers&gt;Buzz</li>
<li>And voila, you should be able to see what others are Buzzing on the map.
<div id="attachment_1276" class="wp-caption alignleft" style="width: 310px"><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2010/02/Google-Buzz-on-Maps-on-Android1.png"><img class="size-medium wp-image-1276 " title="Google Buzz on Maps in Android on February 10" src="http://www.shekhargovindarajan.com/wp-content/uploads/2010/02/Google-Buzz-on-Maps-on-Android1-300x200.png" alt="Google Buzz on Maps on Android" width="300" height="200" /></a><p class="wp-caption-text">Google Buzz on Maps in Android on February 10</p></div></li>
</ol>
</li>
<li>Buzz should work, if you have switched from a Google Apps account to a GMail account before installing Google Maps 4.0.0</li>
</ul>
<p><strong> </strong></p>
<p><div id="attachment_1282" class="wp-caption alignleft" style="width: 210px"><strong><strong><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2010/02/Clicking_on_the_bubble_shows_the_Buzz_along_with_photos.png"><img class="size-medium wp-image-1282" title="Clicking on a bubble shows the Buzz with Photo (if any)" src="http://www.shekhargovindarajan.com/wp-content/uploads/2010/02/Clicking_on_the_bubble_shows_the_Buzz_along_with_photos-200x300.png" alt="Clicking on a bubble shows the Buzz with Photo (if any)" width="200" height="300" /></a></strong></strong><p class="wp-caption-text">Clicking on a bubble shows the Buzz with Photo (if any)</p></div>
<p><strong>A few other observations and notes:</strong></p>
<ul>
<li>Buzz on Google Maps for Mobile has no privacy settings. All your Buzzes along with photos will be visible to everyone.</li>
<li>As per my friends, Google Buzz seem to work equally well on Google Maps in Nokia and Windows Mobile. Nokia and Windows mobile users can goto http://m.google.com/maps to install/upgrade Google Maps to version 4.0.0.</li>
<li>As reported by friends using Nokia, the Buzzes may disappear at times. In this case, removing and adding the Buzz layer on Google Maps will show the Buzzes again.</li>
<li>Seems that the &#8220;speech bubbles&#8221; for Buzzes, older than a day, disappear from the map.
<p><div id="attachment_1283" class="wp-caption alignleft" style="width: 210px"><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2010/02/A_list_of_all_the_Buzzes_at_a_location.png"><img class="size-medium wp-image-1283" title="A list of all the Buzz at a location, along with comments" src="http://www.shekhargovindarajan.com/wp-content/uploads/2010/02/A_list_of_all_the_Buzzes_at_a_location-200x300.png" alt="A list of all the Buzz at a location, along with comments" width="200" height="300" /></a><p class="wp-caption-text">A list of all the Buzz at a location, along with comments</p></div></li>
</ul>
<p>While I have been playing with Buzz on my Android for the last two days, I may soon switch back to my Google Apps account. I can&#8217;t sacrifice my official E-mails on Android for the Buzz. Hope, Google Buzz for Google Apps is released soon. In the meanwhile I will play with <a href="http://twitter.com/shekharg/status/8909977586" target="_blank">Google Buzz on my Gmail account</a></p>
<img src="http://www.shekhargovindarajan.com/?ak_action=api_record_view&id=1270&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.shekhargovindarajan.com/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.shekhargovindarajan.com/google/google-buzz-on-maps-in-android/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
