<?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>Mon, 06 Sep 2010 12:18:12 +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>Acer TimelineX 4820TG Mini-Review</title>
		<link>http://feedproxy.google.com/~r/techShantanu/~3/cY6jV9HjZnc/acer-timelinex-4820tg-review.html</link>
		<comments>http://tech.shantanugoel.com/2010/09/06/acer-timelinex-4820tg-review.html#comments</comments>
		<pubDate>Mon, 06 Sep 2010 12:18:12 +0000</pubDate>
		<dc:creator>Shantanu Goel</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[4820tg review]]></category>
		<category><![CDATA[acer]]></category>
		<category><![CDATA[acer 4820tg battery life]]></category>
		<category><![CDATA[acer 4820tg ubuntu]]></category>
		<category><![CDATA[acer timelinex]]></category>
		<category><![CDATA[acer timelinex 4820tg]]></category>
		<category><![CDATA[acer timelinex 4820tg review]]></category>

		<guid isPermaLink="false">http://tech.shantanugoel.com/2010/09/06/acer-timelinex-4820tg-review.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/ -->Blog &#124; Tech Blog &#124;  Secure Coding &#124; Twitter &#124; RSS Feed &#124; Get Email Updates
&#8212;-


This is a small review of my Acer TimelineX 4820TG that I purchased a few days ago. Now, I won’t be talking numbers (like CPU/GPU performance etc) because these things are almost same as per the component used and [...]]]></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>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F09%2F06%2Facer-timelinex-4820tg-review.html&#038;layout=standard&#038;show_faces=false&#038;width=400&#038;action=like&#038;colorscheme=light&#038;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:400px; height:35px;" allowTransparency="true"></iframe><br />&#8212;-<br />
<div style="float:left; margin-right:5px">
<a href="http://api.tweetmeme.com/share?url=http://tech.shantanugoel.com/2010/09/06/acer-timelinex-4820tg-review.html"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://tech.shantanugoel.com/2010/09/06/acer-timelinex-4820tg-review.html" height="61" width="51" /></a>
</div><p>This is a small review of my Acer TimelineX 4820TG that I purchased a few days ago. Now, I won’t be talking numbers (like CPU/GPU performance etc) because these things are almost same as per the component used and have been covered in various other reviews online. What I’ll concentrate more upon are the things that other reviewers don’t look at, or look at purely from numbers perspective which don’t make sense to an average buyer. Please let me know if I miss something out that you want to know about this laptop.</p><!--test --><br />
<p>For clarification, I bought the topmost model of the TimelineX 14 incher series which has a core i5 430m with ATi 5650 1 GB graphics. (Other models have i3 only and one has 512mb graphics, while lowest end has only intel HD graphics). I bought it from Croma Retail for a price of 45,999 INR. So, here it goes:</p>
<p><strong>Frame/Overall Build Quality</strong>: Overall, TimelineX 4820TG “feels” sturdy. It has a brushed metal lid and a plastic bottom. There is some flex all around, especially in the lid area but that is to be expected from a laptop which is so thin. For reference, I compared it to a lot of other laptops with almost similar dimensions, and the build quality and flex was generally on par with all of them, except the Asus Bamboo series and macbooks. I wouldn’t worry too much about it though. It is perfectly luggable through the campus or office, just that I wouldn’t keep anything heavy on top of it (I used to keep a lot of my books and other stuff on top of my previous laptop).</p>
<p> <span id="more-298"></span>
<p><strong>Keyboard: </strong>4820TG’s<strong>&#160;</strong>keyboard is chiclet-type but it feels a bit flimsy as compared to the competition. It seems that the keys do not have support all arund but just at the center, so you can see the key edges tilting while typing. Also, the keys are not beveled but flat, which could put off few users though it was not a hindrance for me. Also, the keys feel just a tad bit mushy. But it takes just a few hours to get used to it. Only thing I’m not sure is whether I’ll still feel the same about this keyboard one year from now.</p>
<p><strong>Touchpad: </strong>The touchpad is awesome. It is fairly big compared to what others give you these days. It is also multi-touch and supports the usual gestures like two fingure scroll, pinch-zoom, rotate, etc and I guess you could extend these pretty easily by using appropriate software. The click buttons are rocker-type, i.e., a single bar serves as the two buttons depending on where you press. It’s ok but you have to be slightly more careful than having two separate buttons here as you have to press near the ends for the clicks to register properly. Though this also becomes a second nature after a few hours of use.</p>
<p><strong>Weight:</strong> The notebook is very light. I haven’t measured it on a weighing scale but for the oomph it packs, it is pretty slim and light. I can lift it easily by two fingers without feeling any strain and can work for hours with it sitting on my lap.</p>
<p><strong>Heat / Temperature / Noise:</strong> The heat and noise emission is very low. While browsing and downloading and doing other general stuff, I couldn hardly feel it heating up while on my laps. The left top area on the underside (just near the vents) becomes a bit warm after prolonged use but still it is not unconfortable. The keyboard and wrist/palm rest areas remain cool throughout. I could not hear the fans at all while doing normal work in the dead of night and this turns into a slight whirr when the laptop is tasked with heavier crunching.</p>
<p><strong>Battery Life:</strong> This is the USP of this model and one of the biggest reason why I went for it. This laptop has switchable graphics, i.e., you can chose to use the onboard intel GMA HD graphics for regular use or multimedia playback (plays HD media beautifully) or switch to the ATi 5650 for heavier tasks like gaming, etc. While using the intel graphics, I could easily browse for around 5 hours. I also downloaded around 500mb of stuff during this time and another 300 mb worth of windows updates were downloaded and installed. Moreover, this was all on normal settings and that too when I had a very poor wi-fi signal. I hadn’t mucked around with any power saving options at all and I believe that doing that, along with dimming the brightness and better wi-fi signal etc would easily pump it over the 6 hour mark. This is not as much as the 8 hours that Acer promises but still, it is excellent and much better than most of the competition. While turning on ATi 5650 for the same type of tasks reduced the battery life to around 3 hours.</p>
<p><strong>Performance:</strong> I didn’t run any benchmarks on the laptop and neither did I do any gaming, but I didn’t feel any slow downs while doing any normal tasks and 720p/1080p media playback even while using the intel graphics.</p>
<p>This is it for now. I’ll keep updating it as more things come to my mind. I hope I have touched upon the significant aspects that I found missing when I was searching around for reviews of this laptop. Let me know if you have any queries for it and I’ll surely update it. Also, I haven’t gone into too much details as I’m primarily a linux user and haven’t explored or tasked this laptop too much till now. I’ll also be installing Ubuntu Maverick Meerkat on this asap and blog about this laptop’s linux compatibility, issues, fixes and workarounds as well.</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/09/06/acer-timelinex-4820tg-review.html">Acer TimelineX 4820TG Mini-Review</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%2F09%2F06%2Facer-timelinex-4820tg-review.html&amp;title=Acer%20TimelineX%204820TG%20Mini-Review&amp;bodytext=This%20is%20a%20small%20review%20of%20my%20Acer%20TimelineX%204820TG%20that%20I%20purchased%20a%20few%20days%20ago.%20Now%2C%20I%20won%E2%80%99t%20be%20talking%20numbers%20%28like%20CPU%2FGPU%20performance%20etc%29%20because%20these%20things%20are%20almost%20same%20as%20per%20the%20component%20used%20and%20have%20been%20covered%20in%20various%20other" 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%2F09%2F06%2Facer-timelinex-4820tg-review.html&amp;title=Acer%20TimelineX%204820TG%20Mini-Review&amp;notes=This%20is%20a%20small%20review%20of%20my%20Acer%20TimelineX%204820TG%20that%20I%20purchased%20a%20few%20days%20ago.%20Now%2C%20I%20won%E2%80%99t%20be%20talking%20numbers%20%28like%20CPU%2FGPU%20performance%20etc%29%20because%20these%20things%20are%20almost%20same%20as%20per%20the%20component%20used%20and%20have%20been%20covered%20in%20various%20other" 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%2F09%2F06%2Facer-timelinex-4820tg-review.html&amp;title=Acer%20TimelineX%204820TG%20Mini-Review" 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%2F09%2F06%2Facer-timelinex-4820tg-review.html&amp;t=Acer%20TimelineX%204820TG%20Mini-Review" 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%2F09%2F06%2Facer-timelinex-4820tg-review.html&amp;title=Acer%20TimelineX%204820TG%20Mini-Review" 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%2F09%2F06%2Facer-timelinex-4820tg-review.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/4820tg-review" title="4820tg review" rel="tag nofollow">4820tg review</a>, <a href="http://tech.shantanugoel.com/tag/acer" title="acer" rel="tag nofollow">acer</a>, <a href="http://tech.shantanugoel.com/tag/acer-4820tg-battery-life" title="acer 4820tg battery life" rel="tag nofollow">acer 4820tg battery life</a>, <a href="http://tech.shantanugoel.com/tag/acer-4820tg-ubuntu" title="acer 4820tg ubuntu" rel="tag nofollow">acer 4820tg ubuntu</a>, <a href="http://tech.shantanugoel.com/tag/acer-timelinex" title="acer timelinex" rel="tag nofollow">acer timelinex</a>, <a href="http://tech.shantanugoel.com/tag/acer-timelinex-4820tg" title="acer timelinex 4820tg" rel="tag nofollow">acer timelinex 4820tg</a>, <a href="http://tech.shantanugoel.com/tag/acer-timelinex-4820tg-review" title="acer timelinex 4820tg review" rel="tag nofollow">acer timelinex 4820tg review</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li>No related posts.</li>
	</ul>


