<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Shantanu's Technophilic Musings</title>
	
	<link>http://tech.shantanugoel.com</link>
	<description>Shantanu's Gadgets, Gizmos, Hacks, Tips, Tricks, Technology...and your kitchen sink</description>
	<lastBuildDate>Fri, 30 Jul 2010 09:35:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/techShantanu" /><feedburner:info uri="techshantanu" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.0/</creativeCommons:license><feedburner:emailServiceId>techShantanu</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2FtechShantanu" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FtechShantanu" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2FtechShantanu" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/techShantanu" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FtechShantanu" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FtechShantanu" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FtechShantanu" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:browserFriendly>If you like my writings, please subscribe to the feed.</feedburner:browserFriendly><item>
		<title>Camera LED As Flashlight on Non-Rooted Android Phones</title>
		<link>http://feedproxy.google.com/~r/techShantanu/~3/MQFYYi74C3w/camera-led-flashlight-non-rooted-android-phones.html</link>
		<comments>http://tech.shantanugoel.com/2010/07/30/camera-led-flashlight-non-rooted-android-phones.html#comments</comments>
		<pubDate>Fri, 30 Jul 2010 09:31:08 +0000</pubDate>
		<dc:creator>Shantanu Goel</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[android apps]]></category>
		<category><![CDATA[android led flashlight without rooting]]></category>
		<category><![CDATA[camera led flashlight non-rooted android]]></category>
		<category><![CDATA[nexus one]]></category>
		<category><![CDATA[nexus one flashlight]]></category>
		<category><![CDATA[nexus one flashlight without rooting]]></category>
		<category><![CDATA[quick settings android]]></category>

		<guid isPermaLink="false">http://tech.shantanugoel.com/?p=292</guid>
		<description><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ -->We all know that Android does not allow the camera LED to be controlled directly from apps and hence, you cannot use the camera LED as a Torch or Flashlight unless you are rooted. There are many flashlight apps on the Android Market Place but none of them will work for you if you don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p style='border:thin dotted black; padding:3mm;background-color:#fff0f5;'><strong><a href="http://blog.shantanugoel.com">Blog </a>| <a href="http://tech.shantanugoel.com">Tech Blog</a> |  <a href="http://www.safercode.com/blog/">Secure Coding</a> | <a href="http://twitter.com/shantanugoel" rel="nofollow">Twitter</a> | <a href="http://feedproxy.google.com/techShantanu" rel="alternate" type="application/rss+xml">RSS Feed</a> | <a href="http://feedburner.google.com/fb/a/mailverify?uri=techShantanu" rel="nofollow" target="_blank">Get Email Updates</a></strong></p>
<p>We all know that Android does not allow the camera LED to be controlled directly from apps and hence, you cannot use the camera LED as a Torch or Flashlight unless you are rooted. There are many flashlight apps on the Android Market Place but none of them will work for you if you don&#8217;t have a rooted phone. BUT this changed recently. I use a brilliant app called &#8220;quick settings&#8221; which keeps an icon in the notification bar and I can pull it down and change any settings without leaving other apps. It has a flashlight function but so far it used to work by turning on the screen with a white screen, which was a less than ideal solution. I upgraded to the latest version a few days ago (1.9.4 p1). While messing around with the settings, I wandered across the flashlight settings which allows you to choose what kind of flashlight you want. Now, I&#8217;m not sure whether this setting was present earlier or not but I decided to give it a try and chose LED instead of screen (Screenshot below):<br />
<a href="http://tech.shantanugoel.com/uploads/quick-settings-flash-android-settings.png"><img src="http://tech.shantanugoel.com/uploads/quick-settings-flash-android-settings-thumb.png" alt="Android Quick Settings Flashlight LED Settings" title="Android Quick Settings Flashlight LED Settings" /></a></p>
<p>Once done, I went back to the main screen and pressed the flashlight icon in the top right (Screen shot below) and voila! my camera LED switched on. I&#8217;m a happy camper now as this is a life saver many times. Try this out for yourself by searching for &#8220;Quick Settings&#8221; in the market and let me know if it works on your phone too (mine is a nexus one).</p>
<p><a href="http://tech.shantanugoel.com/uploads/quick-settings-flash-android-main-screen.png"><img src="http://tech.shantanugoel.com/uploads/quick-settings-flash-android-main-screen-thumb.png" alt="Android Quick Settings" title="Android Quick Settings" /></a><!--test-->
<p style='border:thin dotted black; padding:3mm;background-color:#fff0f5;'><a href="http://tech.shantanugoel.com/terms-of-use">©</a> <a href="http://tech.shantanugoel.com/">Shantanu Goel</a> | <a href="http://tech.shantanugoel.com/2010/07/30/camera-led-flashlight-non-rooted-android-phones.html">Camera LED As Flashlight on Non-Rooted Android Phones</a></p>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F30%2Fcamera-led-flashlight-non-rooted-android-phones.html&amp;title=Camera%20LED%20As%20Flashlight%20on%20Non-Rooted%20Android%20Phones&amp;bodytext=We%20all%20know%20that%20Android%20does%20not%20allow%20the%20camera%20LED%20to%20be%20controlled%20directly%20from%20apps%20and%20hence%2C%20you%20cannot%20use%20the%20camera%20LED%20as%20a%20Torch%20or%20Flashlight%20unless%20you%20are%20rooted.%20There%20are%20many%20flashlight%20apps%20on%20the%20Android%20Market%20Place%20but%20none%20of" title="Digg"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F30%2Fcamera-led-flashlight-non-rooted-android-phones.html&amp;title=Camera%20LED%20As%20Flashlight%20on%20Non-Rooted%20Android%20Phones&amp;notes=We%20all%20know%20that%20Android%20does%20not%20allow%20the%20camera%20LED%20to%20be%20controlled%20directly%20from%20apps%20and%20hence%2C%20you%20cannot%20use%20the%20camera%20LED%20as%20a%20Torch%20or%20Flashlight%20unless%20you%20are%20rooted.%20There%20are%20many%20flashlight%20apps%20on%20the%20Android%20Market%20Place%20but%20none%20of" title="del.icio.us"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F30%2Fcamera-led-flashlight-non-rooted-android-phones.html&amp;title=Camera%20LED%20As%20Flashlight%20on%20Non-Rooted%20Android%20Phones" title="StumbleUpon"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F30%2Fcamera-led-flashlight-non-rooted-android-phones.html&amp;t=Camera%20LED%20As%20Flashlight%20on%20Non-Rooted%20Android%20Phones" title="Facebook"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F30%2Fcamera-led-flashlight-non-rooted-android-phones.html&amp;title=Camera%20LED%20As%20Flashlight%20on%20Non-Rooted%20Android%20Phones" title="Reddit"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F30%2Fcamera-led-flashlight-non-rooted-android-phones.html&amp;partner=sociable" title="Print this article!"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>


<br/><br/>
	Tags: <a href="http://tech.shantanugoel.com/tag/android-apps" title="android apps" rel="tag nofollow">android apps</a>, <a href="http://tech.shantanugoel.com/tag/android-led-flashlight-without-rooting" title="android led flashlight without rooting" rel="tag nofollow">android led flashlight without rooting</a>, <a href="http://tech.shantanugoel.com/tag/camera-led-flashlight-non-rooted-android" title="camera led flashlight non-rooted android" rel="tag nofollow">camera led flashlight non-rooted android</a>, <a href="http://tech.shantanugoel.com/tag/nexus-one" title="nexus one" rel="tag nofollow">nexus one</a>, <a href="http://tech.shantanugoel.com/tag/nexus-one-flashlight" title="nexus one flashlight" rel="tag nofollow">nexus one flashlight</a>, <a href="http://tech.shantanugoel.com/tag/nexus-one-flashlight-without-rooting" title="nexus one flashlight without rooting" rel="tag nofollow">nexus one flashlight without rooting</a>, <a href="http://tech.shantanugoel.com/tag/quick-settings-android" title="quick settings android" rel="tag nofollow">quick settings android</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://tech.shantanugoel.com/projects/android/wi-fi-keep-alive" title="Wi-Fi Keep Alive (June 28, 2010)">Wi-Fi Keep Alive</a> (10)</li>
	<li><a href="http://tech.shantanugoel.com/2010/05/23/android-froyo-update.html" title="Android Froyo Update File (May 23, 2010)">Android Froyo Update File</a> (0)</li>
	<li><a href="http://tech.shantanugoel.com/2010/05/23/android-froyo-nexus-one.html" title="Android Froyo And Nexus One: Everything We Know (May 23, 2010)">Android Froyo And Nexus One: Everything We Know</a> (14)</li>
	<li><a href="http://tech.shantanugoel.com/2010/07/04/android-app-wi-fi-keep-alive-updated-to-1-2-0.html" title="Android App: Wi-Fi Keep Alive Updated to 1.2.0 (July 4, 2010)">Android App: Wi-Fi Keep Alive Updated to 1.2.0</a> (0)</li>
	<li><a href="http://tech.shantanugoel.com/2010/06/28/android-app-wi-fi-keep-alive.html" title="Android App: Wi-Fi Keep Alive (June 28, 2010)">Android App: Wi-Fi Keep Alive</a> (0)</li>
</ul>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/techShantanu?a=MQFYYi74C3w:SF7Ao2fZl60:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=MQFYYi74C3w:SF7Ao2fZl60:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=MQFYYi74C3w:SF7Ao2fZl60:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=MQFYYi74C3w:SF7Ao2fZl60:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=MQFYYi74C3w:SF7Ao2fZl60:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=MQFYYi74C3w:SF7Ao2fZl60:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=MQFYYi74C3w:SF7Ao2fZl60:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=MQFYYi74C3w:SF7Ao2fZl60:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=MQFYYi74C3w:SF7Ao2fZl60:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=MQFYYi74C3w:SF7Ao2fZl60:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=MQFYYi74C3w:SF7Ao2fZl60:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=I9og5sOYxJI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/techShantanu/~4/MQFYYi74C3w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tech.shantanugoel.com/2010/07/30/camera-led-flashlight-non-rooted-android-phones.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://tech.shantanugoel.com/2010/07/30/camera-led-flashlight-non-rooted-android-phones.html</feedburner:origLink></item>
		<item>
		<title>Firefly / sqlite error “unable to open database file” Solution</title>
		<link>http://feedproxy.google.com/~r/techShantanu/~3/dGrBXUjTxR8/firefly-sqlite-error-unable-to-open-database-file-solution.html</link>
		<comments>http://tech.shantanugoel.com/2010/07/26/firefly-sqlite-error-unable-to-open-database-file-solution.html#comments</comments>
		<pubDate>Mon, 26 Jul 2010 18:11:40 +0000</pubDate>
		<dc:creator>Shantanu Goel</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Asus]]></category>
		<category><![CDATA[Asus WL-500W]]></category>
		<category><![CDATA[daap]]></category>
		<category><![CDATA[daap protocol]]></category>
		<category><![CDATA[firefly]]></category>
		<category><![CDATA[itunes daap media server]]></category>
		<category><![CDATA[mt-daapd]]></category>
		<category><![CDATA[sqlite]]></category>
		<category><![CDATA[sqlite error unable to open database file]]></category>

		<guid isPermaLink="false">http://tech.shantanugoel.com/?p=291</guid>
		<description><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ -->Recently I came across a weird error while trying to run firefly itunes server (mt-daapd) on my router (Asus wl-500w). It had something to do with sqlite and gave a vague message &#8220;Unable to open database file&#8221;. After going bonkers for a short time, I solved it and this is how.
One of my hard disks [...]]]></description>
			<content:encoded><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p style='border:thin dotted black; padding:3mm;background-color:#fff0f5;'><strong><a href="http://blog.shantanugoel.com">Blog </a>| <a href="http://tech.shantanugoel.com">Tech Blog</a> |  <a href="http://www.safercode.com/blog/">Secure Coding</a> | <a href="http://twitter.com/shantanugoel" rel="nofollow">Twitter</a> | <a href="http://feedproxy.google.com/techShantanu" rel="alternate" type="application/rss+xml">RSS Feed</a> | <a href="http://feedburner.google.com/fb/a/mailverify?uri=techShantanu" rel="nofollow" target="_blank">Get Email Updates</a></strong></p>
