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

<channel>
	<title>Lim Guo Hong &#187; free</title>
	<atom:link href="http://www.limguohong.com/tag/free/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.limguohong.com</link>
	<description>Technology Enthusiast</description>
	<lastBuildDate>Fri, 11 Nov 2011 03:11:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>BingMapsDirectionsTask &#8211; Getting driving / walking directions</title>
		<link>http://www.limguohong.com/2011/10/bingmapsdirectionstask-getting-driving-walking-directions/</link>
		<comments>http://www.limguohong.com/2011/10/bingmapsdirectionstask-getting-driving-walking-directions/#comments</comments>
		<pubDate>Sun, 30 Oct 2011 10:41:04 +0000</pubDate>
		<dc:creator>Guo Hong</dc:creator>
				<category><![CDATA[microsoft]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[windows phone 7]]></category>
		<category><![CDATA[bing]]></category>
		<category><![CDATA[bingmapdirectiontasks]]></category>
		<category><![CDATA[direction]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[map]]></category>
		<category><![CDATA[source code]]></category>

		<guid isPermaLink="false">http://www.limguohong.com/?p=790</guid>
		<description><![CDATA[I was revisiting my old projects and reflecting on how I could improve on those products. I didn&#8217;t realised that there are so much we can do with the new Windows Phone APIs! I was looking at the MSDN&#8217;s Microsoft.Phone.Tasks Namespace and found out that there is a Bing Maps Direction Task Class now! The [...]]]></description>
			<content:encoded><![CDATA[<p>I was revisiting my old projects and reflecting on how I could improve on those products. I didn&#8217;t realised that there are so much we can do with the new Windows Phone APIs! I was looking at the MSDN&#8217;s <a title="Microsoft.Phone.Tasks" href="http://msdn.microsoft.com/en-us/library/ff428753(v=VS.92).aspx" target="_blank">Microsoft.Phone.Tasks</a> Namespace and found out that there is a <a href="http://msdn.microsoft.com/en-us/library/microsoft.phone.tasks.bingmapsdirectionstask(v=VS.92).aspx">Bing Maps Direction Task Class</a> now!</p>
<p>The first thing I thought of was the Green App project which I did during <a title="Top 12 in codeXtremeApps 2010" href="http://www.limguohong.com/2010/07/top-12-in-codextremeapps-2010/" target="_blank">codeXtremeApps 2010</a> Its a Windows Phone 7 project where we direct our users to the nearest recyling bin around Singapore for them to recyle their waste product. There are more functions which I will not elaborate on here. I will be updating my project/portfolio page soon! I was playing with the Bing Maps Direction Task API just this afternoon. Thought it will be useful to post a tutorial on how to use it. <img src='http://www.limguohong.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Should you face with any problems, feel free to contact me via the Contact Me form or email me at guohong@limguohong.com</p>
<p>Step 1 : Adding using Microsoft.Phone.Tasks and using System.Device.Location into references.</p>
<p><a href="http://www.limguohong.com/wp-content/uploads/2011/10/bmdt1.png"><img class="size-large wp-image-795" title="Bing Maps Directions Task 1 - Adding Reference" src="http://www.limguohong.com/wp-content/uploads/2011/10/bmdt1-1024x442.png" alt="Bing Maps Directions Task 1 - Adding Reference" width="620" height="267" /></a></p>
<p><a href="http://www.limguohong.com/wp-content/uploads/2011/10/bmdt2.png"><img class="size-full wp-image-791" title="Bing Maps Directions Task 2 - Adding namespace" src="http://www.limguohong.com/wp-content/uploads/2011/10/bmdt2.png" alt="Bing Maps Directions Task 2 - Adding namespace" width="481" height="406" /></a></p>
<p>Step 2 :  Adding the Microsoft.Phone.Tasks and System.Device.Location into the project</p>
<p><a href="http://www.limguohong.com/wp-content/uploads/2011/10/bmdt3.png"><img class="size-full wp-image-792" title="Bing Maps Directions Task 3 - Adding namespace" src="http://www.limguohong.com/wp-content/uploads/2011/10/bmdt3.png" alt="Bing Maps Directions Task 3 - Adding namespace" width="502" height="308" /></a></p>
<p>Step 3 : Initialize a <strong>BingMapsDirectionsTask </strong>and create a start and end <strong>LabeledMapLocation</strong> . Note that start is optional. Should you not provide start location, the API will use the current location by default.</p>
<p>At the end of it, .Show() it and it will show the map.</p>
<blockquote><p>BingMapsDirectionsTask Direction = new BingMapsDirectionsTask();</p>
<p>LabeledMapLocation start = new LabeledMapLocation(&#8220;Hougang Ave 4 919 Singapore , Singapore&#8221;, null);<br />
LabeledMapLocation end = new LabeledMapLocation(&#8220;Paya Lebar Air Base, Singapore&#8221;, null);</p>
<p>Direction.Start = start;<br />
Direction.End = end;</p>
<p>Direction.Show();</p></blockquote>
<p>You can download a usage demostration of the class here. Source code included.</p>
<p><strong>Please note that this is written for WP7.1</strong></p>
<div id="attachment_797" class="wp-caption alignleft" style="width: 174px"><a href="http://www.limguohong.com/wp-content/uploads/2011/10/cap1.png"><img class="size-medium wp-image-797" title="Bing Map Direction Task Demo Source Code Screenshot" src="http://www.limguohong.com/wp-content/uploads/2011/10/cap1-164x300.png" alt="Bing Map Direction Task Demo Source Code Screenshot" width="164" height="300" /></a><p class="wp-caption-text">Bing Map Direction Task Demo Source Code Screenshot</p></div>
<p><iframe style="padding: 0px; width: 98px; height: 115px; background-color: #fcfcfc;" title="Preview" src="https://skydrive.live.com/embedicon.aspx/Blog/Code%20Guide/Windows%20Phone%207/BingMapsDirectionsTaskDemo.zip?cid=29f099c37b76ca59&amp;sc=documents" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="320" height="240"></iframe></p>
<p>P.S: These 2 classes caught my attention, when I have some spare time, I will look into if I will be able to use it in my Slime Sweeper 2! <a href="http://msdn.microsoft.com/en-us/library/microsoft.phone.tasks.sharelinktask(v=VS.92).aspx">ShareLinkTask class</a> and <a href="http://msdn.microsoft.com/en-us/library/microsoft.phone.tasks.sharestatustask(v=VS.92).aspx">Share Status Task Class</a>!</p>
<p>If you have any questions, feel free to contact me via the contact form, comment or email me at guohong@limguohong.com</p>
<p>Do check out the <a href="http://www.limguohong.com/tutorials/">tutorial page</a> too!</p>
<div class='wpfblike' style='height: 60px;'><iframe src='http://www.facebook.com/plugins/like.php?href=http://www.limguohong.com/2011/10/bingmapsdirectionstask-getting-driving-walking-directions/&amp;layout=default&amp;show_faces=true&amp;width=400&amp;action=like&amp;colorscheme=light&amp;send=false' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:400px;'></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.limguohong.com/2011/10/bingmapsdirectionstask-getting-driving-walking-directions/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Google Adsense Stickers</title>
		<link>http://www.limguohong.com/2008/04/google-adsense-stickers/</link>
		<comments>http://www.limguohong.com/2008/04/google-adsense-stickers/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 19:12:52 +0000</pubDate>
		<dc:creator>Guo Hong</dc:creator>
				<category><![CDATA[adsense]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[stickers]]></category>

		<guid isPermaLink="false">http://www.limguohong.com/2008/04/15/google-adsense-stickers/</guid>
		<description><![CDATA[As I say yesterday in my post, I was reading around for Google Video Ads Units and yeah&#8230; found something interesting. The Google Adsense Stickers. Its a stickers with Google Adsense on it.. Whats more, its free!!! You might be interested to get one of them. This is the quote from their site for those [...]]]></description>
			<content:encoded><![CDATA[<p>As I say yesterday in my post, I was reading around for Google Video Ads Units and yeah&#8230; found something interesting. The <a href="http://adsense.blogspot.com/2008/03/stick-em-up.html">Google Adsense Stickers</a>.</p>
<p>Its a stickers with Google Adsense on it.. Whats more, its free!!!</p>
<p>You might be interested to get one of them.</p>
<p>This is the quote from their site for those who are lazy to visit that link. <img src='http://www.limguohong.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<blockquote><p>Send us a self-addressed, stamped envelope with enough postage to return 1 oz of sticker goodness to you from our office in California via standard U.S. mail. (Sorry, we can&#8217;t help you calculate the postage to your location). Send your envelope, along with a note if you&#8217;d like, to:</p>
<p>    Google AdSense<br />
    c/o Arlene Lee<br />
    1600 Amphitheatre Parkway<br />
    Mountain View, CA 94043<br />
    USA</p></blockquote>
<div class='wpfblike' style='height: 60px;'><iframe src='http://www.facebook.com/plugins/like.php?href=http://www.limguohong.com/2008/04/google-adsense-stickers/&amp;layout=default&amp;show_faces=true&amp;width=400&amp;action=like&amp;colorscheme=light&amp;send=false' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:400px;'></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.limguohong.com/2008/04/google-adsense-stickers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.com / .net / .org / .biz / .info</title>
		<link>http://www.limguohong.com/2008/02/com-net-org-biz-info/</link>
		<comments>http://www.limguohong.com/2008/02/com-net-org-biz-info/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 16:53:22 +0000</pubDate>
		<dc:creator>Guo Hong</dc:creator>
				<category><![CDATA[domain]]></category>
		<category><![CDATA[.biz]]></category>
		<category><![CDATA[.com]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[.org]]></category>
		<category><![CDATA[cheap]]></category>
		<category><![CDATA[cheap domains]]></category>
		<category><![CDATA[domains]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[tld]]></category>

		<guid isPermaLink="false">http://www.limguohong.com/2008/02/21/com-net-org-biz-info/</guid>
		<description><![CDATA[As i listed, those are a few famous top level domains (tld) .com = communication / community ( both is what i commonly heard but no one know the extact one) .net = network .org = organization .biz = business .info = information Someone ever asked me is there a main difference between them? I [...]]]></description>
			<content:encoded><![CDATA[<p>As i listed, those are a few famous top level domains (tld)</p>
<p>.com = communication / community ( both is what i commonly heard but no one know the extact one)<br />
.net = network<br />
.org = organization<br />
.biz = business<br />
.info = information</p>
<p>Someone ever asked me is there a main difference between them? I will say no. For you to find a non-organization to be using a .org domain, for a non-informative site to be using a .info domain can easily be found.</p>
<p>So I can just register any that I like if I want?</p>
<p>Of course you can but actually I have a personal preference which I want to share with you, if you are opening a website ( lets say a blog service site ), you got a freeblogservice.net domain and you got very famous&#8230; If you do not own freeblogservice.com ( its .com domain ), you might be losing out as you are losing the traffic to the .com. Good websites often travel by the words of mouth or by human&#8217;s memory. They may only remember your website as freeblogservice but not sure if it is .com or .net&#8230; Instinctly, they will choose the .com domain. Why? I think it may be because the first website a human ever encounter is always .com</p>
<p>There are a lot of websites that their website is base on other .tld but they own or buy over the .com of the name.</p>
<p>pixel2life.net &#8211; a web tutorial website which base their website on .net also own its .com where it will redirect to the .com</p>
<p>That is one good example which is on the top of my brain now.</p>
<p>But, note that I am not saying that it is not good or bad to have a website without its .com.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Need some cheap domains?<br />
Visit my <a href="http://limg147454.myorderbox.com">domain&#8217;s shop</a></p>
<div class='wpfblike' style='height: 60px;'><iframe src='http://www.facebook.com/plugins/like.php?href=http://www.limguohong.com/2008/02/com-net-org-biz-info/&amp;layout=default&amp;show_faces=true&amp;width=400&amp;action=like&amp;colorscheme=light&amp;send=false' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:400px;'></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.limguohong.com/2008/02/com-net-org-biz-info/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