<p><a href="http://feedads.g.doubleclick.net/~a/oLuO_LmUt1nyPUWMyVjwtL_aSLw/0/da"><img src="http://feedads.g.doubleclick.net/~a/oLuO_LmUt1nyPUWMyVjwtL_aSLw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/oLuO_LmUt1nyPUWMyVjwtL_aSLw/1/da"><img src="http://feedads.g.doubleclick.net/~a/oLuO_LmUt1nyPUWMyVjwtL_aSLw/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/techShantanu?a=cY6jV9HjZnc:wSLdsfJwDwU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=cY6jV9HjZnc:wSLdsfJwDwU:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=cY6jV9HjZnc:wSLdsfJwDwU:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=cY6jV9HjZnc:wSLdsfJwDwU:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=cY6jV9HjZnc:wSLdsfJwDwU:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=cY6jV9HjZnc:wSLdsfJwDwU:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=cY6jV9HjZnc:wSLdsfJwDwU:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=cY6jV9HjZnc:wSLdsfJwDwU:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=cY6jV9HjZnc:wSLdsfJwDwU:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=cY6jV9HjZnc:wSLdsfJwDwU:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=cY6jV9HjZnc:wSLdsfJwDwU: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/cY6jV9HjZnc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tech.shantanugoel.com/2010/09/06/acer-timelinex-4820tg-review.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://tech.shantanugoel.com/2010/09/06/acer-timelinex-4820tg-review.html</feedburner:origLink></item>
		<item>
		<title>Solving The Android Permissions And Malware Puzzle</title>
		<link>http://feedproxy.google.com/~r/techShantanu/~3/xvTx8tuc_wk/android-permissions-malware.html</link>
		<comments>http://tech.shantanugoel.com/2010/08/14/android-permissions-malware.html#comments</comments>
		<pubDate>Fri, 13 Aug 2010 19:44:59 +0000</pubDate>
		<dc:creator>Shantanu Goel</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[android apps]]></category>
		<category><![CDATA[android malware]]></category>
		<category><![CDATA[Android Marketplace]]></category>
		<category><![CDATA[android permissions]]></category>
		<category><![CDATA[android programming]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://tech.shantanugoel.com/?p=297</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/ -->Blog &#124; Tech Blog &#124;  Secure Coding &#124; Twitter &#124; RSS Feed &#124; Get Email Updates
&#8212;-


There has been a spate of security reports recently about Android apps being malware or suspicious. Most of these were found baseless but at least one was indeed correct (e.g. The Russian Trojan app). We also know that Android [...]]]></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>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F08%2F14%2Fandroid-permissions-malware.html&#038;layout=standard&#038;show_faces=false&#038;width=400&#038;action=like&#038;colorscheme=light&#038;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:400px; height:35px;" allowTransparency="true"></iframe><br />&#8212;-<br />
<div style="float:left; margin-right:5px">
<a href="http://api.tweetmeme.com/share?url=http://tech.shantanugoel.com/2010/08/14/android-permissions-malware.html"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://tech.shantanugoel.com/2010/08/14/android-permissions-malware.html" height="61" width="51" /></a>
</div><p>There has been a spate of security reports recently about Android apps being malware or suspicious. Most of these were found baseless but at least one was indeed correct (e.g. The Russian Trojan app). We also know that Android has a very good <a title="Android vs iPhone Security Models" href="http://tech.shantanugoel.com/2010/06/26/android-vs-iphone-security-models.html" target="_self">security model</a> but even then, the rest of the reports also makes one think and focus on why an apps requires the permissions that it states it needs?</p><!--test --><br />
<p>We all MUST check the permissions that an app requires before installing it and then contemplate what particular feature of the app would require any mentioned permission. The problem here is two part. First is that the permissions can be cryptic. Now, I can understand most of these as I also develop Android apps but I&#8217;d fathom that a huge majority wouldn&#8217;t. A simple solution to this would be for Google to provide more details (and probably examples) for each permission. One can say that it is difficult and a UI nightmare to include too much of text into the limited space that the mobile screen gets. My suggestion here would be to keep the existing layout as it is, but when someone clicks on a requested permission, he be taken to a new page which describes the permission in detailed but simple words and also provides examples.</p>
<p>But this is just the first part of the current problem. The more important issue most apps are facing these days is &#8220;<strong>permission creep in</strong>&#8220;, i.e., they request for permissions they don&#8217;t really require. This could be because either they are just adding it to their manifest file mistakenly without using them or are taking a long route for solving a problem that should ideally have been solved in a much easier way without requiring excessive permissions. This permission creep in makes even legit apps look bad. e.g. There was this recent case of a <a title="Android (Not So) Malicious Wallpaper App" rel="external nofollow" href="http://techcrunch.com/2010/07/29/android-wallpaper-hack/" target="_blank">wallpaper app</a> which was crucified by mainstream media all over the world because of the permissions it was using and then it turned out to be just that the developer&#8217;s method to solve a particular problem (providing &#8220;favorites&#8221; and &#8220;recommended&#8221; features to users) was long-winded.<span id="more-297"></span>This is quite common today in Android marketplace. e.g. I tried to install the hugely famous &#8220;Chomp SMS&#8221; app today and noticed that it requires my &#8220;location&#8221; as well. Pretty weird that an SMS app needs my location and when combined with the &#8220;Internet&#8221; permission that it requires as well, it made me go &#8220;hmmm&#8221; even though it is tried and tested by a huge number of people without issues. Then I realized that it might need the internet permission for ads (since I was downloading the free version) but still a bit doubtful about location, probably that is needed for ads targeting (especially because it wanted my coarse location only, i.e., cell-triangulation location by which it can easily identify my general region or country, which is all what is needed) but I&#8217;m still not sure. Even the Android Guru <a title="Mark Murphy doubts Android App Evernote Permissions" rel="external nofollow" href="http://commonsware.com/blog/2010/08/12/evernote-why-you-need-think-about-permissions.html" target="_blank">Mark Murphy has similar reservations</a> about another popular app Evernote.</p>
<p>The solution? I think Google should make it mandatory for app publishers to explain in the market that why their app needs each of the permissions it requests. This should be concisely explained to the user before installation and then the user-review feature of Android marketplace can take over to determine whether the explanation given is indeed satisfactory enough or not. This would, e.g., make it immediately clear to any potential Chomp SMS users why it needs the location. I&#8217;m sure this would lead to even more sales for the good and trusted apps as people like me who were skeptical of something can put their doubts to rest. At the same time, it would quickly push the russian trojan like apps down into the oblivion.</p>
<p>A side effect/benefit of this approach will also be that the app authors would look at the permissions that they use more cautiously and would probably try to weed out the unnecessary ones.</p>
<p>Another idea that I have in mind is more community based. I&#8217;m not sure if Google will implement the above idea or even if they do, would they make it mandatory since market already has almost a 100,000 apps without this info. BUT, if someone can take up the mantle of making a community site that documents, with the help of android users, the potential uses of all apps&#8217; permissions and also raise flags on any app having a permission without any apparent need, this would become a boon to the Android users. AppBrain, are you listening? I think this would be a good addition to your already excellent service.</p>
<p>What are your ideas about solving the apps and permissions problems and removing the malware scare that looms upon us? Let me know in the comments..</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/08/14/android-permissions-malware.html">Solving The Android Permissions And Malware Puzzle</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%2F08%2F14%2Fandroid-permissions-malware.html&amp;title=Solving%20The%20Android%20Permissions%20And%20Malware%20Puzzle&amp;bodytext=There%20has%20been%20a%20spate%20of%20security%20reports%20recently%20about%20Android%20apps%20being%20malware%20or%20suspicious.%20Most%20of%20these%20were%20found%20baseless%20but%20at%20least%20one%20was%20indeed%20correct%20%28e.g.%20The%20Russian%20Trojan%20app%29.%20We%20also%20know%20that%20Android%20has%20a%20very%20good%20securit" 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%2F08%2F14%2Fandroid-permissions-malware.html&amp;title=Solving%20The%20Android%20Permissions%20And%20Malware%20Puzzle&amp;notes=There%20has%20been%20a%20spate%20of%20security%20reports%20recently%20about%20Android%20apps%20being%20malware%20or%20suspicious.%20Most%20of%20these%20were%20found%20baseless%20but%20at%20least%20one%20was%20indeed%20correct%20%28e.g.%20The%20Russian%20Trojan%20app%29.%20We%20also%20know%20that%20Android%20has%20a%20very%20good%20securit" 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%2F08%2F14%2Fandroid-permissions-malware.html&amp;title=Solving%20The%20Android%20Permissions%20And%20Malware%20Puzzle" 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%2F08%2F14%2Fandroid-permissions-malware.html&amp;t=Solving%20The%20Android%20Permissions%20And%20Malware%20Puzzle" 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%2F08%2F14%2Fandroid-permissions-malware.html&amp;title=Solving%20The%20Android%20Permissions%20And%20Malware%20Puzzle" 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%2F08%2F14%2Fandroid-permissions-malware.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-malware" title="android malware" rel="tag nofollow">android malware</a>, <a href="http://tech.shantanugoel.com/tag/android-marketplace" title="Android Marketplace" rel="tag nofollow">Android Marketplace</a>, <a href="http://tech.shantanugoel.com/tag/android-permissions" title="android permissions" rel="tag nofollow">android permissions</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/google" title="google" rel="tag nofollow">google</a>, <a href="http://tech.shantanugoel.com/tag/malware" title="malware" rel="tag nofollow">malware</a>, <a href="http://tech.shantanugoel.com/tag/permissions" title="permissions" rel="tag nofollow">permissions</a>, <a href="http://tech.shantanugoel.com/tag/security" title="security" rel="tag nofollow">security</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://tech.shantanugoel.com/2010/06/26/android-vs-iphone-security-models.html" title="Android vs iPhone: Security Models (June 26, 2010)">Android vs iPhone: Security Models</a> (13)</li>
	<li><a href="http://tech.shantanugoel.com/2010/08/08/android-dev-tip-app-not-showing-on-x10-mini-marketplace.html" title="Android Dev Tip: App Not Showing on X10 Mini Marketplace (August 8, 2010)">Android Dev Tip: App Not Showing on X10 Mini Marketplace</a> (7)</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> (23)</li>
	<li><a href="http://tech.shantanugoel.com/2010/08/02/ssh-tunneling-android.html" title="SSH Tunneling On Android (August 2, 2010)">SSH Tunneling On Android</a> (1)</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>