<p>Recently I came across a weird error while trying to run firefly itunes server (mt-daapd) on my router (Asus wl-500w). It had something to do with sqlite and gave a vague message &#8220;Unable to open database file&#8221;. After going bonkers for a short time, I solved it and this is how.</p>
<p>One of my hard disks crashed recently and unfortunately it was the one I had connected to my router to serve media to me all over the house (through PS3/laptop) or when I travel (through laptop/phone). I had all the data backed up but somehow didn&#8217;t preserve the firefly server. I rebuilt the server from source using my <a title="Compiling Latest Firefly mt-daapd for asus wl-500w" href="tech.shantanugoel.com/2009/07/03/compiling-latest-firefly-mt-daapd-asus-wl-500w.html" target="_blank">own guide</a> (Thank God I did it. I wouldn&#8217;t have been able to preserve my sanity finding all that out the hard way again.). But after doing all the installation and reconfiguration, it gave me a weird error &#8220;unable to open database file&#8221; every time and exited. I checked the permissions on the songs3.db file (in /opt/var/cache/mt-daapd for me) and made it writable by all but the issue persisted. I changed its ownership to the user under which firefly was running but the issue was still there. Finally I found that the server (or maybe its an sqlite thing) was trying to create a temp file in the cache directory for the transactions and since the user with which it was started, didn&#8217;t own the directory it wasn&#8217;t able to create the file in it.</p>
<p>So, the fix: I did a &#8220;chown &lt;username&gt; /opt/var/cache/mt-daapd&#8221; on it and voila! the problem was fixed. I am a happy man now since I own a new android phone since last time and now able to stream all my music to my phone through itunes (daap protocol) server over an ssh tunnel <img src='http://tech.shantanugoel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <!--test-->
<p style='border:thin dotted black; padding:3mm;background-color:#fff0f5;'><a href="http://tech.shantanugoel.com/terms-of-use">©</a> <a href="http://tech.shantanugoel.com/">Shantanu Goel</a> | <a href="http://tech.shantanugoel.com/2010/07/26/firefly-sqlite-error-unable-to-open-database-file-solution.html">Firefly / sqlite error &#8220;unable to open database file&#8221; Solution</a></p>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F26%2Ffirefly-sqlite-error-unable-to-open-database-file-solution.html&amp;title=Firefly%20%2F%20sqlite%20error%20%22unable%20to%20open%20database%20file%22%20Solution&amp;bodytext=Recently%20I%20came%20across%20a%20weird%20error%20while%20trying%20to%20run%20firefly%20itunes%20server%20%28mt-daapd%29%20on%20my%20router%20%28Asus%20wl-500w%29.%20It%20had%20something%20to%20do%20with%20sqlite%20and%20gave%20a%20vague%20message%20%22Unable%20to%20open%20database%20file%22.%20After%20going%20bonkers%20for%20a%20short%20time%2C%20I" title="Digg"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F26%2Ffirefly-sqlite-error-unable-to-open-database-file-solution.html&amp;title=Firefly%20%2F%20sqlite%20error%20%22unable%20to%20open%20database%20file%22%20Solution&amp;notes=Recently%20I%20came%20across%20a%20weird%20error%20while%20trying%20to%20run%20firefly%20itunes%20server%20%28mt-daapd%29%20on%20my%20router%20%28Asus%20wl-500w%29.%20It%20had%20something%20to%20do%20with%20sqlite%20and%20gave%20a%20vague%20message%20%22Unable%20to%20open%20database%20file%22.%20After%20going%20bonkers%20for%20a%20short%20time%2C%20I" title="del.icio.us"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F26%2Ffirefly-sqlite-error-unable-to-open-database-file-solution.html&amp;title=Firefly%20%2F%20sqlite%20error%20%22unable%20to%20open%20database%20file%22%20Solution" title="StumbleUpon"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F26%2Ffirefly-sqlite-error-unable-to-open-database-file-solution.html&amp;t=Firefly%20%2F%20sqlite%20error%20%22unable%20to%20open%20database%20file%22%20Solution" title="Facebook"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F26%2Ffirefly-sqlite-error-unable-to-open-database-file-solution.html&amp;title=Firefly%20%2F%20sqlite%20error%20%22unable%20to%20open%20database%20file%22%20Solution" title="Reddit"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F26%2Ffirefly-sqlite-error-unable-to-open-database-file-solution.html&amp;partner=sociable" title="Print this article!"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>


<br/><br/>
	Tags: <a href="http://tech.shantanugoel.com/tag/asus" title="Asus" rel="tag nofollow">Asus</a>, <a href="http://tech.shantanugoel.com/tag/asus-wl-500w" title="Asus WL-500W" rel="tag nofollow">Asus WL-500W</a>, <a href="http://tech.shantanugoel.com/tag/daap" title="daap" rel="tag nofollow">daap</a>, <a href="http://tech.shantanugoel.com/tag/daap-protocol" title="daap protocol" rel="tag nofollow">daap protocol</a>, <a href="http://tech.shantanugoel.com/tag/firefly" title="firefly" rel="tag nofollow">firefly</a>, <a href="http://tech.shantanugoel.com/tag/itunes-daap-media-server" title="itunes daap media server" rel="tag nofollow">itunes daap media server</a>, <a href="http://tech.shantanugoel.com/tag/mt-daapd" title="mt-daapd" rel="tag nofollow">mt-daapd</a>, <a href="http://tech.shantanugoel.com/tag/sqlite" title="sqlite" rel="tag nofollow">sqlite</a>, <a href="http://tech.shantanugoel.com/tag/sqlite-error-unable-to-open-database-file" title="sqlite error unable to open database file" rel="tag nofollow">sqlite error unable to open database file</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://tech.shantanugoel.com/2009/07/03/compiling-latest-firefly-mt-daapd-asus-wl-500w.html" title="Compiling Latest FireFly (mt-daapd) for ASUS WL-500W (July 3, 2009)">Compiling Latest FireFly (mt-daapd) for ASUS WL-500W</a> (14)</li>
	<li><a href="http://tech.shantanugoel.com/2008/12/03/the-solution-to-your-problem-is-out-there-somewhere.html" title="The Solution To Your Problem Is Out There &#8230;. Somewhere (December 3, 2008)">The Solution To Your Problem Is Out There &#8230;. Somewhere</a> (2)</li>
	<li><a href="http://tech.shantanugoel.com/2009/03/09/shutdown-script-asus-wl-500w-oleg-firmware.html" title="Shutdown Script For Asus WL-500W With Oleg Firmware (March 9, 2009)">Shutdown Script For Asus WL-500W With Oleg Firmware</a> (0)</li>
	<li><a href="http://tech.shantanugoel.com/2010/07/13/cannot-change-channel-problem-with-asus-wl-500w.html" title="Cannot Change Channel Problem With Asus WL-500W (July 13, 2010)">Cannot Change Channel Problem With Asus WL-500W</a> (0)</li>
	<li><a href="http://tech.shantanugoel.com/2009/02/23/tip-install-twonky-on-asus-wl-500w-with-stock-firmware.html" title="[TIP] Install Twonky on Asus WL-500W with stock firmware (February 23, 2009)">[TIP] Install Twonky on Asus WL-500W with stock firmware</a> (9)</li>
</ul>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/techShantanu?a=dGrBXUjTxR8:kCbVGE9ZPWg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=dGrBXUjTxR8:kCbVGE9ZPWg:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=dGrBXUjTxR8:kCbVGE9ZPWg:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=dGrBXUjTxR8:kCbVGE9ZPWg:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=dGrBXUjTxR8:kCbVGE9ZPWg:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=dGrBXUjTxR8:kCbVGE9ZPWg:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=dGrBXUjTxR8:kCbVGE9ZPWg:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=dGrBXUjTxR8:kCbVGE9ZPWg:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=dGrBXUjTxR8:kCbVGE9ZPWg:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=dGrBXUjTxR8:kCbVGE9ZPWg:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=dGrBXUjTxR8:kCbVGE9ZPWg:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=I9og5sOYxJI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/techShantanu/~4/dGrBXUjTxR8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tech.shantanugoel.com/2010/07/26/firefly-sqlite-error-unable-to-open-database-file-solution.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://tech.shantanugoel.com/2010/07/26/firefly-sqlite-error-unable-to-open-database-file-solution.html</feedburner:origLink></item>
		<item>
		<title>Android App Wi-Fi Keep Alive updated to 1.4.1</title>
		<link>http://feedproxy.google.com/~r/techShantanu/~3/EuNxmINJUuk/android-app-wi-fi-keep-alive-updated-1-4-0.html</link>
		<comments>http://tech.shantanugoel.com/2010/07/22/android-app-wi-fi-keep-alive-updated-1-4-0.html#comments</comments>
		<pubDate>Thu, 22 Jul 2010 16:58:07 +0000</pubDate>
		<dc:creator>Shantanu Goel</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[android apps]]></category>
		<category><![CDATA[android wi-fi sleep policy]]></category>
		<category><![CDATA[Pandora stops on sleep android]]></category>
		<category><![CDATA[Wi-Fi Keep Alive]]></category>

		<guid isPermaLink="false">http://tech.shantanugoel.com/?p=289</guid>
		<description><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ -->Update: Made a minor update for a small bug that can make wi-fi keep reconnecting in quick succession.
Pushed out a new update to my Android App Wi-Fi Keep Alive today. This update brings in another work around for the issue where the wi-fi is alive on the phone and it is also connected to the [...]]]></description>
			<content:encoded><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p style='border:thin dotted black; padding:3mm;background-color:#fff0f5;'><strong><a href="http://blog.shantanugoel.com">Blog </a>| <a href="http://tech.shantanugoel.com">Tech Blog</a> |  <a href="http://www.safercode.com/blog/">Secure Coding</a> | <a href="http://twitter.com/shantanugoel" rel="nofollow">Twitter</a> | <a href="http://feedproxy.google.com/techShantanu" rel="alternate" type="application/rss+xml">RSS Feed</a> | <a href="http://feedburner.google.com/fb/a/mailverify?uri=techShantanu" rel="nofollow" target="_blank">Get Email Updates</a></strong></p>
<p><strong>Update:</strong> Made a minor update for a small bug that can make wi-fi keep reconnecting in quick succession.</p>
<p>Pushed out a new update to my Android App <a title="Android App Wi-Fi Keep Alive" href="http://tech.shantanugoel.com/projects/android/wi-fi-keep-alive" target="_self">Wi-Fi Keep Alive</a> today. This update brings in another work around for the issue where the wi-fi is alive on the phone and it is also connected to the network but is somehow unable to send/receive any packets to the network. The new work around will automatically re-associate your phone with the wi-fi router if it detects such a situation. This seems to make it work properly again for sometime. When it fails again, the workaround kicks in automatically again. This is not an ideal &#8220;fix&#8221; as such because streaming apps like Pandora radio etc might have a hiccup because of this but it is unavoidable as of now and atleast the notifications for mails and other things etc will work fine because this state stops even the mobile data network from taking over since the phone perceives that wi-fi is connected but is not working actually.</p>
<p>The other things include support for small screen devices like Xperia X10 mini, some optimizations for size and speed, some icon sizes and UI tweaks for compatibility with different screen sizes and android versions. Please try it out from the market as usual and let me know how it goes. You can find the details and QR code for downloading etc here: <a title="Android App Wi-Fi Keep Alive" href="http://tech.shantanugoel.com/projects/android/wi-fi-keep-alive" target="_self"><strong>Wi-Fi Keep Alive</strong></a><!--test-->
<p style='border:thin dotted black; padding:3mm;background-color:#fff0f5;'><a href="http://tech.shantanugoel.com/terms-of-use">©</a> <a href="http://tech.shantanugoel.com/">Shantanu Goel</a> | <a href="http://tech.shantanugoel.com/2010/07/22/android-app-wi-fi-keep-alive-updated-1-4-0.html">Android App Wi-Fi Keep Alive updated to 1.4.1</a></p>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F22%2Fandroid-app-wi-fi-keep-alive-updated-1-4-0.html&amp;title=Android%20App%20Wi-Fi%20Keep%20Alive%20updated%20to%201.4.1&amp;bodytext=Update%3A%20Made%20a%20minor%20update%20for%20a%20small%20bug%20that%20can%20make%20wi-fi%20keep%20reconnecting%20in%20quick%20succession.%0D%0A%0D%0APushed%20out%20a%20new%20update%20to%20my%20Android%20App%20Wi-Fi%20Keep%20Alive%20today.%20This%20update%20brings%20in%20another%20work%20around%20for%20the%20issue%20where%20the%20wi-fi%20is%20ali" title="Digg"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F22%2Fandroid-app-wi-fi-keep-alive-updated-1-4-0.html&amp;title=Android%20App%20Wi-Fi%20Keep%20Alive%20updated%20to%201.4.1&amp;notes=Update%3A%20Made%20a%20minor%20update%20for%20a%20small%20bug%20that%20can%20make%20wi-fi%20keep%20reconnecting%20in%20quick%20succession.%0D%0A%0D%0APushed%20out%20a%20new%20update%20to%20my%20Android%20App%20Wi-Fi%20Keep%20Alive%20today.%20This%20update%20brings%20in%20another%20work%20around%20for%20the%20issue%20where%20the%20wi-fi%20is%20ali" title="del.icio.us"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F22%2Fandroid-app-wi-fi-keep-alive-updated-1-4-0.html&amp;title=Android%20App%20Wi-Fi%20Keep%20Alive%20updated%20to%201.4.1" title="StumbleUpon"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F22%2Fandroid-app-wi-fi-keep-alive-updated-1-4-0.html&amp;t=Android%20App%20Wi-Fi%20Keep%20Alive%20updated%20to%201.4.1" title="Facebook"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F22%2Fandroid-app-wi-fi-keep-alive-updated-1-4-0.html&amp;title=Android%20App%20Wi-Fi%20Keep%20Alive%20updated%20to%201.4.1" title="Reddit"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F22%2Fandroid-app-wi-fi-keep-alive-updated-1-4-0.html&amp;partner=sociable" title="Print this article!"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>


