Recently I have been talking to Kiat Siang on some of the things we are doing and he questioned me on how we could use “Windows Explorer” to access the FTP. Interesting he is not the first to ask me that question. Though its easy but often overlooked. Made this quick guide on how one can do so.
I was revisiting my old projects and reflecting on how I could improve on those products. I didn’t realised that there are so much we can do with the new Windows Phone APIs! I was looking at the MSDN’s Microsoft.Phone.Tasks Namespace and found out that there is a Bing Maps Direction Task Class now!
The first thing I thought of was the Green App project which I did during codeXtremeApps 2010 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. 🙂 Should you face with any problems, feel free to contact me via the Contact Me form or email me at firstname.lastname@example.org
Step 1 : Adding using Microsoft.Phone.Tasks and using System.Device.Location into references.
Step 2 : Adding the Microsoft.Phone.Tasks and System.Device.Location into the project
Step 3 : Initialize a BingMapsDirectionsTask and create a start and end LabeledMapLocation . Note that start is optional. Should you not provide start location, the API will use the current location by default.
At the end of it, .Show() it and it will show the map.
BingMapsDirectionsTask Direction = new BingMapsDirectionsTask();
LabeledMapLocation start = new LabeledMapLocation(“Hougang Ave 4 919 Singapore , Singapore”, null);
LabeledMapLocation end = new LabeledMapLocation(“Paya Lebar Air Base, Singapore”, null);
Direction.Start = start;
Direction.End = end;
You can download a usage demostration of the class here. Source code included.
Please note that this is written for WP7.1
If you have any questions, feel free to contact me via the contact form, comment or email me at email@example.com
Do check out the tutorial page too!
As I say yesterday in my post, I was reading around for Google Video Ads Units and yeah… 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 who are lazy to visit that link. 😛
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’t help you calculate the postage to your location). Send your envelope, along with a note if you’d like, to:
c/o Arlene Lee
1600 Amphitheatre Parkway
Mountain View, CA 94043
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 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.
So I can just register any that I like if I want?
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… 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’s memory. They may only remember your website as freeblogservice but not sure if it is .com or .net… Instinctly, they will choose the .com domain. Why? I think it may be because the first website a human ever encounter is always .com
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.
pixel2life.net – a web tutorial website which base their website on .net also own its .com where it will redirect to the .com
That is one good example which is on the top of my brain now.
But, note that I am not saying that it is not good or bad to have a website without its .com.
Need some cheap domains?
Visit my domain’s shop