<p><a href="http://feedads.g.doubleclick.net/~a/pzUmJN-9isbMeUnJQP3aDdnwgCQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/pzUmJN-9isbMeUnJQP3aDdnwgCQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/pzUmJN-9isbMeUnJQP3aDdnwgCQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/pzUmJN-9isbMeUnJQP3aDdnwgCQ/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/techShantanu?a=xvTx8tuc_wk:gkzjh_8glvs:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=xvTx8tuc_wk:gkzjh_8glvs:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=xvTx8tuc_wk:gkzjh_8glvs:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=xvTx8tuc_wk:gkzjh_8glvs:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=xvTx8tuc_wk:gkzjh_8glvs:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=xvTx8tuc_wk:gkzjh_8glvs:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=xvTx8tuc_wk:gkzjh_8glvs:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=xvTx8tuc_wk:gkzjh_8glvs:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=xvTx8tuc_wk:gkzjh_8glvs:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=xvTx8tuc_wk:gkzjh_8glvs:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=xvTx8tuc_wk:gkzjh_8glvs: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/xvTx8tuc_wk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tech.shantanugoel.com/2010/08/14/android-permissions-malware.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		<feedburner:origLink>http://tech.shantanugoel.com/2010/08/14/android-permissions-malware.html</feedburner:origLink></item>
		<item>
		<title>Android Dev Tip: App Not Showing on X10 Mini Marketplace</title>
		<link>http://feedproxy.google.com/~r/techShantanu/~3/UWSls8fIWOQ/android-dev-tip-app-not-showing-on-x10-mini-marketplace.html</link>
		<comments>http://tech.shantanugoel.com/2010/08/08/android-dev-tip-app-not-showing-on-x10-mini-marketplace.html#comments</comments>
		<pubDate>Sat, 07 Aug 2010 21:18:06 +0000</pubDate>
		<dc:creator>Shantanu Goel</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[android apps]]></category>
		<category><![CDATA[android development]]></category>
		<category><![CDATA[Android Manifest]]></category>
		<category><![CDATA[Android Marketplace]]></category>
		<category><![CDATA[android programming]]></category>
		<category><![CDATA[android tips]]></category>
		<category><![CDATA[Wi-Fi Keep Alive]]></category>
		<category><![CDATA[Xperia X10 Mini]]></category>

		<guid isPermaLink="false">http://tech.shantanugoel.com/?p=295</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/ -->Blog &#124; Tech Blog &#124;  Secure Coding &#124; Twitter &#124; RSS Feed &#124; Get Email Updates