<br/><br/>
	Tags: <a href="http://tech.shantanugoel.com/tag/android" title="Android" rel="tag nofollow">Android</a>, <a href="http://tech.shantanugoel.com/tag/android-apps" title="android apps" rel="tag nofollow">android apps</a>, <a href="http://tech.shantanugoel.com/tag/android-wi-fi-sleep-policy" title="android wi-fi sleep policy" rel="tag nofollow">android wi-fi sleep policy</a>, <a href="http://tech.shantanugoel.com/tag/pandora-stops-on-sleep-android" title="Pandora stops on sleep android" rel="tag nofollow">Pandora stops on sleep android</a>, <a href="http://tech.shantanugoel.com/tag/wi-fi-keep-alive" title="Wi-Fi Keep Alive" rel="tag nofollow">Wi-Fi Keep Alive</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://tech.shantanugoel.com/2010/07/04/android-app-wi-fi-keep-alive-updated-to-1-2-0.html" title="Android App: Wi-Fi Keep Alive Updated to 1.2.0 (July 4, 2010)">Android App: Wi-Fi Keep Alive Updated to 1.2.0</a> (0)</li>
	<li><a href="http://tech.shantanugoel.com/projects/android/wi-fi-keep-alive" title="Wi-Fi Keep Alive (June 28, 2010)">Wi-Fi Keep Alive</a> (10)</li>
	<li><a href="http://tech.shantanugoel.com/2010/06/28/android-app-wi-fi-keep-alive.html" title="Android App: Wi-Fi Keep Alive (June 28, 2010)">Android App: Wi-Fi Keep Alive</a> (0)</li>
	<li><a href="http://tech.shantanugoel.com/2010/06/13/android-app-quickly-open-accounts-sync-settings.html" title="Android App: Quickly Open Accounts &#038; Sync Settings (June 13, 2010)">Android App: Quickly Open Accounts &#038; Sync Settings</a> (0)</li>
	<li><a href="http://tech.shantanugoel.com/2008/02/14/smartphonesnextgen-telephony-news-that-matters.html" title="SmartPhones/NextGen Telephony: News That Matters (February 14, 2008)">SmartPhones/NextGen Telephony: News That Matters</a> (0)</li>
</ul>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/techShantanu?a=EuNxmINJUuk:QrUHr-Go5UQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=EuNxmINJUuk:QrUHr-Go5UQ:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=EuNxmINJUuk:QrUHr-Go5UQ:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=EuNxmINJUuk:QrUHr-Go5UQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=EuNxmINJUuk:QrUHr-Go5UQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=EuNxmINJUuk:QrUHr-Go5UQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=EuNxmINJUuk:QrUHr-Go5UQ:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=EuNxmINJUuk:QrUHr-Go5UQ:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=EuNxmINJUuk:QrUHr-Go5UQ:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=EuNxmINJUuk:QrUHr-Go5UQ:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=EuNxmINJUuk:QrUHr-Go5UQ:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=I9og5sOYxJI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/techShantanu/~4/EuNxmINJUuk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tech.shantanugoel.com/2010/07/22/android-app-wi-fi-keep-alive-updated-1-4-0.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tech.shantanugoel.com/2010/07/22/android-app-wi-fi-keep-alive-updated-1-4-0.html</feedburner:origLink></item>
		<item>
		<title>Cannot Change Channel Problem With Asus WL-500W</title>
		<link>http://feedproxy.google.com/~r/techShantanu/~3/NExQbHDIfJ8/cannot-change-channel-problem-with-asus-wl-500w.html</link>
		<comments>http://tech.shantanugoel.com/2010/07/13/cannot-change-channel-problem-with-asus-wl-500w.html#comments</comments>
		<pubDate>Tue, 13 Jul 2010 12:16:44 +0000</pubDate>
		<dc:creator>Shantanu Goel</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Asus]]></category>
		<category><![CDATA[Asus WL-500g]]></category>
		<category><![CDATA[Asus WL-500W]]></category>
		<category><![CDATA[asus wl-500w channel]]></category>
		<category><![CDATA[Asus WL-500W firmware]]></category>
		<category><![CDATA[Asus WL-500W hacks]]></category>
		<category><![CDATA[lly]]></category>
		<category><![CDATA[oleg]]></category>
		<category><![CDATA[oleg custom firmware]]></category>
		<category><![CDATA[oleg firmware]]></category>
		<category><![CDATA[wi-fi channel]]></category>

		<guid isPermaLink="false">http://tech.shantanugoel.com/?p=286</guid>
		<description><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ -->Recently I found an issue with my asus wl-500w wi-fi router that I wasn&#8217;t able to change the channel on which it was transmitting. I moved to a new location which was totally jam-packed with other wi-fi networks using same channel as mine which was hampeing my connection. I tried for umpteen number of times. [...]]]></description>
			<content:encoded><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p style='border:thin dotted black; padding:3mm;background-color:#fff0f5;'><strong><a href="http://blog.shantanugoel.com">Blog </a>| <a href="http://tech.shantanugoel.com">Tech Blog</a> |  <a href="http://www.safercode.com/blog/">Secure Coding</a> | <a href="http://twitter.com/shantanugoel" rel="nofollow">Twitter</a> | <a href="http://feedproxy.google.com/techShantanu" rel="alternate" type="application/rss+xml">RSS Feed</a> | <a href="http://feedburner.google.com/fb/a/mailverify?uri=techShantanu" rel="nofollow" target="_blank">Get Email Updates</a></strong></p>
<p>Recently I found an issue with my asus wl-500w wi-fi router that I wasn&#8217;t able to change the channel on which it was transmitting. I moved to a new location which was totally jam-packed with other wi-fi networks using same channel as mine which was hampeing my connection. I tried for umpteen number of times. Changing the channel through the web configuration did not give any error but I found that it was still transmitting at channel 1. I confirmed by checking on the &#8220;Status &amp; Log&#8221; page, checking the logs, and running &#8220;wl status&#8221; command through ssh and they all confirmed that it was transmitting at channel 1 only, no matter what I set it to in the configuration. I even opened an issue in the firmware project for the custom firmware (by oleg and lly) that I am using but they weren&#8217;t able to help me as the wi-fi drivers are binary only.</p>
<p>But by sheer chance, I stumbled upon the solution finally by trial and error. The solution is that you should set the &#8220;Bandwidth&#8221; to 20 MHz in wi-fi configuration if you are using 802.11 G. If you set it to 40 MHz then it gets stuck somehow but as soon as I changed it to 20 MHz, I was able to see the channel change immediately after reboot. Here is the screenshot of the page where you can find this setting.</p>
<p><a href="http://tech.shantanugoel.com/uploads/asus-wl-500-w-change-channel.jpg"><img src="http://tech.shantanugoel.com/uploads/asus-wl-500-w-change-channel-thumb.jpg" alt="" /></a><!--test-->
<p style='border:thin dotted black; padding:3mm;background-color:#fff0f5;'><a href="http://tech.shantanugoel.com/terms-of-use">©</a> <a href="http://tech.shantanugoel.com/">Shantanu Goel</a> | <a href="http://tech.shantanugoel.com/2010/07/13/cannot-change-channel-problem-with-asus-wl-500w.html">Cannot Change Channel Problem With Asus WL-500W</a></p>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F13%2Fcannot-change-channel-problem-with-asus-wl-500w.html&amp;title=Cannot%20Change%20Channel%20Problem%20With%20Asus%20WL-500W&amp;bodytext=Recently%20I%20found%20an%20issue%20with%20my%20asus%20wl-500w%20wi-fi%20router%20that%20I%20wasn%27t%20able%20to%20change%20the%20channel%20on%20which%20it%20was%20transmitting.%20I%20moved%20to%20a%20new%20location%20which%20was%20totally%20jam-packed%20with%20other%20wi-fi%20networks%20using%20same%20channel%20as%20mine%20which%20was%20h" title="Digg"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F13%2Fcannot-change-channel-problem-with-asus-wl-500w.html&amp;title=Cannot%20Change%20Channel%20Problem%20With%20Asus%20WL-500W&amp;notes=Recently%20I%20found%20an%20issue%20with%20my%20asus%20wl-500w%20wi-fi%20router%20that%20I%20wasn%27t%20able%20to%20change%20the%20channel%20on%20which%20it%20was%20transmitting.%20I%20moved%20to%20a%20new%20location%20which%20was%20totally%20jam-packed%20with%20other%20wi-fi%20networks%20using%20same%20channel%20as%20mine%20which%20was%20h" title="del.icio.us"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F13%2Fcannot-change-channel-problem-with-asus-wl-500w.html&amp;title=Cannot%20Change%20Channel%20Problem%20With%20Asus%20WL-500W" title="StumbleUpon"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F13%2Fcannot-change-channel-problem-with-asus-wl-500w.html&amp;t=Cannot%20Change%20Channel%20Problem%20With%20Asus%20WL-500W" title="Facebook"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F13%2Fcannot-change-channel-problem-with-asus-wl-500w.html&amp;title=Cannot%20Change%20Channel%20Problem%20With%20Asus%20WL-500W" title="Reddit"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F13%2Fcannot-change-channel-problem-with-asus-wl-500w.html&amp;partner=sociable" title="Print this article!"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>


<br/><br/>
	Tags: <a href="http://tech.shantanugoel.com/tag/asus" title="Asus" rel="tag nofollow">Asus</a>, <a href="http://tech.shantanugoel.com/tag/asus-wl-500g" title="Asus WL-500g" rel="tag nofollow">Asus WL-500g</a>, <a href="http://tech.shantanugoel.com/tag/asus-wl-500w" title="Asus WL-500W" rel="tag nofollow">Asus WL-500W</a>, <a href="http://tech.shantanugoel.com/tag/asus-wl-500w-channel" title="asus wl-500w channel" rel="tag nofollow">asus wl-500w channel</a>, <a href="http://tech.shantanugoel.com/tag/asus-wl-500w-firmware" title="Asus WL-500W firmware" rel="tag nofollow">Asus WL-500W firmware</a>, <a href="http://tech.shantanugoel.com/tag/asus-wl-500w-hacks" title="Asus WL-500W hacks" rel="tag nofollow">Asus WL-500W hacks</a>, <a href="http://tech.shantanugoel.com/tag/lly" title="lly" rel="tag nofollow">lly</a>, <a href="http://tech.shantanugoel.com/tag/oleg" title="oleg" rel="tag nofollow">oleg</a>, <a href="http://tech.shantanugoel.com/tag/oleg-custom-firmware" title="oleg custom firmware" rel="tag nofollow">oleg custom firmware</a>, <a href="http://tech.shantanugoel.com/tag/oleg-firmware" title="oleg firmware" rel="tag nofollow">oleg firmware</a>, <a href="http://tech.shantanugoel.com/tag/wi-fi-channel" title="wi-fi channel" rel="tag nofollow">wi-fi channel</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://tech.shantanugoel.com/2009/03/09/shutdown-script-asus-wl-500w-oleg-firmware.html" title="Shutdown Script For Asus WL-500W With Oleg Firmware (March 9, 2009)">Shutdown Script For Asus WL-500W With Oleg Firmware</a> (0)</li>
	<li><a href="http://tech.shantanugoel.com/2009/02/23/tip-install-twonky-on-asus-wl-500w-with-stock-firmware.html" title="[TIP] Install Twonky on Asus WL-500W with stock firmware (February 23, 2009)">[TIP] Install Twonky on Asus WL-500W with stock firmware</a> (9)</li>
	<li><a href="http://tech.shantanugoel.com/2009/01/24/tip-asus-wl-500w-hackshow-to-reset-web-admin-password.html" title="[TIP] Asus WL-500W Hacks:How To Reset Web Admin Password (January 24, 2009)">[TIP] Asus WL-500W Hacks:How To Reset Web Admin Password</a> (2)</li>
	<li><a href="http://tech.shantanugoel.com/2009/07/11/shutdown-asus-wl-500-w.html" title="Easiest Way to Shutdown Asus WL-500W (July 11, 2009)">Easiest Way to Shutdown Asus WL-500W</a> (2)</li>
	<li><a href="http://tech.shantanugoel.com/2008/12/03/the-solution-to-your-problem-is-out-there-somewhere.html" title="The Solution To Your Problem Is Out There &#8230;. Somewhere (December 3, 2008)">The Solution To Your Problem Is Out There &#8230;. Somewhere</a> (2)</li>
</ul>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/techShantanu?a=NExQbHDIfJ8:NLfzKvs1eBo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=NExQbHDIfJ8:NLfzKvs1eBo:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=NExQbHDIfJ8:NLfzKvs1eBo:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=NExQbHDIfJ8:NLfzKvs1eBo:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=NExQbHDIfJ8:NLfzKvs1eBo:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=NExQbHDIfJ8:NLfzKvs1eBo:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=NExQbHDIfJ8:NLfzKvs1eBo:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=NExQbHDIfJ8:NLfzKvs1eBo:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=NExQbHDIfJ8:NLfzKvs1eBo:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=NExQbHDIfJ8:NLfzKvs1eBo:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=NExQbHDIfJ8:NLfzKvs1eBo:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=I9og5sOYxJI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/techShantanu/~4/NExQbHDIfJ8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tech.shantanugoel.com/2010/07/13/cannot-change-channel-problem-with-asus-wl-500w.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tech.shantanugoel.com/2010/07/13/cannot-change-channel-problem-with-asus-wl-500w.html</feedburner:origLink></item>
		<item>
		<title>Mute (or Answer) Skype Calls with BT Headset Button in Linux</title>
		<link>http://feedproxy.google.com/~r/techShantanu/~3/hHVSqVk5e4Q/mute-answer-skype-calls-bluetooth-headset-button-in-linux.html</link>
		<comments>http://tech.shantanugoel.com/2010/07/09/mute-answer-skype-calls-bluetooth-headset-button-in-linux.html#comments</comments>
		<pubDate>Thu, 08 Jul 2010 18:31:55 +0000</pubDate>
		<dc:creator>Shantanu Goel</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[blueman]]></category>
		<category><![CDATA[headset button skype linux]]></category>
		<category><![CDATA[mute calls skype linux]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[skype linux]]></category>

		<guid isPermaLink="false">http://tech.shantanugoel.com/?p=285</guid>
		<description><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ -->Skype on linux works great but the problem that I faced was that it does not handle the buttons on the bluetooth headsets. My wife uses skype to call into her work related conference calls and was pretty frustrated that she had to keep sitting in front of my laptop (her laptop didn&#8217;t allow to [...]]]></description>
			<content:encoded><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p style='border:thin dotted black; padding:3mm;background-color:#fff0f5;'><strong><a href="http://blog.shantanugoel.com">Blog </a>| <a href="http://tech.shantanugoel.com">Tech Blog</a> |  <a href="http://www.safercode.com/blog/">Secure Coding</a> | <a href="http://twitter.com/shantanugoel" rel="nofollow">Twitter</a> | <a href="http://feedproxy.google.com/techShantanu" rel="alternate" type="application/rss+xml">RSS Feed</a> | <a href="http://feedburner.google.com/fb/a/mailverify?uri=techShantanu" rel="nofollow" target="_blank">Get Email Updates</a></strong></p>
<p>Skype on linux works great but the problem that I faced was that it does not handle the buttons on the bluetooth headsets. My wife uses skype to call into her work related conference calls and was pretty frustrated that she had to keep sitting in front of my laptop (her laptop didn&#8217;t allow to install skype) just to switch mute on and off. So, I whipped up this little trick to do so. Here is how:</p>
<p>1. First I looked at the skype API (pretty simple, based on dbus). Also found a sample script somewhere that allowed to answer and hang up calls through skype API.</p>
<p>2. Modified the script to switch the mute on and off instead of answering/hanging up. Script can be downloaded at the end of this article. You can also modify it to take some other action that you want.</p>
<p>3. Install &#8220;blueman&#8221;. If you are using Ubuntu, just type &#8220;sudo apt-get install blueman&#8221; in shell.</p>
<p>4. Once blueman is installed and you have done your headset pairing etc, right click on the blueman icon in the system tray and click on &#8220;Local Services&#8221;.</p>
<p>5. In local services, click on headset tab and you can see a input box where you can give the path of a program/script which will be run whenever the &#8220;answer button&#8221; on the headset is pressed. This is important to note that blueman only supports the answer button and nothing else and I didn&#8217;t have the inclination to develop a full-fledged AVRCP compliant program to capture other buttons as all I was interested in mute functionality. You can see the screenshot of this below:<span id="more-285"></span><br />
<a href="http://tech.shantanugoel.com/uploads/blueman-skype-bluetooth-mute-button.png" target="_blank"><img src="http://tech.shantanugoel.com/uploads/blueman-skype-bluetooth-mute-button-thumb.png" alt="Skype Headset Button Settings for Blueman" /></a></p>
<p><a href="http://tech.shantanugoel.com/uploads/blueman-skype-bluetooth-mute-button.png" target="_blank"></a>6. Make sure that you give the path where you saved the script that you downloaded in step 4 and you are all set now. Make a call and click on the answer button of your headset to see the magic happen <img src='http://tech.shantanugoel.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Let me know if you have your own hacks like this or know of a way to have a full fledged capturing of all headset buttons.</p>
<div style="float: right; width: 200px; margin: 10px; text-align: center">
	<p><a rel="nofollow" title="Download version 0.1 of skype-bluetooth-mute-button.zip" onclick="if (window.urchinTracker) urchinTracker ('http://tech.shantanugoel.com/resources/downloads/skype-bluetooth-mute-button.zip');" href="http://tech.shantanugoel.com/resources/downloads/skype-bluetooth-mute-button.zip"><img src="http://tech.shantanugoel.com/wp-content/plugins/drain-hole/images/download.png" alt="download" width="128" height="128"/></a></p>

	<table class="download">
		<tr>
			<th>Download:</th>
			<td><a rel="nofollow" title="Download version 0.1 of skype-bluetooth-mute-button.zip" onclick="if (window.urchinTracker) urchinTracker ('http://tech.shantanugoel.com/resources/downloads/skype-bluetooth-mute-button.zip');" href="http://tech.shantanugoel.com/resources/downloads/skype-bluetooth-mute-button.zip">Skype Bluetooth Mute Button Script</a></td>
		</tr>
		<tr>
			<th>Version:</th>
			<td>0.1</td>
		</tr>
		<tr>
			<th>Updated:</th>
			<td>July 8, 2010</td>
		</tr>
		<tr>
			<th>Size:</th>
			<td>990 bytes</td>
		</tr>
		<tr>
			<th>Hits:</th>
			<td>59</td>
		</tr>
	</table>
	
</div>
<!--test-->
<p style='border:thin dotted black; padding:3mm;background-color:#fff0f5;'><a href="http://tech.shantanugoel.com/terms-of-use">©</a> <a href="http://tech.shantanugoel.com/">Shantanu Goel</a> | <a href="http://tech.shantanugoel.com/2010/07/09/mute-answer-skype-calls-bluetooth-headset-button-in-linux.html">Mute (or Answer) Skype Calls with BT Headset Button in Linux</a></p>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F09%2Fmute-answer-skype-calls-bluetooth-headset-button-in-linux.html&amp;title=Mute%20%28or%20Answer%29%20Skype%20Calls%20with%20BT%20Headset%20Button%20in%20Linux&amp;bodytext=Skype%20on%20linux%20works%20great%20but%20the%20problem%20that%20I%20faced%20was%20that%20it%20does%20not%20handle%20the%20buttons%20on%20the%20bluetooth%20headsets.%20My%20wife%20uses%20skype%20to%20call%20into%20her%20work%20related%20conference%20calls%20and%20was%20pretty%20frustrated%20that%20she%20had%20to%20keep%20sitting%20in%20fro" title="Digg"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F09%2Fmute-answer-skype-calls-bluetooth-headset-button-in-linux.html&amp;title=Mute%20%28or%20Answer%29%20Skype%20Calls%20with%20BT%20Headset%20Button%20in%20Linux&amp;notes=Skype%20on%20linux%20works%20great%20but%20the%20problem%20that%20I%20faced%20was%20that%20it%20does%20not%20handle%20the%20buttons%20on%20the%20bluetooth%20headsets.%20My%20wife%20uses%20skype%20to%20call%20into%20her%20work%20related%20conference%20calls%20and%20was%20pretty%20frustrated%20that%20she%20had%20to%20keep%20sitting%20in%20fro" title="del.icio.us"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F09%2Fmute-answer-skype-calls-bluetooth-headset-button-in-linux.html&amp;title=Mute%20%28or%20Answer%29%20Skype%20Calls%20with%20BT%20Headset%20Button%20in%20Linux" title="StumbleUpon"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F09%2Fmute-answer-skype-calls-bluetooth-headset-button-in-linux.html&amp;t=Mute%20%28or%20Answer%29%20Skype%20Calls%20with%20BT%20Headset%20Button%20in%20Linux" title="Facebook"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F09%2Fmute-answer-skype-calls-bluetooth-headset-button-in-linux.html&amp;title=Mute%20%28or%20Answer%29%20Skype%20Calls%20with%20BT%20Headset%20Button%20in%20Linux" title="Reddit"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F09%2Fmute-answer-skype-calls-bluetooth-headset-button-in-linux.html&amp;partner=sociable" title="Print this article!"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>


<br/><br/>
	Tags: <a href="http://tech.shantanugoel.com/tag/blueman" title="blueman" rel="tag nofollow">blueman</a>, <a href="http://tech.shantanugoel.com/tag/headset-button-skype-linux" title="headset button skype linux" rel="tag nofollow">headset button skype linux</a>, <a href="http://tech.shantanugoel.com/tag/mute-calls-skype-linux" title="mute calls skype linux" rel="tag nofollow">mute calls skype linux</a>, <a href="http://tech.shantanugoel.com/tag/skype" title="skype" rel="tag nofollow">skype</a>, <a href="http://tech.shantanugoel.com/tag/skype-linux" title="skype linux" rel="tag nofollow">skype linux</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://tech.shantanugoel.com/2008/03/01/idea-factory-some-of-my-latest-wonderings.html" title="Idea Factory: Some Of My Latest Musings (March 1, 2008)">Idea Factory: Some Of My Latest Musings</a> (2)</li>
</ul>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/techShantanu?a=hHVSqVk5e4Q:ZpbiU9EWx14:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=hHVSqVk5e4Q:ZpbiU9EWx14:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=hHVSqVk5e4Q:ZpbiU9EWx14:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=hHVSqVk5e4Q:ZpbiU9EWx14:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=hHVSqVk5e4Q:ZpbiU9EWx14:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=hHVSqVk5e4Q:ZpbiU9EWx14:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=hHVSqVk5e4Q:ZpbiU9EWx14:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=hHVSqVk5e4Q:ZpbiU9EWx14:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=hHVSqVk5e4Q:ZpbiU9EWx14:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=hHVSqVk5e4Q:ZpbiU9EWx14:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=hHVSqVk5e4Q:ZpbiU9EWx14:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=I9og5sOYxJI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/techShantanu/~4/hHVSqVk5e4Q" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tech.shantanugoel.com/2010/07/09/mute-answer-skype-calls-bluetooth-headset-button-in-linux.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		<feedburner:origLink>http://tech.shantanugoel.com/2010/07/09/mute-answer-skype-calls-bluetooth-headset-button-in-linux.html</feedburner:origLink></item>
		<item>
		<title>BadTokenException Error In Android Dialog</title>
		<link>http://feedproxy.google.com/~r/techShantanu/~3/-fMu9ZkKWhk/badtokenexception-android-dialog-getapplicationcontext.html</link>
		<comments>http://tech.shantanugoel.com/2010/07/08/badtokenexception-android-dialog-getapplicationcontext.html#comments</comments>
		<pubDate>Thu, 08 Jul 2010 11:24:14 +0000</pubDate>
		<dc:creator>Shantanu Goel</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Android Dialogs]]></category>
		<category><![CDATA[BadTokenException Android]]></category>
		<category><![CDATA[getApplicationContext Android]]></category>

		<guid isPermaLink="false">http://tech.shantanugoel.com/2010/07/08/badtokenexception-android-dialog-getapplicationcontext.html</guid>
		<description><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ -->If you are creating a custom Dialog for Android, and following the Android Developers’ Creating Dialogs tutorial, then most likely you would have faced a Force Close with this exception showing up in logcat. I did too. Although I figured it out quickly, it might not be easy to find out for many, so posting [...]]]></description>
			<content:encoded><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p style='border:thin dotted black; padding:3mm;background-color:#fff0f5;'><strong><a href="http://blog.shantanugoel.com">Blog </a>| <a href="http://tech.shantanugoel.com">Tech Blog</a> |  <a href="http://www.safercode.com/blog/">Secure Coding</a> | <a href="http://twitter.com/shantanugoel" rel="nofollow">Twitter</a> | <a href="http://feedproxy.google.com/techShantanu" rel="alternate" type="application/rss+xml">RSS Feed</a> | <a href="http://feedburner.google.com/fb/a/mailverify?uri=techShantanu" rel="nofollow" target="_blank">Get Email Updates</a></strong></p>