&#8212;-


Many Android Developers (and users) get confused that why a certain app isn&#8217;t showing up on the new Xperia X10 Mini (and few other) phones. This happens even if they support all android versions and have published their apps [...]]]></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>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F08%2F08%2Fandroid-dev-tip-app-not-showing-on-x10-mini-marketplace.html&#038;layout=standard&#038;show_faces=false&#038;width=400&#038;action=like&#038;colorscheme=light&#038;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:400px; height:35px;" allowTransparency="true"></iframe><br />&#8212;-<br />
<div style="float:left; margin-right:5px">
<a href="http://api.tweetmeme.com/share?url=http://tech.shantanugoel.com/2010/08/08/android-dev-tip-app-not-showing-on-x10-mini-marketplace.html"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://tech.shantanugoel.com/2010/08/08/android-dev-tip-app-not-showing-on-x10-mini-marketplace.html" height="61" width="51" /></a>
</div><p>Many Android Developers (and users) get confused that why a certain app isn&#8217;t showing up on the new Xperia X10 Mini (and few other) phones. This happens even if they support all android versions and have published their apps for all countries, so that shouldn&#8217;t be the issue. I came across this as well when few people mentioned that they couldn&#8217;t find my app <a title="Android Wi-Fi Keep Alive" href="http://tech.shantanugoel.com/projects/android/wi-fi-keep-alive" target="_blank">Wi-Fi Keep Alive</a> in the X10 mini marketplace. On some digging into the android docs and the X10 mini specs, I found the issue.</p><!--test --><br />
<p>The problem is that the X10 mini has a very small screen with only a QVGA resolution. This screen size/resolution wasn&#8217;t supported by Android until recently and the Android system might not be able to scale resources and layouts designed for other screen sizes well enough to suit the X10 mini. Hence, the Android system designers have chosen that any app which does not declare explicit support for small screens (i.e., the app dev has tested his app on small screens and made any changes, if needed, and then declared that everything works fine in the Android Manifest) then it is considered not compatible by default and hence, the Android marketplace will filter your app out.</p>
<p>Now, this is a big loss. A lot of X10 minis were sold and there are lot of new low-tier and cheap Android smartphones coming out with this resolution, so it is a significant market share that you can&#8217;t afford to lose. The solution is simple. If the app does indeed work fine on small screens (or you have fixed it to work), then all you got to do is add the below mentioned line in your AndroidManifest.xml:</p>
<blockquote><p>&lt;supports-screens android:smallScreens=&#8221;true&#8221; /&gt;</p></blockquote>
<p>That&#8217;s it. Your app should now show up fine in all screen sizes markets. Note that for all other screen sizes and resolutions, Android considers the default support as true and your app will show in those markets even if you don&#8217;t make any explicit declarations for them. You can read more about this here: <a rel="external nofollow" href="http://developer.android.com/guide/practices/screens_support.html" target="_blank"title="Android Multiple Screen Support">Supporting Multiple Screens in Android</a></p>
<p><strong>Update: </strong><a rel="external nofollow" href="http://www.blundell-apps.com/" target="_blank">Blundell</a> pointed out in the comments that <a rel="external nofollow" href="http://developer.android.com/guide/practices/screens_support.html%23defaults" target="_blank">Android documentation</a> says</p>
<blockquote><p>If android:minSdkVersion or android:targetSdkVersion is &#8220;4&#8243; (Android 1.6) or higher, the default value for everything is true. If your application requires Android 1.6 features, but does not support these densities and/or screen sizes, you need to set the appropriate attributes to false.</p></blockquote>
<p>This should mean that small screens should be set as supported by default if you have your minSdk <strong>or</strong> targetSdk  set to anything above or equal to 4. However, in my case, my apps had minSdk as 3 but targetSdk as 7 or 8 but still they didn&#8217;t show up in X10 mini marketplace till I added the smallScreens support to true in my manifest file. If anyone has any ideas about as to why it was like this, please let me know.</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/08/08/android-dev-tip-app-not-showing-on-x10-mini-marketplace.html">Android Dev Tip: App Not Showing on X10 Mini Marketplace</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%2F08%2F08%2Fandroid-dev-tip-app-not-showing-on-x10-mini-marketplace.html&amp;title=Android%20Dev%20Tip%3A%20App%20Not%20Showing%20on%20X10%20Mini%20Marketplace&amp;bodytext=Many%20Android%20Developers%20%28and%20users%29%20get%20confused%20that%20why%20a%20certain%20app%20isn%27t%20showing%20up%20on%20the%20new%20Xperia%20X10%20Mini%20%28and%20few%20other%29%20phones.%20This%20happens%20even%20if%20they%20support%20all%20android%20versions%20and%20have%20published%20their%20apps%20for%20all%20countries%2C%20so%20tha" 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%2F08%2F08%2Fandroid-dev-tip-app-not-showing-on-x10-mini-marketplace.html&amp;title=Android%20Dev%20Tip%3A%20App%20Not%20Showing%20on%20X10%20Mini%20Marketplace&amp;notes=Many%20Android%20Developers%20%28and%20users%29%20get%20confused%20that%20why%20a%20certain%20app%20isn%27t%20showing%20up%20on%20the%20new%20Xperia%20X10%20Mini%20%28and%20few%20other%29%20phones.%20This%20happens%20even%20if%20they%20support%20all%20android%20versions%20and%20have%20published%20their%20apps%20for%20all%20countries%2C%20so%20tha" 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%2F08%2F08%2Fandroid-dev-tip-app-not-showing-on-x10-mini-marketplace.html&amp;title=Android%20Dev%20Tip%3A%20App%20Not%20Showing%20on%20X10%20Mini%20Marketplace" 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%2F08%2F08%2Fandroid-dev-tip-app-not-showing-on-x10-mini-marketplace.html&amp;t=Android%20Dev%20Tip%3A%20App%20Not%20Showing%20on%20X10%20Mini%20Marketplace" 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%2F08%2F08%2Fandroid-dev-tip-app-not-showing-on-x10-mini-marketplace.html&amp;title=Android%20Dev%20Tip%3A%20App%20Not%20Showing%20on%20X10%20Mini%20Marketplace" 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%2F08%2F08%2Fandroid-dev-tip-app-not-showing-on-x10-mini-marketplace.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-development" title="android development" rel="tag nofollow">android development</a>, <a href="http://tech.shantanugoel.com/tag/android-manifest" title="Android Manifest" rel="tag nofollow">Android Manifest</a>, <a href="http://tech.shantanugoel.com/tag/android-marketplace" title="Android Marketplace" rel="tag nofollow">Android Marketplace</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-tips" title="android tips" rel="tag nofollow">android tips</a>, <a href="http://tech.shantanugoel.com/tag/programming" title="Programming" rel="tag nofollow">Programming</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/xperia-x10-mini" title="Xperia X10 Mini" rel="tag nofollow">Xperia X10 Mini</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://tech.shantanugoel.com/2010/08/14/android-permissions-malware.html" title="Solving The Android Permissions And Malware Puzzle (August 14, 2010)">Solving The Android Permissions And Malware Puzzle</a> (8)</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> (23)</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>
	<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>