<p>If you are creating a custom Dialog for Android, and following the <a title="Creating Android Dialogs" href="http://developer.android.com/guide/topics/ui/dialogs.html" rel="external nofollow" target="_blank">Android Developers’ Creating Dialogs</a> tutorial, then most likely you would have faced a Force Close with this exception showing up in logcat. I did too. Although I figured it out quickly, it might not be easy to find out for many, so posting it here for reference. Basically, the code given in the tutorial goes something like this:</p>
<p><!--test--><br /> <br />
<blockquote>
<p>Context mContext = getApplicationContext();     <br />Dialog dialog = new Dialog(mContext); </p>
<p>dialog.setContentView(R.layout.custom_dialog);     <br />dialog.setTitle(&quot;Custom Dialog&quot;); </p>
<p>TextView text = (TextView) dialog.findViewById(R.id.text);     <br />text.setText(&quot;Hello, this is a custom dialog!&quot;);      <br />ImageView image = (ImageView) dialog.findViewById(R.id.image);      <br />image.setImageResource(R.drawable.android);</p>
</blockquote>
<p>All looks well, but when you execute it, you will get a Force Close. The error appearing in logcat would be something like this:</p>
<blockquote><p>Uncaught handler: thread main exiting due to uncaught exception     <br />android.view.WindowManager$BadTokenException: Unable to add window &#8212; token null is not for an application</p>
</blockquote>
<p>It isn’t apparent immediately that what is causing this error. The very first line in the code “Context mContext = getApplicationContext();” is the culprit.</p>
<p><strong>Solution:</strong> Just replace “getApplicationContext()” with “this” (i.e. “Context mContext = this;” ) and it will work fine.</p>
<p><strong>Explanation:</strong> As to why this is exactly an issue, I’m a bit fuzzy about it myself but this much I’m sure that the contexts that you get with getApplicationContext and this are different. On reading about this function from Android SDK help:</p>
<blockquote><p>Return the context of the single, global Application object of the current process. This generally should only be used if you need a Context whose lifecycle is separate from the current context, that is tied to the lifetime of the process rather than the current component.</p>
</blockquote>
<p>I think this would mean is that getApplicationContext returns a context which is for the application itself and not the activity, while “this” would give you the context of the activity in which you are creating the dialog. I think since it is the activity which is associated with the UI (and for whom the window has been created), using the application context would have caused the crash here.</p>
<p style='border:thin dotted black; padding:3mm;background-color:#fff0f5;'><a href="http://tech.shantanugoel.com/terms-of-use">©</a> <a href="http://tech.shantanugoel.com/">Shantanu Goel</a> | <a href="http://tech.shantanugoel.com/2010/07/08/badtokenexception-android-dialog-getapplicationcontext.html">BadTokenException Error In Android Dialog</a></p>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F08%2Fbadtokenexception-android-dialog-getapplicationcontext.html&amp;title=BadTokenException%20Error%20In%20Android%20Dialog&amp;bodytext=If%20you%20are%20creating%20a%20custom%20Dialog%20for%20Android%2C%20and%20following%20the%20Android%20Developers%E2%80%99%20Creating%20Dialogs%20tutorial%2C%20then%20most%20likely%20you%20would%20have%20faced%20a%20Force%20Close%20with%20this%20exception%20showing%20up%20in%20logcat.%20I%20did%20too.%20Although%20I%20figured%20it%20out%20qui" title="Digg"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F08%2Fbadtokenexception-android-dialog-getapplicationcontext.html&amp;title=BadTokenException%20Error%20In%20Android%20Dialog&amp;notes=If%20you%20are%20creating%20a%20custom%20Dialog%20for%20Android%2C%20and%20following%20the%20Android%20Developers%E2%80%99%20Creating%20Dialogs%20tutorial%2C%20then%20most%20likely%20you%20would%20have%20faced%20a%20Force%20Close%20with%20this%20exception%20showing%20up%20in%20logcat.%20I%20did%20too.%20Although%20I%20figured%20it%20out%20qui" title="del.icio.us"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F08%2Fbadtokenexception-android-dialog-getapplicationcontext.html&amp;title=BadTokenException%20Error%20In%20Android%20Dialog" title="StumbleUpon"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F08%2Fbadtokenexception-android-dialog-getapplicationcontext.html&amp;t=BadTokenException%20Error%20In%20Android%20Dialog" title="Facebook"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F08%2Fbadtokenexception-android-dialog-getapplicationcontext.html&amp;title=BadTokenException%20Error%20In%20Android%20Dialog" title="Reddit"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F08%2Fbadtokenexception-android-dialog-getapplicationcontext.html&amp;partner=sociable" title="Print this article!"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>


<br/><br/>
	Tags: <a href="http://tech.shantanugoel.com/tag/android" title="Android" rel="tag nofollow">Android</a>, <a href="http://tech.shantanugoel.com/tag/android-dialogs" title="Android Dialogs" rel="tag nofollow">Android Dialogs</a>, <a href="http://tech.shantanugoel.com/tag/badtokenexception-android" title="BadTokenException Android" rel="tag nofollow">BadTokenException Android</a>, <a href="http://tech.shantanugoel.com/tag/getapplicationcontext-android" title="getApplicationContext Android" rel="tag nofollow">getApplicationContext Android</a>, <a href="http://tech.shantanugoel.com/tag/programming" title="Programming" rel="tag nofollow">Programming</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://tech.shantanugoel.com/projects/android/wi-fi-keep-alive" title="Wi-Fi Keep Alive (June 28, 2010)">Wi-Fi Keep Alive</a> (10)</li>
	<li><a href="http://tech.shantanugoel.com/2008/05/03/smart-programming-in-c-using-glib.html" title="Want To Program Smartly In C? Use GLib (May 3, 2008)">Want To Program Smartly In C? Use GLib</a> (16)</li>
	<li><a href="http://tech.shantanugoel.com/2008/02/14/smartphonesnextgen-telephony-news-that-matters.html" title="SmartPhones/NextGen Telephony: News That Matters (February 14, 2008)">SmartPhones/NextGen Telephony: News That Matters</a> (0)</li>
	<li><a href="http://tech.shantanugoel.com/2009/01/13/slow-updates-and-a-small-nugget-post.html" title="Slow Updates And A Small Nugget Post (January 13, 2009)">Slow Updates And A Small Nugget Post</a> (2)</li>
	<li><a href="http://tech.shantanugoel.com/2008/02/04/site-updates-more-content-for-you.html" title="Site Updates: More Content For You (February 4, 2008)">Site Updates: More Content For You</a> (0)</li>