</ul>


<p><a href="http://feedads.g.doubleclick.net/~a/mgznvjHjDErRQ_g0mYC_B6r2Jr0/0/da"><img src="http://feedads.g.doubleclick.net/~a/mgznvjHjDErRQ_g0mYC_B6r2Jr0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/mgznvjHjDErRQ_g0mYC_B6r2Jr0/1/da"><img src="http://feedads.g.doubleclick.net/~a/mgznvjHjDErRQ_g0mYC_B6r2Jr0/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/techShantanu?a=UWSls8fIWOQ:4mN2xVZrBOA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=UWSls8fIWOQ:4mN2xVZrBOA:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=UWSls8fIWOQ:4mN2xVZrBOA:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=UWSls8fIWOQ:4mN2xVZrBOA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=UWSls8fIWOQ:4mN2xVZrBOA:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=UWSls8fIWOQ:4mN2xVZrBOA:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=UWSls8fIWOQ:4mN2xVZrBOA:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=UWSls8fIWOQ:4mN2xVZrBOA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=UWSls8fIWOQ:4mN2xVZrBOA:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=UWSls8fIWOQ:4mN2xVZrBOA:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=UWSls8fIWOQ:4mN2xVZrBOA: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/UWSls8fIWOQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tech.shantanugoel.com/2010/08/08/android-dev-tip-app-not-showing-on-x10-mini-marketplace.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		<feedburner:origLink>http://tech.shantanugoel.com/2010/08/08/android-dev-tip-app-not-showing-on-x10-mini-marketplace.html</feedburner:origLink></item>
		<item>
		<title>SSH Tunneling On Android</title>
		<link>http://feedproxy.google.com/~r/techShantanu/~3/v8Ts-MpqdcI/ssh-tunneling-android.html</link>
		<comments>http://tech.shantanugoel.com/2010/08/02/ssh-tunneling-android.html#comments</comments>
		<pubDate>Mon, 02 Aug 2010 10:53:36 +0000</pubDate>
		<dc:creator>Shantanu Goel</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[android apps]]></category>
		<category><![CDATA[android connectbot]]></category>
		<category><![CDATA[android secure browsing]]></category>
		<category><![CDATA[android secure tunnel]]></category>
		<category><![CDATA[android ssh tunneling]]></category>
		<category><![CDATA[daap]]></category>
		<category><![CDATA[daap protocol]]></category>
		<category><![CDATA[itunes daap media server]]></category>
		<category><![CDATA[mt-daapd]]></category>

		<guid isPermaLink="false">http://tech.shantanugoel.com/?p=294</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/ -->Blog &#124; Tech Blog &#124;  Secure Coding &#124; Twitter &#124; RSS Feed &#124; Get Email Updates
&#8212;-


If you want to have a secure browsing environment or just want to access your home network securely without exposing extra services to the internet and without the mess that comes with setting up and maintaining a VPN server, [...]]]></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>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F08%2F02%2Fssh-tunneling-android.html&#038;layout=standard&#038;show_faces=false&#038;width=400&#038;action=like&#038;colorscheme=light&#038;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:400px; height:35px;" allowTransparency="true"></iframe><br />&#8212;-<br />
<div style="float:left; margin-right:5px">
<a href="http://api.tweetmeme.com/share?url=http://tech.shantanugoel.com/2010/08/02/ssh-tunneling-android.html"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://tech.shantanugoel.com/2010/08/02/ssh-tunneling-android.html" height="61" width="51" /></a>
</div><p>If you want to have a secure browsing environment or just want to access your home network securely without exposing extra services to the internet and without the mess that comes with setting up and maintaining a VPN server, ssh tunneling is your rescuer. In this post, I&#8217;ll tell you how to setup an ssh tunnel to your home network easily. Also look for some bonus tips at the end <img src='http://tech.shantanugoel.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p><!--test --><br />
<p>This article assumes that you have already installed and setup a ssh server (you can probably use openssh). Also, it assumes that the ssh server is accessible from the internet (i.e. you have appropriately forwarded the port on which ssh server is running). I&#8217;d also recommend that if you do not have a static IP for your home network, then sign up for a dynamic DNS service (I use dyndns.org) so that you can access your home network easily by using a domain name (e.g. myserver.dyndns.org) from outside.</p>
<p>Now, here is a step by step guide on what to do on your Android Phone (I&#8217;m doing this on a Nexus one but should be same for you as well):<span id="more-294"></span>1. Install an app called &#8220;connectbot&#8221; from the android marketplace. It is a FREE ssh client for android.</p>
<p>2. Open it and add the IP (or dynamic domain name as suggested above) and the port on which ssh server is running to the bottom and connect.<br />
<a href="http://tech.shantanugoel.com/uploads/ssh-tunnel-1.png"><img title="Android SSH Tunnel 1" src="http://tech.shantanugoel.com/uploads/ssh-tunnel-1-thumb.png" alt="Android SSH Tunnel 1" /></a></p>
<p>2. Once connected, press the menu button and select the icon which says &#8220;Port Forwards&#8221;<br />
<a href="http://tech.shantanugoel.com/uploads/ssh-tunnel-2.png"><img title="Android SSH Tunnel 2" src="http://tech.shantanugoel.com/uploads/ssh-tunnel-2-thumb.png" alt="Android SSH Tunnel 2" /></a></p>
<p>3. On this screen you can configure the ports to be used for tunneling. As you can see I already have my firefly server port configured for music streaming over itunes&#8217; DAAP protocol. Now, you can press &#8220;menu&#8221; button and click on &#8220;Add ports&#8221; and go to step 4.<br />
<a href="http://tech.shantanugoel.com/uploads/ssh-tunnel-3.png"><img title="Android SSH Tunnel 3" src="http://tech.shantanugoel.com/uploads/ssh-tunnel-3-thumb.png" alt="Android SSH Tunnel 3" /></a></p>
<p>4. You will see the dialog box as shown below. Here you can configure mainly two types of ports.<br />
<a href="http://tech.shantanugoel.com/uploads/ssh-tunnel-4.png"><img title="Android SSH Tunnel 4" src="http://tech.shantanugoel.com/uploads/ssh-tunnel-4-thumb.png" alt="Android SSH Tunnel 4" /></a></p>
<p>4a) First is for services that you want to access already running on your home network. e.g. in my case, I have a firefly media server (mt-daapd) running on a port &#8220;12345&#8243; and I want to access this just like I was on LAN over my home wi-fi. In such a case, select &#8220;type&#8221; as &#8220;Local&#8221;, source port as , say &#8220;56000&#8243; and destination as &#8220;ip:port&#8221; where ip is the your home local area IP of the machine on which the server is running (My server runs on router itself, which has IP 192.168.1.1) and the port is the actual port on which server is running (e.g. 12345 as we mentioned above). After doing this, just open the respective client app on your phone which wants to connect to this server and enter &#8220;127.0.0.1&#8243; as the ip and &#8220;56000&#8243; as the port to connect to and it will connect to server as if you were on your home network even over 3G or your office wi-fi.</p>
<p>4b) Secondly, you can use this tunnel to route all traffic to internet through home connection. For this, choose the type as &#8220;dynamic&#8221; and source port as, say, &#8221; 56001&#8243;. You don&#8217;t need to select a destination port here because any traffic that comes over this tunnel will be routed back to the internet using the destination ip and port as desired, e.g., specified in a browser&#8217;s address bar.</p>
<p><strong>Bonus: </strong>As I promised above, here is the bonus. For media streaming, you can use mt-daapd or firefly server on your home network, especially on a router like asus wl-500 or any other hackable router with custom firmware. For more info about how to set it up, you can check these posts:<a title="latest firefly server for router" href="http://tech.shantanugoel.com/2009/07/03/compiling-latest-firefly-mt-daapd-asus-wl-500w.html" target="_blank"> Latest Firefly server for your router</a> and <a title="Firefly sqlite error solution" href="http://tech.shantanugoel.com/2010/07/26/firefly-sqlite-error-unable-to-open-database-file-solution.html" target="_blank">firefly sqlite error solution</a>.  For android side things, install the &#8220;DAAP Client&#8221; app from the market place and click on &#8220;Add server&#8221; option and follow step 4a as mentioned above. And there it is, your own music streaming service anywhere in the world, over edge/3G or any other network <img src='http://tech.shantanugoel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </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/08/02/ssh-tunneling-android.html">SSH Tunneling On Android</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%2F08%2F02%2Fssh-tunneling-android.html&amp;title=SSH%20Tunneling%20On%20Android&amp;bodytext=If%20you%20want%20to%20have%20a%20secure%20browsing%20environment%20or%20just%20want%20to%20access%20your%20home%20network%20securely%20without%20exposing%20extra%20services%20to%20the%20internet%20and%20without%20the%20mess%20that%20comes%20with%20setting%20up%20and%20maintaining%20a%20VPN%20server%2C%20ssh%20tunneling%20is%20your%20re" 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%2F08%2F02%2Fssh-tunneling-android.html&amp;title=SSH%20Tunneling%20On%20Android&amp;notes=If%20you%20want%20to%20have%20a%20secure%20browsing%20environment%20or%20just%20want%20to%20access%20your%20home%20network%20securely%20without%20exposing%20extra%20services%20to%20the%20internet%20and%20without%20the%20mess%20that%20comes%20with%20setting%20up%20and%20maintaining%20a%20VPN%20server%2C%20ssh%20tunneling%20is%20your%20re" 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%2F08%2F02%2Fssh-tunneling-android.html&amp;title=SSH%20Tunneling%20On%20Android" 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%2F08%2F02%2Fssh-tunneling-android.html&amp;t=SSH%20Tunneling%20On%20Android" 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%2F08%2F02%2Fssh-tunneling-android.html&amp;title=SSH%20Tunneling%20On%20Android" 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%2F08%2F02%2Fssh-tunneling-android.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-connectbot" title="android connectbot" rel="tag nofollow">android connectbot</a>, <a href="http://tech.shantanugoel.com/tag/android-secure-browsing" title="android secure browsing" rel="tag nofollow">android secure browsing</a>, <a href="http://tech.shantanugoel.com/tag/android-secure-tunnel" title="android secure tunnel" rel="tag nofollow">android secure tunnel</a>, <a href="http://tech.shantanugoel.com/tag/android-ssh-tunneling" title="android ssh tunneling" rel="tag nofollow">android ssh tunneling</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/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><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://tech.shantanugoel.com/2010/07/26/firefly-sqlite-error-unable-to-open-database-file-solution.html" title="Firefly / sqlite error &#8220;unable to open database file&#8221; Solution (July 26, 2010)">Firefly / sqlite error &#8220;unable to open database file&#8221; Solution</a> (1)</li>
	<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> (17)</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> (23)</li>
	<li><a href="http://tech.shantanugoel.com/2010/08/14/android-permissions-malware.html" title="Solving The Android Permissions And Malware Puzzle (August 14, 2010)">Solving The Android Permissions And Malware Puzzle</a> (8)</li>
	<li><a href="http://tech.shantanugoel.com/2010/08/08/android-dev-tip-app-not-showing-on-x10-mini-marketplace.html" title="Android Dev Tip: App Not Showing on X10 Mini Marketplace (August 8, 2010)">Android Dev Tip: App Not Showing on X10 Mini Marketplace</a> (7)</li>