</ul>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/techShantanu?a=-fMu9ZkKWhk:xenTpDFTApI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=-fMu9ZkKWhk:xenTpDFTApI:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=-fMu9ZkKWhk:xenTpDFTApI:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=-fMu9ZkKWhk:xenTpDFTApI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=-fMu9ZkKWhk:xenTpDFTApI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=-fMu9ZkKWhk:xenTpDFTApI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=-fMu9ZkKWhk:xenTpDFTApI:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=-fMu9ZkKWhk:xenTpDFTApI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=-fMu9ZkKWhk:xenTpDFTApI:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=-fMu9ZkKWhk:xenTpDFTApI:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=-fMu9ZkKWhk:xenTpDFTApI:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=I9og5sOYxJI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/techShantanu/~4/-fMu9ZkKWhk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tech.shantanugoel.com/2010/07/08/badtokenexception-android-dialog-getapplicationcontext.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://tech.shantanugoel.com/2010/07/08/badtokenexception-android-dialog-getapplicationcontext.html</feedburner:origLink></item>
		<item>
		<title>Android App: Wi-Fi Keep Alive Updated to 1.2.0</title>
		<link>http://feedproxy.google.com/~r/techShantanu/~3/37pfxeQhE6E/android-app-wi-fi-keep-alive-updated-to-1-2-0.html</link>
		<comments>http://tech.shantanugoel.com/2010/07/04/android-app-wi-fi-keep-alive-updated-to-1-2-0.html#comments</comments>
		<pubDate>Sat, 03 Jul 2010 22:46:36 +0000</pubDate>
		<dc:creator>Shantanu Goel</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[android apps]]></category>
		<category><![CDATA[android wi-fi sleep policy]]></category>
		<category><![CDATA[downloads]]></category>
		<category><![CDATA[phone]]></category>
		<category><![CDATA[Wi-Fi Keep Alive]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://tech.shantanugoel.com/?p=283</guid>
		<description><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ -->Just finished uploading the new version 1.2.0 of my android app Wi-Fi Keep Alive to the Android market. This version has a lot of optimizations and also a few workarounds to overcome the issues few guys were facing with Android&#8217;s in-built handling of wi-fi sleep policies. Please check out the Wi-Fi Keep Alive Home Page [...]]]></description>
			<content:encoded><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p style='border:thin dotted black; padding:3mm;background-color:#fff0f5;'><strong><a href="http://blog.shantanugoel.com">Blog </a>| <a href="http://tech.shantanugoel.com">Tech Blog</a> |  <a href="http://www.safercode.com/blog/">Secure Coding</a> | <a href="http://twitter.com/shantanugoel" rel="nofollow">Twitter</a> | <a href="http://feedproxy.google.com/techShantanu" rel="alternate" type="application/rss+xml">RSS Feed</a> | <a href="http://feedburner.google.com/fb/a/mailverify?uri=techShantanu" rel="nofollow" target="_blank">Get Email Updates</a></strong></p>
<p>Just finished uploading the new version 1.2.0 of my android app <a title="Wi-Fi Keep Alive" href="http://tech.shantanugoel.com/projects/android/wi-fi-keep-alive" target="_self">Wi-Fi Keep Alive</a> to the Android market. This version has a lot of optimizations and also a few workarounds to overcome the issues few guys were facing with Android&#8217;s in-built handling of wi-fi sleep policies. Please check out the <a title="Android Wi-Fi Keep Alive" href="http://tech.shantanugoel.com/projects/android/wi-fi-keep-alive" target="_self">Wi-Fi Keep Alive Home Page</a> for more details and download links etc.</p>
<p>Changes done in this version:</p>
<p>* Added workarounds to take care of sleep policies not working on some phones</p>
<p>* Optimized the code a bit for faster operations</p>
<p>* Added Configuration screens to widgets (pops up whenever widget is added)<!--test-->
<p style='border:thin dotted black; padding:3mm;background-color:#fff0f5;'><a href="http://tech.shantanugoel.com/terms-of-use">©</a> <a href="http://tech.shantanugoel.com/">Shantanu Goel</a> | <a href="http://tech.shantanugoel.com/2010/07/04/android-app-wi-fi-keep-alive-updated-to-1-2-0.html">Android App: Wi-Fi Keep Alive Updated to 1.2.0</a></p>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F04%2Fandroid-app-wi-fi-keep-alive-updated-to-1-2-0.html&amp;title=Android%20App%3A%20Wi-Fi%20Keep%20Alive%20Updated%20to%201.2.0&amp;bodytext=Just%20finished%20uploading%20the%20new%20version%201.2.0%20of%20my%20android%20app%20Wi-Fi%20Keep%20Alive%20to%20the%20Android%20market.%20This%20version%20has%20a%20lot%20of%20optimizations%20and%20also%20a%20few%20workarounds%20to%20overcome%20the%20issues%20few%20guys%20were%20facing%20with%20Android%27s%20in-built%20handling%20of" title="Digg"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F04%2Fandroid-app-wi-fi-keep-alive-updated-to-1-2-0.html&amp;title=Android%20App%3A%20Wi-Fi%20Keep%20Alive%20Updated%20to%201.2.0&amp;notes=Just%20finished%20uploading%20the%20new%20version%201.2.0%20of%20my%20android%20app%20Wi-Fi%20Keep%20Alive%20to%20the%20Android%20market.%20This%20version%20has%20a%20lot%20of%20optimizations%20and%20also%20a%20few%20workarounds%20to%20overcome%20the%20issues%20few%20guys%20were%20facing%20with%20Android%27s%20in-built%20handling%20of" title="del.icio.us"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F04%2Fandroid-app-wi-fi-keep-alive-updated-to-1-2-0.html&amp;title=Android%20App%3A%20Wi-Fi%20Keep%20Alive%20Updated%20to%201.2.0" title="StumbleUpon"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F04%2Fandroid-app-wi-fi-keep-alive-updated-to-1-2-0.html&amp;t=Android%20App%3A%20Wi-Fi%20Keep%20Alive%20Updated%20to%201.2.0" title="Facebook"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F04%2Fandroid-app-wi-fi-keep-alive-updated-to-1-2-0.html&amp;title=Android%20App%3A%20Wi-Fi%20Keep%20Alive%20Updated%20to%201.2.0" title="Reddit"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F04%2Fandroid-app-wi-fi-keep-alive-updated-to-1-2-0.html&amp;partner=sociable" title="Print this article!"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>


<br/><br/>
	Tags: <a href="http://tech.shantanugoel.com/tag/android" title="Android" rel="tag nofollow">Android</a>, <a href="http://tech.shantanugoel.com/tag/android-apps" title="android apps" rel="tag nofollow">android apps</a>, <a href="http://tech.shantanugoel.com/tag/android-wi-fi-sleep-policy" title="android wi-fi sleep policy" rel="tag nofollow">android wi-fi sleep policy</a>, <a href="http://tech.shantanugoel.com/tag/downloads" title="downloads" rel="tag nofollow">downloads</a>, <a href="http://tech.shantanugoel.com/tag/phone" title="phone" rel="tag nofollow">phone</a>, <a href="http://tech.shantanugoel.com/tag/wi-fi-keep-alive" title="Wi-Fi Keep Alive" rel="tag nofollow">Wi-Fi Keep Alive</a>, <a href="http://tech.shantanugoel.com/tag/widget" title="widget" rel="tag nofollow">widget</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://tech.shantanugoel.com/2010/06/28/android-app-wi-fi-keep-alive.html" title="Android App: Wi-Fi Keep Alive (June 28, 2010)">Android App: Wi-Fi Keep Alive</a> (0)</li>
	<li><a href="http://tech.shantanugoel.com/2010/07/22/android-app-wi-fi-keep-alive-updated-1-4-0.html" title="Android App Wi-Fi Keep Alive updated to 1.4.1 (July 22, 2010)">Android App Wi-Fi Keep Alive updated to 1.4.1</a> (0)</li>
	<li><a href="http://tech.shantanugoel.com/projects/android/wi-fi-keep-alive" title="Wi-Fi Keep Alive (June 28, 2010)">Wi-Fi Keep Alive</a> (10)</li>
	<li><a href="http://tech.shantanugoel.com/2010/06/13/android-app-quickly-open-accounts-sync-settings.html" title="Android App: Quickly Open Accounts &#038; Sync Settings (June 13, 2010)">Android App: Quickly Open Accounts &#038; Sync Settings</a> (0)</li>
	<li><a href="http://tech.shantanugoel.com/2008/05/08/the-elusive-super-phone.html" title="The Elusive Super Phone (May 8, 2008)">The Elusive Super Phone</a> (2)</li>
</ul>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/techShantanu?a=37pfxeQhE6E:A-9STH_qOKg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=37pfxeQhE6E:A-9STH_qOKg:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=37pfxeQhE6E:A-9STH_qOKg:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=37pfxeQhE6E:A-9STH_qOKg:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=37pfxeQhE6E:A-9STH_qOKg:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=37pfxeQhE6E:A-9STH_qOKg:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=37pfxeQhE6E:A-9STH_qOKg:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=37pfxeQhE6E:A-9STH_qOKg:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=37pfxeQhE6E:A-9STH_qOKg:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=37pfxeQhE6E:A-9STH_qOKg:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=37pfxeQhE6E:A-9STH_qOKg:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=I9og5sOYxJI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/techShantanu/~4/37pfxeQhE6E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tech.shantanugoel.com/2010/07/04/android-app-wi-fi-keep-alive-updated-to-1-2-0.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tech.shantanugoel.com/2010/07/04/android-app-wi-fi-keep-alive-updated-to-1-2-0.html</feedburner:origLink></item>
		<item>
		<title>Android App: Wi-Fi Keep Alive</title>
		<link>http://feedproxy.google.com/~r/techShantanu/~3/U0Iqa0IdxqI/android-app-wi-fi-keep-alive.html</link>
		<comments>http://tech.shantanugoel.com/2010/06/28/android-app-wi-fi-keep-alive.html#comments</comments>
		<pubDate>Mon, 28 Jun 2010 15:25:48 +0000</pubDate>
		<dc:creator>Shantanu Goel</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[android apps]]></category>
		<category><![CDATA[downloads]]></category>
		<category><![CDATA[phone]]></category>
		<category><![CDATA[Wi-Fi Keep Alive]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://tech.shantanugoel.com/?p=281</guid>
		<description><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ -->I just wrote my second Android App. This again was to scratch an itch of mine but it seems to have become a bit popular already (My first app &#8220;Quick Sync Settings&#8221; did around 400 downloads in 20 days but this one has already surpassed that in less than one day). This app basically allows [...]]]></description>
			<content:encoded><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p style='border:thin dotted black; padding:3mm;background-color:#fff0f5;'><strong><a href="http://blog.shantanugoel.com">Blog </a>| <a href="http://tech.shantanugoel.com">Tech Blog</a> |  <a href="http://www.safercode.com/blog/">Secure Coding</a> | <a href="http://twitter.com/shantanugoel" rel="nofollow">Twitter</a> | <a href="http://feedproxy.google.com/techShantanu" rel="alternate" type="application/rss+xml">RSS Feed</a> | <a href="http://feedburner.google.com/fb/a/mailverify?uri=techShantanu" rel="nofollow" target="_blank">Get Email Updates</a></strong></p>
<p>I just wrote my second Android App. This again was to scratch an itch of mine but it seems to have become a bit popular already (My first app &#8220;<a title="Android Quick Sync Settings App" href="http://tech.shantanugoel.com/projects/android/quick-sync-settings" target="_blank">Quick Sync Settings</a>&#8221; did around 400 downloads in 20 days but this one has already surpassed that in less than one day). This app basically allows you to change the wi-fi sleep policy on android so that you can keep your wi-fi connected even if the phone goes to sleep (i.e. screen turns off). What&#8217;s more is that I&#8217;ve added a widget to it so you don&#8217;t even have to go into the app. Just tap on the widget to cycle through the settings. Please try it out here: <a title="Android Wi-Fi Keep Alive App" href="http://tech.shantanugoel.com/projects/android/wi-fi-keep-alive" target="_self">Android Wi-Fi Keep Alive</a> and let me know if you like it <img src='http://tech.shantanugoel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <!--test-->
<p style='border:thin dotted black; padding:3mm;background-color:#fff0f5;'><a href="http://tech.shantanugoel.com/terms-of-use">©</a> <a href="http://tech.shantanugoel.com/">Shantanu Goel</a> | <a href="http://tech.shantanugoel.com/2010/06/28/android-app-wi-fi-keep-alive.html">Android App: Wi-Fi Keep Alive</a></p>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F06%2F28%2Fandroid-app-wi-fi-keep-alive.html&amp;title=Android%20App%3A%20Wi-Fi%20Keep%20Alive&amp;bodytext=I%20just%20wrote%20my%20second%20Android%20App.%20This%20again%20was%20to%20scratch%20an%20itch%20of%20mine%20but%20it%20seems%20to%20have%20become%20a%20bit%20popular%20already%20%28My%20first%20app%20%22Quick%20Sync%20Settings%22%20did%20around%20400%20downloads%20in%2020%20days%20but%20this%20one%20has%20already%20surpassed%20that%20in%20less%20th" title="Digg"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F06%2F28%2Fandroid-app-wi-fi-keep-alive.html&amp;title=Android%20App%3A%20Wi-Fi%20Keep%20Alive&amp;notes=I%20just%20wrote%20my%20second%20Android%20App.%20This%20again%20was%20to%20scratch%20an%20itch%20of%20mine%20but%20it%20seems%20to%20have%20become%20a%20bit%20popular%20already%20%28My%20first%20app%20%22Quick%20Sync%20Settings%22%20did%20around%20400%20downloads%20in%2020%20days%20but%20this%20one%20has%20already%20surpassed%20that%20in%20less%20th" title="del.icio.us"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F06%2F28%2Fandroid-app-wi-fi-keep-alive.html&amp;title=Android%20App%3A%20Wi-Fi%20Keep%20Alive" title="StumbleUpon"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F06%2F28%2Fandroid-app-wi-fi-keep-alive.html&amp;t=Android%20App%3A%20Wi-Fi%20Keep%20Alive" title="Facebook"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F06%2F28%2Fandroid-app-wi-fi-keep-alive.html&amp;title=Android%20App%3A%20Wi-Fi%20Keep%20Alive" title="Reddit"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F06%2F28%2Fandroid-app-wi-fi-keep-alive.html&amp;partner=sociable" title="Print this article!"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>


<br/><br/>
	Tags: <a href="http://tech.shantanugoel.com/tag/android" title="Android" rel="tag nofollow">Android</a>, <a href="http://tech.shantanugoel.com/tag/android-apps" title="android apps" rel="tag nofollow">android apps</a>, <a href="http://tech.shantanugoel.com/tag/downloads" title="downloads" rel="tag nofollow">downloads</a>, <a href="http://tech.shantanugoel.com/tag/phone" title="phone" rel="tag nofollow">phone</a>, <a href="http://tech.shantanugoel.com/tag/wi-fi-keep-alive" title="Wi-Fi Keep Alive" rel="tag nofollow">Wi-Fi Keep Alive</a>, <a href="http://tech.shantanugoel.com/tag/widget" title="widget" rel="tag nofollow">widget</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://tech.shantanugoel.com/2010/07/04/android-app-wi-fi-keep-alive-updated-to-1-2-0.html" title="Android App: Wi-Fi Keep Alive Updated to 1.2.0 (July 4, 2010)">Android App: Wi-Fi Keep Alive Updated to 1.2.0</a> (0)</li>
	<li><a href="http://tech.shantanugoel.com/projects/android/wi-fi-keep-alive" title="Wi-Fi Keep Alive (June 28, 2010)">Wi-Fi Keep Alive</a> (10)</li>
	<li><a href="http://tech.shantanugoel.com/2010/07/22/android-app-wi-fi-keep-alive-updated-1-4-0.html" title="Android App Wi-Fi Keep Alive updated to 1.4.1 (July 22, 2010)">Android App Wi-Fi Keep Alive updated to 1.4.1</a> (0)</li>
	<li><a href="http://tech.shantanugoel.com/2010/06/13/android-app-quickly-open-accounts-sync-settings.html" title="Android App: Quickly Open Accounts &#038; Sync Settings (June 13, 2010)">Android App: Quickly Open Accounts &#038; Sync Settings</a> (0)</li>
	<li><a href="http://tech.shantanugoel.com/2008/05/08/the-elusive-super-phone.html" title="The Elusive Super Phone (May 8, 2008)">The Elusive Super Phone</a> (2)</li>
</ul>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/techShantanu?a=U0Iqa0IdxqI:Idf1aZsgw1c:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=U0Iqa0IdxqI:Idf1aZsgw1c:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=U0Iqa0IdxqI:Idf1aZsgw1c:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=U0Iqa0IdxqI:Idf1aZsgw1c:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=U0Iqa0IdxqI:Idf1aZsgw1c:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=U0Iqa0IdxqI:Idf1aZsgw1c:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=U0Iqa0IdxqI:Idf1aZsgw1c:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=U0Iqa0IdxqI:Idf1aZsgw1c:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=U0Iqa0IdxqI:Idf1aZsgw1c:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=U0Iqa0IdxqI:Idf1aZsgw1c:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=U0Iqa0IdxqI:Idf1aZsgw1c:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=I9og5sOYxJI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/techShantanu/~4/U0Iqa0IdxqI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tech.shantanugoel.com/2010/06/28/android-app-wi-fi-keep-alive.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tech.shantanugoel.com/2010/06/28/android-app-wi-fi-keep-alive.html</feedburner:origLink></item>
		<item>
		<title>Android vs iPhone: Security Models</title>
		<link>http://feedproxy.google.com/~r/techShantanu/~3/UEvy_BpeN9A/android-vs-iphone-security-models.html</link>
		<comments>http://tech.shantanugoel.com/2010/06/26/android-vs-iphone-security-models.html#comments</comments>
		<pubDate>Fri, 25 Jun 2010 22:02:49 +0000</pubDate>
		<dc:creator>Shantanu Goel</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Phones]]></category>
		<category><![CDATA[Android vs iPhone]]></category>
		<category><![CDATA[app development]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[community]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[mobile devices]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[security models]]></category>

		<guid isPermaLink="false">http://tech.shantanugoel.com/?p=278</guid>
		<description><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ -->Android and iPhone OS (iOS) have been at loggerheads for quite some time now. This is a take on which has a better security model to protect its users. I thought of writing it up because there have been a lot of discussions around me lately about which platform is more secure and I keep [...]]]></description>
			<content:encoded><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p style='border:thin dotted black; padding:3mm;background-color:#fff0f5;'><strong><a href="http://blog.shantanugoel.com">Blog </a>| <a href="http://tech.shantanugoel.com">Tech Blog</a> |  <a href="http://www.safercode.com/blog/">Secure Coding</a> | <a href="http://twitter.com/shantanugoel" rel="nofollow">Twitter</a> | <a href="http://feedproxy.google.com/techShantanu" rel="alternate" type="application/rss+xml">RSS Feed</a> | <a href="http://feedburner.google.com/fb/a/mailverify?uri=techShantanu" rel="nofollow" target="_blank">Get Email Updates</a></strong></p>
<div id="_mcePaste">Android and iPhone OS (iOS) have been at loggerheads for quite some time now. This is a take on which has a better security model to protect its users. I thought of writing it up because there have been a lot of discussions around me lately about which platform is more secure and I keep repeating the same points over and over at every one of them, so thought that in future I&#8217;ll just point them to this page <img src='http://tech.shantanugoel.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </div>
<div id="_mcePaste"><strong>Disclaimer:</strong></div>
<div id="_mcePaste">A. I don&#8217;t guarantee this post to be absolutely correct as I&#8217;m no security researcher or expert but I do have some interest in this field and I&#8217;ve been a developer for some time now on different architectures and OSs especially at OS/driver level and that too in the mobile devices field, so I &#8220;might&#8221; actually be right about a few things here and there..</div>
<div id="_mcePaste">B. I&#8217;m an android user myself but not of the fanboy variety. I&#8217;ll be happy to switch camps any day I get something that appeals to me better. I have love and hate points for almost all platforms available but I&#8217;m using android because &#8220;for me&#8221; it&#8217;s love points slightly outnumber the hate points.</div>
<div id="_mcePaste">OK, on with the points then. Here is the table that I created for this showing points I considered and which side wins each. Don&#8217;t start flaming me though just by seeing the table <img src='http://tech.shantanugoel.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  I will be discussing the points as well below it.</div>
<div></div>
<table border="1" cellspacing="2" cellpadding="2">
<caption><strong>Android vs iPhone: Security Models</strong></caption>
<tbody>
<tr>
<th align="left"></th>
<th align="left">Android</th>
<th align="left">iPhone</th>
</tr>
<tr>
<th align="left">Distribution Medium Security</th>
<td align="center"></td>
<td align="center"></td>
</tr>
<tr>
<td align="right">Approval Process</td>
<td align="center" bgcolor="yellow">NA</td>
<td align="center" bgcolor="yellow">NA</td>
</tr>
<tr>
<td align="right">Phishing</td>
<td align="center" bgcolor="red">Lose</td>
<td align="center" bgcolor="green">Win</td>
</tr>
<tr>
<th align="left">Local Security</th>
<td align="center"></td>
<td align="center"></td>
</tr>
<tr>
<td align="right">Permissions</td>
<td align="center" bgcolor="green">Win</td>
<td align="center" bgcolor="red">Lose</td>
</tr>
<tr>
<td align="right">Environment/Sandbox</td>
<td align="center" bgcolor="yellow">Tie</td>
<td align="center" bgcolor="yellow">Tie</td>
</tr>
<tr>
<th align="left">Open vs Close</th>
<td align="center" bgcolor="green">Slight Win</td>
<td align="center" bgcolor="red">Lose</td>
</tr>
<tr>
<th align="left">App Development Model</th>
<td align="center" bgcolor="green">Slight Win</td>
<td align="center" bgcolor="red">Lose</td>
</tr>
<tr>
<th align="left">Damage Control</th>
<td align="center" bgcolor="yellow">Tie</td>
<td align="center" bgcolor="yellow">Tie</td>
</tr>
<tr>
<th align="left">Summary</th>
<td align="center" bgcolor="yellow">?</td>
<td align="center" bgcolor="yellow">?</td>
</tr>
</tbody>
</table>
<div><span id="more-278"></span></div>
<div id="_mcePaste"></div>
<div><strong>1. Distribution Medium Security:</strong> Apple vets every application that is put on the app store while Google&#8217;s Market Place is unrestricted. How does this affect you security wise?</div>
<div id="_mcePaste"><strong>a. Approval Process: </strong>The biggest myth is that the vetting process is what will save you from malware on app store. IT WON&#8217;T. The Apple app approval process isn&#8217;t defined anywhere but in general it just states that it checks for apps to do what they say they will do. But they don&#8217;t check the source code of the apps and static analysis of binaries can only take you so far (Heck, they have even been inept at catching a whole lot of apps that were using their disallowed private apis which can be found easily using simple tools) . So, anyone actually wanting to write a malware can do it trivially by making the malicious code to run after the app has been approved. The trigger could be time based or could even be done over the web remotely. The app could even have encrypted payloads or download new pieces of code over the web and run them. So, we can safely say that approval process is something that can&#8217;t make things secure for you that way.</div>
<div id="_mcePaste"><strong>Result: No one wins</strong></div>
<div><strong><br />
</strong></div>
<div id="_mcePaste"><strong>b. Phishing:</strong> This is where App store can protect you if someone put an app claiming to be from someone that it isn&#8217;t. e.g. Someone could make an app that claims to be from &#8220;Bank of America&#8221;. In apple&#8217;s case, I&#8217;m 99.99% sure that the app won&#8217;t pass the screening but in Android&#8217;s case, there won&#8217;t be any hassles for it to reach the marketplace. It could be pulled soon after as google learns about it but still even one person&#8217;s damage here is much more than what would have happend on iPhone.</div>
<div id="_mcePaste"><strong>Result: iPhone wins</strong></div>
<div><strong><br />
</strong></div>
<div id="_mcePaste"><strong>2. Local Security:</strong> What about the security in the OS itself once an app is on your phone? This is an important question because 1.) As I noted above, Apple&#8217;s app screening process isn&#8217;t robust enough to catch malware 2.) People can bypass the official distribution medium easily. Android allows to install apps from other sources on most phones by just enabling an option and a huge number of people jailbreak their iPhones and get/use this capability.</div>
<div id="_mcePaste"><strong>a. Permissions:</strong> On Android, an app has to explicitly declare what capabilities/data of the phone it wants to access/use and the user has to explicitly give it those permissions before it is allowed to install, irrespective of from where/how this app is being installed. So, it works even if you are installing the app from your SD card and even if you have rooted your phone. On iPhone, there is no such mechanism of restricting apps. All apps are equal and can access a lot of resources unhindered without the user knowing. So, while installing a single player only game on android you can immediately be suspicious if the app is asking for internet connection or access to your contacts data but on iPhone you will not come to know about this.</div>
<div id="_mcePaste"><strong>Result: Android wins</strong></div>
<div><strong><br />
</strong></div>
<div id="_mcePaste"><strong>b. Environment:</strong> On both platforms, the apps run in their own sandboxes with unique uuids</div>
<div id="_mcePaste"><strong>Result: Tie</strong></div>
<div><strong><br />
</strong></div>
<div id="_mcePaste"><strong>3. Open vs Closed:</strong> Most of the Android code is open source while for iOS, only darwin kernel and some other things like webkit etc are open source. Now, this in itself doesn&#8217;t gurantee to make Android secure but its code does get a lot of scrutiny from open source community as well as lot of other big name companies with commercial interests in Android which allows it to find and fix more bugs and loopholes than iPhone can.</div>
<div id="_mcePaste"><strong>Result: Slight win for Android</strong></div>
<div><strong><br />
</strong></div>
<div id="_mcePaste"><strong>4. App development model:</strong> Most apps for Android are written in java while those in iPhone are written in C/Objective-C. While I&#8217;m myself a big time C lover (Majority of my coding is in C/CPP) but it is indeed a very unforgiving language where you need to be very careful with what you write and has much greater chances of exploits, .e.g, Buffer overflows, as compared to java (Interestingly, all the jailbreaks for iPhone OS have been done using such exploits and have been made available day 0/day 1 mostly.)</div>
<div id="_mcePaste"><strong>Result: Slight win for Android</strong></div>
<div><strong><br />
</strong></div>
<div id="_mcePaste"><strong>5. Damage Control:</strong> What if an app actually got through everything on any of these platforms and started spreading? Both of these platforms have kill switches in the hands of Google/Apple which they can use to remove such malicious apps from the users&#8217; phones remotely.</div>
<div id="_mcePaste"><strong>Result: Tie</strong></div>
<div><strong><br />
</strong></div>
<div id="_mcePaste">Summary: Well, there is no clear winner. Apple is quite good when it comes to protecting you from phishing (though that advantage goes away if you jailbreak and use alternative means to install apps) and Android has a real sound local security system (though it also has the flaw that users might not always understand why an app is requesting a certain critical permission and install it anyways). So, take your pick and let me know what you picked <img src='http://tech.shantanugoel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  and please do tell me if I&#8217;m wrong in any of my points or missed out on something that needs to be compared.</div>
<p><!--test-->
<p style='border:thin dotted black; padding:3mm;background-color:#fff0f5;'><a href="http://tech.shantanugoel.com/terms-of-use">©</a> <a href="http://tech.shantanugoel.com/">Shantanu Goel</a> | <a href="http://tech.shantanugoel.com/2010/06/26/android-vs-iphone-security-models.html">Android vs iPhone: Security Models</a></p>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F06%2F26%2Fandroid-vs-iphone-security-models.html&amp;title=Android%20vs%20iPhone%3A%20Security%20Models&amp;bodytext=Android%20and%20iPhone%20OS%20%28iOS%29%20have%20been%20at%20loggerheads%20for%20quite%20some%20time%20now.%20This%20is%20a%20take%20on%20which%20has%20a%20better%20security%20model%20to%20protect%20its%20users.%20I%20thought%20of%20writing%20it%20up%20because%20there%20have%20been%20a%20lot%20of%20discussions%20around%20me%20lately%20about%20whi" title="Digg"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F06%2F26%2Fandroid-vs-iphone-security-models.html&amp;title=Android%20vs%20iPhone%3A%20Security%20Models&amp;notes=Android%20and%20iPhone%20OS%20%28iOS%29%20have%20been%20at%20loggerheads%20for%20quite%20some%20time%20now.%20This%20is%20a%20take%20on%20which%20has%20a%20better%20security%20model%20to%20protect%20its%20users.%20I%20thought%20of%20writing%20it%20up%20because%20there%20have%20been%20a%20lot%20of%20discussions%20around%20me%20lately%20about%20whi" title="del.icio.us"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F06%2F26%2Fandroid-vs-iphone-security-models.html&amp;title=Android%20vs%20iPhone%3A%20Security%20Models" title="StumbleUpon"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F06%2F26%2Fandroid-vs-iphone-security-models.html&amp;t=Android%20vs%20iPhone%3A%20Security%20Models" title="Facebook"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F06%2F26%2Fandroid-vs-iphone-security-models.html&amp;title=Android%20vs%20iPhone%3A%20Security%20Models" title="Reddit"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F06%2F26%2Fandroid-vs-iphone-security-models.html&amp;partner=sociable" title="Print this article!"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>