</ul>


<p><a href="http://feedads.g.doubleclick.net/~a/M44Ml-ctz6WjPrfXPKITbCcCun8/0/da"><img src="http://feedads.g.doubleclick.net/~a/M44Ml-ctz6WjPrfXPKITbCcCun8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/M44Ml-ctz6WjPrfXPKITbCcCun8/1/da"><img src="http://feedads.g.doubleclick.net/~a/M44Ml-ctz6WjPrfXPKITbCcCun8/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/techShantanu?a=v8Ts-MpqdcI:i5U8rFvR5s4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=v8Ts-MpqdcI:i5U8rFvR5s4:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=v8Ts-MpqdcI:i5U8rFvR5s4:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=v8Ts-MpqdcI:i5U8rFvR5s4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=v8Ts-MpqdcI:i5U8rFvR5s4:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=v8Ts-MpqdcI:i5U8rFvR5s4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=v8Ts-MpqdcI:i5U8rFvR5s4:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=v8Ts-MpqdcI:i5U8rFvR5s4:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/techShantanu?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=v8Ts-MpqdcI:i5U8rFvR5s4:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=v8Ts-MpqdcI:i5U8rFvR5s4:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=v8Ts-MpqdcI:i5U8rFvR5s4: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/v8Ts-MpqdcI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tech.shantanugoel.com/2010/08/02/ssh-tunneling-android.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://tech.shantanugoel.com/2010/08/02/ssh-tunneling-android.html</feedburner:origLink></item>
		<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/ -->Blog &#124; Tech Blog &#124;  Secure Coding &#124; Twitter &#124; RSS Feed &#124; Get Email Updates
&#8212;-


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 [...]]]></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>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F30%2Fcamera-led-flashlight-non-rooted-android-phones.html&#038;layout=standard&#038;show_faces=false&#038;width=400&#038;action=like&#038;colorscheme=light&#038;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:400px; height:35px;" allowTransparency="true"></iframe><br />&#8212;-<br />
<div style="float:left; margin-right:5px">
<a href="http://api.tweetmeme.com/share?url=http://tech.shantanugoel.com/2010/07/30/camera-led-flashlight-non-rooted-android-phones.html"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://tech.shantanugoel.com/2010/07/30/camera-led-flashlight-non-rooted-android-phones.html" height="61" width="51" /></a>
</div><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><!--test --><br />
<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></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/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> (23)</li>
	<li><a href="http://tech.shantanugoel.com/2010/08/02/ssh-tunneling-android.html" title="SSH Tunneling On Android (August 2, 2010)">SSH Tunneling On Android</a> (1)</li>
	<li><a href="http://tech.shantanugoel.com/2010/08/14/android-permissions-malware.html" title="Solving The Android Permissions And Malware Puzzle (August 14, 2010)">Solving The Android Permissions And Malware Puzzle</a> (8)</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> (16)</li>
</ul>


<p><a href="http://feedads.g.doubleclick.net/~a/qcLPBHINBCUvvoZbLb8H-muNs2o/0/da"><img src="http://feedads.g.doubleclick.net/~a/qcLPBHINBCUvvoZbLb8H-muNs2o/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/qcLPBHINBCUvvoZbLb8H-muNs2o/1/da"><img src="http://feedads.g.doubleclick.net/~a/qcLPBHINBCUvvoZbLb8H-muNs2o/1/di" border="0" ismap="true"></img></a></p><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>7</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/ -->Blog &#124; Tech Blog &#124;  Secure Coding &#124; Twitter &#124; RSS Feed &#124; Get Email Updates
&#8212;-


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 [...]]]></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>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F26%2Ffirefly-sqlite-error-unable-to-open-database-file-solution.html&#038;layout=standard&#038;show_faces=false&#038;width=400&#038;action=like&#038;colorscheme=light&#038;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:400px; height:35px;" allowTransparency="true"></iframe><br />&#8212;-<br />
<div style="float:left; margin-right:5px">
<a href="http://api.tweetmeme.com/share?url=http://tech.shantanugoel.com/2010/07/26/firefly-sqlite-error-unable-to-open-database-file-solution.html"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://tech.shantanugoel.com/2010/07/26/firefly-sqlite-error-unable-to-open-database-file-solution.html" height="61" width="51" /></a>
</div><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="http://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><!--test --><br />
<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' /> </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/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> (17)</li>
	<li><a href="http://tech.shantanugoel.com/2010/08/02/ssh-tunneling-android.html" title="SSH Tunneling On Android (August 2, 2010)">SSH Tunneling On Android</a> (1)</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>
</ul>


<p><a href="http://feedads.g.doubleclick.net/~a/Hru9-xZamL0F1VmJZZPTKlHzmRs/0/da"><img src="http://feedads.g.doubleclick.net/~a/Hru9-xZamL0F1VmJZZPTKlHzmRs/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Hru9-xZamL0F1VmJZZPTKlHzmRs/1/da"><img src="http://feedads.g.doubleclick.net/~a/Hru9-xZamL0F1VmJZZPTKlHzmRs/1/di" border="0" ismap="true"></img></a></p><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/ -->Blog &#124; Tech Blog &#124;  Secure Coding &#124; Twitter &#124; RSS Feed &#124; Get Email Updates
&#8212;-


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 [...]]]></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>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F22%2Fandroid-app-wi-fi-keep-alive-updated-1-4-0.html&#038;layout=standard&#038;show_faces=false&#038;width=400&#038;action=like&#038;colorscheme=light&#038;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:400px; height:35px;" allowTransparency="true"></iframe><br />&#8212;-<br />
<div style="float:left; margin-right:5px">
<a href="http://api.tweetmeme.com/share?url=http://tech.shantanugoel.com/2010/07/22/android-app-wi-fi-keep-alive-updated-1-4-0.html"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://tech.shantanugoel.com/2010/07/22/android-app-wi-fi-keep-alive-updated-1-4-0.html" height="61" width="51" /></a>
</div><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><!--test --><br />
<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></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/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> (23)</li>
	<li><a href="http://tech.shantanugoel.com/2010/08/08/android-dev-tip-app-not-showing-on-x10-mini-marketplace.html" title="Android Dev Tip: App Not Showing on X10 Mini Marketplace (August 8, 2010)">Android Dev Tip: App Not Showing on X10 Mini Marketplace</a> (7)</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/08/02/ssh-tunneling-android.html" title="SSH Tunneling On Android (August 2, 2010)">SSH Tunneling On Android</a> (1)</li>