<br/><br/>
	Tags: <a href="http://tech.shantanugoel.com/tag/android" title="Android" rel="tag nofollow">Android</a>, <a href="http://tech.shantanugoel.com/tag/android-vs-iphone" title="Android vs iPhone" rel="tag nofollow">Android vs iPhone</a>, <a href="http://tech.shantanugoel.com/tag/app-development" title="app development" rel="tag nofollow">app development</a>, <a href="http://tech.shantanugoel.com/tag/apple" title="Apple" rel="tag nofollow">Apple</a>, <a href="http://tech.shantanugoel.com/tag/application" title="application" rel="tag nofollow">application</a>, <a href="http://tech.shantanugoel.com/tag/code" title="code" rel="tag nofollow">code</a>, <a href="http://tech.shantanugoel.com/tag/community" title="community" rel="tag nofollow">community</a>, <a href="http://tech.shantanugoel.com/tag/google" title="google" rel="tag nofollow">google</a>, <a href="http://tech.shantanugoel.com/tag/iphone" title="iPhone" rel="tag nofollow">iPhone</a>, <a href="http://tech.shantanugoel.com/tag/malware" title="malware" rel="tag nofollow">malware</a>, <a href="http://tech.shantanugoel.com/tag/mobile-devices" title="mobile devices" rel="tag nofollow">mobile devices</a>, <a href="http://tech.shantanugoel.com/tag/open-source" title="open source" rel="tag nofollow">open source</a>, <a href="http://tech.shantanugoel.com/tag/permissions" title="permissions" rel="tag nofollow">permissions</a>, <a href="http://tech.shantanugoel.com/tag/root" title="root" rel="tag nofollow">root</a>, <a href="http://tech.shantanugoel.com/tag/security" title="security" rel="tag nofollow">security</a>, <a href="http://tech.shantanugoel.com/tag/security-models" title="security models" rel="tag nofollow">security models</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://tech.shantanugoel.com/2008/10/21/google-releases-android-source-code.html" title="Google Releases Android Source Code (October 21, 2008)">Google Releases Android Source Code</a> (0)</li>
	<li><a href="http://tech.shantanugoel.com/2010/06/10/apple-magical-dan-eran-gilder.html" title="Apple is Magical: Daniel Eran Gilder is the Living Proof (June 10, 2010)">Apple is Magical: Daniel Eran Gilder is the Living Proof</a> (3)</li>
	<li><a href="http://tech.shantanugoel.com/2008/05/08/the-elusive-super-phone.html" title="The Elusive Super Phone (May 8, 2008)">The Elusive Super Phone</a> (2)</li>
	<li><a href="http://tech.shantanugoel.com/2008/02/14/smartphonesnextgen-telephony-news-that-matters.html" title="SmartPhones/NextGen Telephony: News That Matters (February 14, 2008)">SmartPhones/NextGen Telephony: News That Matters</a> (0)</li>
	<li><a href="http://tech.shantanugoel.com/2008/06/14/more-iphone-3g-nonsense-uncovered-no-tethering.html" title="More iPhone 3G Nonsense Uncovered: No Tethering (June 14, 2008)">More iPhone 3G Nonsense Uncovered: No Tethering</a> (5)</li>
</ul>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/techShantanu?a=UEvy_BpeN9A:j0BjqAxy9T0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=UEvy_BpeN9A:j0BjqAxy9T0:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=UEvy_BpeN9A:j0BjqAxy9T0:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=UEvy_BpeN9A:j0BjqAxy9T0:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=UEvy_BpeN9A:j0BjqAxy9T0:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=UEvy_BpeN9A:j0BjqAxy9T0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=UEvy_BpeN9A:j0BjqAxy9T0:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=UEvy_BpeN9A:j0BjqAxy9T0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=UEvy_BpeN9A:j0BjqAxy9T0:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=UEvy_BpeN9A:j0BjqAxy9T0:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=UEvy_BpeN9A:j0BjqAxy9T0:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=I9og5sOYxJI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/techShantanu/~4/UEvy_BpeN9A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tech.shantanugoel.com/2010/06/26/android-vs-iphone-security-models.html/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		<feedburner:origLink>http://tech.shantanugoel.com/2010/06/26/android-vs-iphone-security-models.html</feedburner:origLink></item>
		<item>
		<title>How To Debug Android Widgets</title>
		<link>http://feedproxy.google.com/~r/techShantanu/~3/UopZqF8VbVM/how-to-debug-android-widgets.html</link>
		<comments>http://tech.shantanugoel.com/2010/06/14/how-to-debug-android-widgets.html#comments</comments>
		<pubDate>Sun, 13 Jun 2010 18:42:42 +0000</pubDate>
		<dc:creator>Shantanu Goel</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Phones]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[android coding]]></category>
		<category><![CDATA[android programming]]></category>
		<category><![CDATA[android widget breakpoint]]></category>
		<category><![CDATA[DDMS]]></category>
		<category><![CDATA[debug android widgets]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://tech.shantanugoel.com/?p=276</guid>
		<description><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ -->For most new android app developers (like me), it is a bit puzzling how to debug the android widgets or how to put a breakpoint in an android widget code. For normal applications, it is quite simple as when you press &#8220;debug&#8221; on the eclipse toolbar, it launches the emulator (or connects to existing emulator/device), [...]]]></description>
			<content:encoded><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p style='border:thin dotted black; padding:3mm;background-color:#fff0f5;'><strong><a href="http://blog.shantanugoel.com">Blog </a>| <a href="http://tech.shantanugoel.com">Tech Blog</a> |  <a href="http://www.safercode.com/blog/">Secure Coding</a> | <a href="http://twitter.com/shantanugoel" rel="nofollow">Twitter</a> | <a href="http://feedproxy.google.com/techShantanu" rel="alternate" type="application/rss+xml">RSS Feed</a> | <a href="http://feedburner.google.com/fb/a/mailverify?uri=techShantanu" rel="nofollow" target="_blank">Get Email Updates</a></strong></p>
<p>For most new android app developers (like me), it is a bit puzzling how to debug the android widgets or how to put a breakpoint in an android widget code. For normal applications, it is quite simple as when you press &#8220;debug&#8221; on the eclipse toolbar, it launches the emulator (or connects to existing emulator/device), syncs your application and launches its main activity and puts the control in your hands if you have put a breakpoint. For widgets, it seems a bit tricky because there is no activity to be launched, so eclipse just syncs your widget&#8217;s apk and installs it and that&#8217;s it. So, is it possible or not to debug widget code? and if yes, then is it very difficult? Fortunately, it is possible and very easy to do but just slightly less intuitive and I couldn&#8217;t find any information about it at Android developers website and learnt it by just fumbling around for a few minutes so thought of posting here for the benefit of other newbies like me.</p>
<p>So, all you need to debug your widget code is almost same as what you do for normal applications. Just follow the below steps:</p>
<p>1. Press &#8220;debug&#8221; on the eclipse menu (or &#8220;run&#8221; it doesn&#8217;t seem to matter)</p>
<p>2. Once the widget apk is sync&#8217;ed and installed onto your emulator/device, switch your eclipse workspace to DDMS mode. You can either do this by pressing the &#8220;DDMS&#8221; labeled button on your top right corner or if you can&#8217;t find it, then do it by going to &#8220;Window-&gt;Open Perspective-&gt;DDMS&#8221;.</p>
<p>3. Select the process name of your widget from the list of processes shown. By default, this list appears at top left of DDMS window. (See screenshot below). If you can&#8217;t see your widget&#8217;s process name in the list, it is possible that the widget is not added to the home screen yet. So, do so.</p>
<p>4. Press the green debug button above the process list (See screenshot below)</p>
<p>5. And that&#8217;s it. Now, if you had put a breakpoint in the code, do something that executes that piece of the code.</p>
<div class="wp-caption aligncenter" style="width: 330px"><a href="http://tech.shantanugoel.com/uploads/debug-android-widget-eclipse.png"><img class=" " title="Debug Android Widgets in Eclipse" src="http://tech.shantanugoel.com/uploads/debug-android-widget-eclipse-thumb.png" alt="Screenshot to show how to debug android widgets in eclipse" width="320" height="200" /></a><p class="wp-caption-text">Click To Enlarge</p></div>
<p>Let me know if this helped you out or if you see anything that I missed out. Happy coding <img src='http://tech.shantanugoel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <!--test-->
<p style='border:thin dotted black; padding:3mm;background-color:#fff0f5;'><a href="http://tech.shantanugoel.com/terms-of-use">©</a> <a href="http://tech.shantanugoel.com/">Shantanu Goel</a> | <a href="http://tech.shantanugoel.com/2010/06/14/how-to-debug-android-widgets.html">How To Debug Android Widgets</a></p>



Share and Enjoy:


	<a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F06%2F14%2Fhow-to-debug-android-widgets.html&amp;title=How%20To%20Debug%20Android%20Widgets&amp;bodytext=For%20most%20new%20android%20app%20developers%20%28like%20me%29%2C%20it%20is%20a%20bit%20puzzling%20how%20to%20debug%20the%20android%20widgets%20or%20how%20to%20put%20a%20breakpoint%20in%20an%20android%20widget%20code.%20For%20normal%20applications%2C%20it%20is%20quite%20simple%20as%20when%20you%20press%20%22debug%22%20on%20the%20eclipse%20toolbar%2C%20i" title="Digg"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F06%2F14%2Fhow-to-debug-android-widgets.html&amp;title=How%20To%20Debug%20Android%20Widgets&amp;notes=For%20most%20new%20android%20app%20developers%20%28like%20me%29%2C%20it%20is%20a%20bit%20puzzling%20how%20to%20debug%20the%20android%20widgets%20or%20how%20to%20put%20a%20breakpoint%20in%20an%20android%20widget%20code.%20For%20normal%20applications%2C%20it%20is%20quite%20simple%20as%20when%20you%20press%20%22debug%22%20on%20the%20eclipse%20toolbar%2C%20i" title="del.icio.us"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F06%2F14%2Fhow-to-debug-android-widgets.html&amp;title=How%20To%20Debug%20Android%20Widgets" title="StumbleUpon"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F06%2F14%2Fhow-to-debug-android-widgets.html&amp;t=How%20To%20Debug%20Android%20Widgets" title="Facebook"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F06%2F14%2Fhow-to-debug-android-widgets.html&amp;title=How%20To%20Debug%20Android%20Widgets" title="Reddit"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F06%2F14%2Fhow-to-debug-android-widgets.html&amp;partner=sociable" title="Print this article!"><img src="http://tech.shantanugoel.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>


<br/><br/>
	Tags: <a href="http://tech.shantanugoel.com/tag/android" title="Android" rel="tag nofollow">Android</a>, <a href="http://tech.shantanugoel.com/tag/android-coding" title="android coding" rel="tag nofollow">android coding</a>, <a href="http://tech.shantanugoel.com/tag/android-programming" title="android programming" rel="tag nofollow">android programming</a>, <a href="http://tech.shantanugoel.com/tag/android-widget-breakpoint" title="android widget breakpoint" rel="tag nofollow">android widget breakpoint</a>, <a href="http://tech.shantanugoel.com/tag/ddms" title="DDMS" rel="tag nofollow">DDMS</a>, <a href="http://tech.shantanugoel.com/tag/debug-android-widgets" title="debug android widgets" rel="tag nofollow">debug android widgets</a>, <a href="http://tech.shantanugoel.com/tag/eclipse" title="eclipse" rel="tag nofollow">eclipse</a>, <a href="http://tech.shantanugoel.com/tag/widgets" title="widgets" rel="tag nofollow">widgets</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://tech.shantanugoel.com/projects/android/wi-fi-keep-alive" title="Wi-Fi Keep Alive (June 28, 2010)">Wi-Fi Keep Alive</a> (10)</li>
	<li><a href="http://tech.shantanugoel.com/2008/02/14/smartphonesnextgen-telephony-news-that-matters.html" title="SmartPhones/NextGen Telephony: News That Matters (February 14, 2008)">SmartPhones/NextGen Telephony: News That Matters</a> (0)</li>
	<li><a href="http://tech.shantanugoel.com/projects/wordpress/shantz-wordpress-qotd" title="Shantz WordPress QOTD (February 10, 2008)">Shantz WordPress QOTD</a> (149)</li>
	<li><a href="http://tech.shantanugoel.com/2008/02/10/my-first-wordpress-plugin-please-welcome-shantz-wp-qotd.html" title="My First WordPress Plugin: Please Welcome shantz-wp-qotd (February 10, 2008)">My First WordPress Plugin: Please Welcome shantz-wp-qotd</a> (7)</li>
	<li><a href="http://tech.shantanugoel.com/2008/02/04/hack-wordpress-i3theme-ie6-sidebar-problem-solved.html" title="Hack: Wordpress i3theme IE6 sidebar problem solved (February 4, 2008)">Hack: Wordpress i3theme IE6 sidebar problem solved</a> (5)</li>
</ul>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/techShantanu?a=UopZqF8VbVM:n2GJb81b5ng:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=UopZqF8VbVM:n2GJb81b5ng:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=UopZqF8VbVM:n2GJb81b5ng:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=UopZqF8VbVM:n2GJb81b5ng:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=UopZqF8VbVM:n2GJb81b5ng:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=UopZqF8VbVM:n2GJb81b5ng:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=UopZqF8VbVM:n2GJb81b5ng:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=UopZqF8VbVM:n2GJb81b5ng:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=UopZqF8VbVM:n2GJb81b5ng:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=UopZqF8VbVM:n2GJb81b5ng:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=UopZqF8VbVM:n2GJb81b5ng:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=I9og5sOYxJI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/techShantanu/~4/UopZqF8VbVM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tech.shantanugoel.com/2010/06/14/how-to-debug-android-widgets.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tech.shantanugoel.com/2010/06/14/how-to-debug-android-widgets.html</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 0.870 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-07-30 20:01:40 -->