</ul>


<p><a href="http://feedads.g.doubleclick.net/~a/Fh7EIWe4s-1WlXp3QBQljp6Xtto/0/da"><img src="http://feedads.g.doubleclick.net/~a/Fh7EIWe4s-1WlXp3QBQljp6Xtto/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Fh7EIWe4s-1WlXp3QBQljp6Xtto/1/da"><img src="http://feedads.g.doubleclick.net/~a/Fh7EIWe4s-1WlXp3QBQljp6Xtto/1/di" border="0" ismap="true"></img></a></p><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/ -->Blog &#124; Tech Blog &#124;  Secure Coding &#124; Twitter &#124; RSS Feed &#124; Get Email Updates
&#8212;-


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 [...]]]></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>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F13%2Fcannot-change-channel-problem-with-asus-wl-500w.html&#038;layout=standard&#038;show_faces=false&#038;width=400&#038;action=like&#038;colorscheme=light&#038;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:400px; height:35px;" allowTransparency="true"></iframe><br />&#8212;-<br />
<div style="float:left; margin-right:5px">
<a href="http://api.tweetmeme.com/share?url=http://tech.shantanugoel.com/2010/07/13/cannot-change-channel-problem-with-asus-wl-500w.html"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://tech.shantanugoel.com/2010/07/13/cannot-change-channel-problem-with-asus-wl-500w.html" height="61" width="51" /></a>
</div><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><!--test --><br />
<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></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/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>


<p><a href="http://feedads.g.doubleclick.net/~a/Wn6vUcfXI_stfcaTU7nT6A70TmI/0/da"><img src="http://feedads.g.doubleclick.net/~a/Wn6vUcfXI_stfcaTU7nT6A70TmI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Wn6vUcfXI_stfcaTU7nT6A70TmI/1/da"><img src="http://feedads.g.doubleclick.net/~a/Wn6vUcfXI_stfcaTU7nT6A70TmI/1/di" border="0" ismap="true"></img></a></p><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/ -->Blog &#124; Tech Blog &#124;  Secure Coding &#124; Twitter &#124; RSS Feed &#124; Get Email Updates
&#8212;-


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 [...]]]></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>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F09%2Fmute-answer-skype-calls-bluetooth-headset-button-in-linux.html&#038;layout=standard&#038;show_faces=false&#038;width=400&#038;action=like&#038;colorscheme=light&#038;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:400px; height:35px;" allowTransparency="true"></iframe><br />&#8212;-<br />
<div style="float:left; margin-right:5px">
<a href="http://api.tweetmeme.com/share?url=http://tech.shantanugoel.com/2010/07/09/mute-answer-skype-calls-bluetooth-headset-button-in-linux.html"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://tech.shantanugoel.com/2010/07/09/mute-answer-skype-calls-bluetooth-headset-button-in-linux.html" height="61" width="51" /></a>
</div><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><!--test --><br />
<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>77</td>
		</tr>
	</table>
	
</div>

<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>


<p><a href="http://feedads.g.doubleclick.net/~a/bwaDYgOjVKjTkr3dAHe8wYCEEdM/0/da"><img src="http://feedads.g.doubleclick.net/~a/bwaDYgOjVKjTkr3dAHe8wYCEEdM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/bwaDYgOjVKjTkr3dAHe8wYCEEdM/1/da"><img src="http://feedads.g.doubleclick.net/~a/bwaDYgOjVKjTkr3dAHe8wYCEEdM/1/di" border="0" ismap="true"></img></a></p><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/ -->Blog &#124; Tech Blog &#124;  Secure Coding &#124; Twitter &#124; RSS Feed &#124; Get Email Updates
&#8212;-


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 [...]]]></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>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftech.shantanugoel.com%2F2010%2F07%2F08%2Fbadtokenexception-android-dialog-getapplicationcontext.html&#038;layout=standard&#038;show_faces=false&#038;width=400&#038;action=like&#038;colorscheme=light&#038;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:400px; height:35px;" allowTransparency="true"></iframe><br />&#8212;-<br />
<div style="float:left; margin-right:5px">
<a href="http://api.tweetmeme.com/share?url=http://tech.shantanugoel.com/2010/07/08/badtokenexception-android-dialog-getapplicationcontext.html"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://tech.shantanugoel.com/2010/07/08/badtokenexception-android-dialog-getapplicationcontext.html" height="61" width="51" /></a>
</div><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><!--test --><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/2010/08/08/android-dev-tip-app-not-showing-on-x10-mini-marketplace.html" title="Android Dev Tip: App Not Showing on X10 Mini Marketplace (August 8, 2010)">Android Dev Tip: App Not Showing on X10 Mini Marketplace</a> (7)</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> (23)</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/2010/08/02/ssh-tunneling-android.html" title="SSH Tunneling On Android (August 2, 2010)">SSH Tunneling On Android</a> (1)</li>
	<li><a href="http://tech.shantanugoel.com/2010/08/14/android-permissions-malware.html" title="Solving The Android Permissions And Malware Puzzle (August 14, 2010)">Solving The Android Permissions And Malware Puzzle</a> (8)</li>
</ul>


<p><a href="http://feedads.g.doubleclick.net/~a/_N8Yg782dyM_SbSpk5kDgy0xlzs/0/da"><img src="http://feedads.g.doubleclick.net/~a/_N8Yg782dyM_SbSpk5kDgy0xlzs/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/_N8Yg782dyM_SbSpk5kDgy0xlzs/1/da"><img src="http://feedads.g.doubleclick.net/~a/_N8Yg782dyM_SbSpk5kDgy0xlzs/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/techShantanu?a=-fMu9ZkKWhk:dbdf3Shlp_A: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:dbdf3Shlp_A:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=-fMu9ZkKWhk:dbdf3Shlp_A:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=-fMu9ZkKWhk:dbdf3Shlp_A:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=-fMu9ZkKWhk:dbdf3Shlp_A:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=-fMu9ZkKWhk:dbdf3Shlp_A:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=-fMu9ZkKWhk:dbdf3Shlp_A:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=-fMu9ZkKWhk:dbdf3Shlp_A: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:dbdf3Shlp_A:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/techShantanu?i=-fMu9ZkKWhk:dbdf3Shlp_A:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/techShantanu?a=-fMu9ZkKWhk:dbdf3Shlp_A: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>
	</channel>
</rss><!-- Dynamic page generated in 0.763 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-09-07 15:49:08 -->
