<?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>Aimee Gurl...</title>
	<atom:link href="http://aimeegurl.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://aimeegurl.com</link>
	<description>for as long as i can remember, technology has always fascinated me</description>
	<lastBuildDate>Wed, 11 Aug 2010 17:07:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Telco security messaging fail?</title>
		<link>http://aimeegurl.com/2010/08/12/telco-security-messaging-fail/</link>
		<comments>http://aimeegurl.com/2010/08/12/telco-security-messaging-fail/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 16:53:03 +0000</pubDate>
		<dc:creator>Aimee</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://aimeegurl.com/2010/08/12/telco-security-messaging-fail/</guid>
		<description><![CDATA[<p id="top" />
<p>Earlier on, I tweeted about this but I had to take down the twitpic because I realized that it had my phone number on it (^_^). I received this message a while back and I couldn’t help but think: WTF. O_O</p>
<p></p>
<p>The real WTF was finding out that this is 99% likely a legitimate [...]]]></description>
			<content:encoded><![CDATA[<p id="top" />
<p>Earlier on, I tweeted about this but I had to take down the twitpic because I realized that it had my phone number on it (^_^). I received this message a while back and I couldn’t help but think: WTF. O_O</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/08/image.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://aimeegurl.com/wp-content/uploads/2010/08/image_thumb.png" width="320" height="480" /></a></p>
<p>The real WTF was finding out that this is 99% likely a legitimate message although there is nothing AT ALL in these two messages that these are legitimate Singtel services.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/08/image1.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://aimeegurl.com/wp-content/uploads/2010/08/image_thumb1.png" width="320" height="480" /></a></p>
<p>With all the phishing attacks that’s been happening for years, the IT Savvy-er of the netizens are doing their best to tell their friends and family not do download stuff from unknown sources and always check the domains of the sites you are accessing, etc. With the advent of 3G/mobile internet connectivity, people doing mobile banking, and so on, malicious attacks have been spreading to the mobile platform as well, as we’ve seen happening with the <a href="http://www.bing.com/search?q=iphone+pdf+vulnerability&amp;go=&amp;form=QBRE&amp;qs=n&amp;sk=">iPhone’s PDF vulnerability</a>. We all have a part to play in helping each other keep our guards up against these issues, the Telco&#8217;s more so. </p>
<p>By doing something like this, they are basically saying “Yeah, we sometimes send you recommendations of services from a number that anyone can own” or “Yes, sometimes we offer free apps for download from website addresses with gibberish numbers and not even bother with a domain name” or “Yep, as long as there’s singtel in the web address that’s us!”. It’s very ironic how this is for a security &amp; privacy application. No offense to WaveSecure, I know for a fact they’re a great product, <a href="http://www.mcafee.com/us/about/mcafee_wavesecure.html">McAfee does too</a>. This was all good intention but sadly, poor execution. </p>
<p>How ugly can this get? If I were a malicious person who’s intelligent enough hack together an mobile app I could upload it to a domain like <a href="http://singtel.aimeegurl.com">http://singtel.aimeegurl.com</a> and send text messages to all the phone numbers I find, and say it’s an update to the software they’ve downloaded previously. The app can practically ask the user anything it wants since to the user, it’s their Telco’s app so of course they could trust them with their private information if they asked for it (Phishing++?) or if I were even more intelligent, I’d hack up an app that just straight away does nasty stuff without the users knowledge. Needless to say, possibilities are endless.</p>
<p>What’s done is done though. I’m sure investments were made on this project. Let’s hope no one exploits this. Meanwhile, the message still stands, NEVER download stuff from site domains that you don’t know for sure are legitimate, and just like in real life, there HAS to be proof of identity before complying to a request from someone who claims to be someone. </p>
]]></content:encoded>
			<wfw:commentRss>http://aimeegurl.com/2010/08/12/telco-security-messaging-fail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Review of Using Desktop Connect</title>
		<link>http://aimeegurl.com/2010/08/10/review-of-using-desktop-connect/</link>
		<comments>http://aimeegurl.com/2010/08/10/review-of-using-desktop-connect/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 12:33:09 +0000</pubDate>
		<dc:creator>Aimee</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[app review]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[win7]]></category>

		<guid isPermaLink="false">http://aimeegurl.com/2010/08/10/review-of-using-desktop-connect/</guid>
		<description><![CDATA[<p id="top" />
<p>I’ve been using Desktop Connect for a bit and wanted to share my experiences.</p>
<p>First I did a speed test with my iPad. I called Singtel up yesterday and asked to have my 1Mbps data plan switched to the iPad data plan that’s supposedly 7.2Mbps. Maybe it hasn’t taken effect yet.</p>
<p></p>
<p>This is the screen [...]]]></description>
			<content:encoded><![CDATA[<p id="top" />
<p>I’ve been using <a href="http://antecea.com/products/desktop-connect.html">Desktop Connect</a> for a bit and wanted to share my experiences.</p>
<p>First I did a speed test with my iPad. I called Singtel up yesterday and asked to have my 1Mbps data plan switched to the iPad data plan that’s supposedly 7.2Mbps. Maybe it hasn’t taken effect yet.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/08/IMG_0014.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="IMG_0014" border="0" alt="IMG_0014" src="http://aimeegurl.com/wp-content/uploads/2010/08/IMG_0014_thumb.png" width="360" height="480" /></a></p>
<p>This is the screen shot of my usage prior to the remote session. I have turned off WiFi by the way.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/08/IMG_0013.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="IMG_0013" border="0" alt="IMG_0013" src="http://aimeegurl.com/wp-content/uploads/2010/08/IMG_0013_thumb.png" width="640" height="480" /></a></p>
<p>So when you launch Desktop Connect (or Easy Connect I&#8217;m not really sure what the name is cause it’s listed Desktop Connect in the app store) I can see the machines that I have associated with my account. You’ll need to be running an application on your host machine and sign in with the same Google ID there too.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/08/IMG_0015.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="IMG_0015" border="0" alt="IMG_0015" src="http://aimeegurl.com/wp-content/uploads/2010/08/IMG_0015_thumb.png" width="640" height="480" /></a></p>
<p>You’ll see here I’m logged in at 19:49. </p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/08/IMG_0016.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="IMG_0016" border="0" alt="IMG_0016" src="http://aimeegurl.com/wp-content/uploads/2010/08/IMG_0016_thumb.png" width="640" height="480" /></a></p>
<p>For about 7 minutes I clicked on links, scrolled around, queued up a download.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/08/IMG_0017.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="IMG_0017" border="0" alt="IMG_0017" src="http://aimeegurl.com/wp-content/uploads/2010/08/IMG_0017_thumb.png" width="640" height="480" /></a></p>
<p>After I disconnected, this is the screen shot of my data usage.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/08/IMG_0018.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="IMG_0018" border="0" alt="IMG_0018" src="http://aimeegurl.com/wp-content/uploads/2010/08/IMG_0018_thumb.png" width="640" height="480" /></a></p>
<p>So for the quick browsing and initializing of download, it was about 6MB down for 7 minutes. Of course, your usage will probably depend on what you do during the session. Perhaps if you brows images, or even videos, or flash animations, you’d have higher consumption than when you’re only browsing through text. </p>
<p>One thing I’ve discovered is that it doesn’t work well when your host has an external monitor. I was trying to access my home machine from my iPad earlier and I had left it on with the external monitor attached. I couldn’t I could see what was going on on the screen but everytime I try to click or scroll, nothing happened. I discovered when I got home that although my PC brought all windows to the primary monitor, the mouse pointer was still on the other screen <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-confusedsmile" alt="Confused smile" src="http://aimeegurl.com/wp-content/uploads/2010/08/wlEmoticonconfusedsmile1.png" />. So, remember to disconnect external monitors before you go out in order to let it function properly.</p>
<p>Another thing, if you’re using Win7 on your host machine, right clicking (there’s a button to toggle click mode to right or left click) to get the jumplist works on the host machine (since you can see the screen simultaneously on the host and ipad) but it doesn’t seem to render on the iPad. Strange.</p>
<p>Some folks have asked whether the multitouch functionality for Win7 works. Answer is no, the app actually maps out the mt gestures of the ipad for things like showing the toolbars, alt+tabbing. two-finger scroll works though not very well. No matter how small I make the movement, the window always seems to scroll all the way to the end.</p>
<p>All in all, I think it’s good enough to at least send some files from home that I’ve forgotten or set up a folder to sync with <a href="http://sync.live.com">Windows Live Sync</a> so I can access more files from anywhere, etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://aimeegurl.com/2010/08/10/review-of-using-desktop-connect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>no, it&#8217;s just not meant for that&#8230;</title>
		<link>http://aimeegurl.com/2010/08/09/no-its-just-not-meant-for-that/</link>
		<comments>http://aimeegurl.com/2010/08/09/no-its-just-not-meant-for-that/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 16:34:52 +0000</pubDate>
		<dc:creator>Aimee</dc:creator>
				<category><![CDATA[Media]]></category>

		<guid isPermaLink="false">http://aimeegurl.com/2010/08/09/no-its-just-not-meant-for-that/</guid>
		<description><![CDATA[<p id="top" />
<p></p>
]]></description>
			<content:encoded><![CDATA[<p id="top" />
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/08/p_834_734_E4235340-F79F-4AAB-88E8-CE493FE727AE.jpeg"><img src="http://aimeegurl.com/wp-content/uploads/2010/08/p_834_734_E4235340-F79F-4AAB-88E8-CE493FE727AE.jpeg" alt="" class="alignnone size-full" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://aimeegurl.com/2010/08/09/no-its-just-not-meant-for-that/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No decent blogging application for the ipad</title>
		<link>http://aimeegurl.com/2010/08/09/no-decent-blogging-application-for-the-ipad/</link>
		<comments>http://aimeegurl.com/2010/08/09/no-decent-blogging-application-for-the-ipad/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 16:22:20 +0000</pubDate>
		<dc:creator>Aimee</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[win7]]></category>
		<category><![CDATA[windows live writer]]></category>

		<guid isPermaLink="false">http://aimeegurl.com/2010/08/09/no-decent-blogging-application-for-the-ipad/</guid>
		<description><![CDATA[<p id="top" />
<p>What started out as a rant about how Office Web apps doesn’t seem to work well with the ipad has become a rant about how the ipad, just like the mac, doesn’t have a decent blogging application.</p>
<p>Fine, the ipad seems to be marketed more as a content consuming and non-content creating device but [...]]]></description>
			<content:encoded><![CDATA[<p id="top" />
<p>What started out as a rant about how Office Web apps doesn’t seem to work well with the ipad has become a rant about how the ipad, just like the mac, doesn’t have a decent blogging application.</p>
<p>Fine, the ipad seems to be marketed more as a content consuming and non-content creating device but my question is why? it’s a great form factor for writing on the go, its just a shame how the device seems to lack in terms of hardwawre (camera) and software (blogging app (&amp; dvorak keyboard while I’m at it)) to enable such.</p>
<p>Okay so now to the supposedly main rant..</p>
<p>I thought it would be great to be able to access the office web apps through my iPad, getting word, excel and office for free but to my dismay, I’ve experienced some hiccups..</p>
<p>So first try heading down to <a href="http://office.live.com">http://office.live.com</a> and signing in with your windows live id. Once your signed in, click on the “PC Site” at the bottom of the screen.</p>
<p>.<a href="http://aimeegurl.com/wp-content/uploads/2010/08/photo.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="photo" border="0" alt="photo" src="http://aimeegurl.com/wp-content/uploads/2010/08/photo_thumb.jpg" width="640" height="480" /></a></p>
<p> You can now proceed to either opening or creating a new document</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/08/photo1.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="photo" border="0" alt="photo" src="http://aimeegurl.com/wp-content/uploads/2010/08/photo_thumb1.jpg" width="640" height="480" /></a></p>
<p>&#160;</p>
<p>So my experience with creating a new document was getting stuck at 95%. When I tried opening an old document, it just tanks my safari. <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-sadsmile" alt="Sad smile" src="http://aimeegurl.com/wp-content/uploads/2010/08/wlEmoticonsadsmile.png" /> not sure if its my account or my ipad but its what im seeing&#160;&#160; hope it gets fixed eventually. I just think it would be very cool.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/08/photo2.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="photo" border="0" alt="photo" src="http://aimeegurl.com/wp-content/uploads/2010/08/photo_thumb2.jpg" width="640" height="480" /></a></p>
<p>&#160;</p>
<p>//painfully blogged on my ipad using a remote desktop connection to win7 with live writer, the best blogging software evah, and I say painfully because the first half of the blog post I was actually trying to touch type on this device.. eventually I succumbed to semi-hunt-and-peck <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-confusedsmile" alt="Confused smile" src="http://aimeegurl.com/wp-content/uploads/2010/08/wlEmoticonconfusedsmile.png" /> also, I had to send those screenshots one by one over email so I could access them on the remoted win7 machine.</p>
]]></content:encoded>
			<wfw:commentRss>http://aimeegurl.com/2010/08/09/no-decent-blogging-application-for-the-ipad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Will it Blend: Custom Scrollbar in WPF</title>
		<link>http://aimeegurl.com/2010/07/11/customizing-the-scrollbar-in-wpf-with-no-xaml-typing/</link>
		<comments>http://aimeegurl.com/2010/07/11/customizing-the-scrollbar-in-wpf-with-no-xaml-typing/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 10:22:23 +0000</pubDate>
		<dc:creator>Aimee</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[expression blend]]></category>
		<category><![CDATA[no code]]></category>
		<category><![CDATA[WPF]]></category>

		<guid isPermaLink="false">http://aimeegurl.com/2010/07/11/customizing-the-scrollbar-in-wpf-with-no-xaml-typing/</guid>
		<description><![CDATA[<p id="top" />
<p>DISCLAIMER: I write this post more for myself because I tend to forget how to do things. There can very well be other proper ways of doing this, but this is the “good enough” solution, at least for me. </p>
<p>I was playing around with WPF again since it’s been a while. I wanted [...]]]></description>
			<content:encoded><![CDATA[<p id="top" />
<p>DISCLAIMER: I write this post more for myself because I tend to forget how to do things. There can very well be other proper ways of doing this, but this is the “good enough” solution, at least for me. <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://aimeegurl.com/wp-content/uploads/2010/07/wlEmoticonsmile.png" /></p>
<p>I was playing around with WPF again since it’s been a while. I wanted to customize the scrollbar and I found it was quite a task. I finally figured out a simple way of doing it.</p>
<p>The look I wanted was a simple, thin, vertical bar (I guess you could do the same with the horizontal bar.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/image.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://aimeegurl.com/wp-content/uploads/2010/07/image_thumb.png" width="240" height="150" /></a></p>
<p>1. So we start with a ScrollViewer that contains a RichTextBox(or whatever you want) </p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/image1.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://aimeegurl.com/wp-content/uploads/2010/07/image_thumb1.png" width="266" height="253" /></a>&#160;<a href="http://aimeegurl.com/wp-content/uploads/2010/07/image2.png"><img style="border-bottom: 0px; border-left: 0px; margin: 0px 6px 0px 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://aimeegurl.com/wp-content/uploads/2010/07/image_thumb2.png" width="266" height="252" /></a></p>
<p>2. Now we proceed to EditTemplate –&gt; Edit a Copy. </p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/2010071116h48_17.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="2010-07-11 16h48_17" border="0" alt="2010-07-11 16h48_17" src="http://aimeegurl.com/wp-content/uploads/2010/07/2010071116h48_17_thumb.png" width="546" height="485" /></a></p>
<p>3. You’re probably already familiar with this dialog box. Give your template a Name when you click okay, by default, it’ll add this to your window’s xaml. But if you want to later on reuse this template, choose the option to define it in a Resource dictionary. Later on, all you’ll have to do is add that resource dictionary to your project and you’ll be able to apply the style to your ScrollViewer.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/2010071116h50_39.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="2010-07-11 16h50_39" border="0" alt="2010-07-11 16h50_39" src="http://aimeegurl.com/wp-content/uploads/2010/07/2010071116h50_39_thumb.png" width="458" height="248" /></a></p>
<p>4. We’ll fix the VerticalScrollBar in this sample but you can very well do the same for HorizontalScrollBar. To start, right-click on PART_VerticalScrollBar and click on EditTemplate –&gt; Edit a Copy. Again, you’ll be asked to select a name and where you want to save this style. This time, we’re editing the ScrollBar component (previously was the entire ScrollViewer).</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/2010071116h55_41.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="2010-07-11 16h55_41" border="0" alt="2010-07-11 16h55_41" src="http://aimeegurl.com/wp-content/uploads/2010/07/2010071116h55_41_thumb.png" width="471" height="443" /></a></p>
<p>5. If you expand the template that you’re presented with, you’ll see the elements below. In my case, I want to delete the two RepeatButtons since clicking anywhere above and below the Thumb more or less does the same thing.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/2010071116h56_50.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="2010-07-11 16h56_50" border="0" alt="2010-07-11 16h56_50" src="http://aimeegurl.com/wp-content/uploads/2010/07/2010071116h56_50_thumb.png" width="565" height="320" /></a></p>
<p>5a. But lets say you wanted to edit the buttons, what we do, is draw out what we want the button to look like anywhere on the canvas. We’ll delete this later on. Here, we have a Grid that contains our desired button template.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/2010071117h06_07.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="2010-07-11 17h06_07" border="0" alt="2010-07-11 17h06_07" src="http://aimeegurl.com/wp-content/uploads/2010/07/2010071117h06_07_thumb.png" width="386" height="96" /></a></p>
<p>5b. What we’ll do now is right-click on the grid and select Make Into Control. A dialog box will appear that will ask you to select which control you want this grid to magically turn into. You’ll notice above that the buttons for scrolling up and down are RepeatButtons, so we can type into the search box to find the component, click to select and we’ll name it into something we will recognize later on, in my case, ScrollUpButton.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/2010071117h10_00.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="2010-07-11 17h10_00" border="0" alt="2010-07-11 17h10_00" src="http://aimeegurl.com/wp-content/uploads/2010/07/2010071117h10_00_thumb.png" width="500" height="577" /></a></p>
<p>5c. Now we’re editing the RepeatButton template. We can go ahead and delete the automatically generated ContentPresenter since we don’t need any content in our template.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/2010071117h10_42.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="2010-07-11 17h10_42" border="0" alt="2010-07-11 17h10_42" src="http://aimeegurl.com/wp-content/uploads/2010/07/2010071117h10_42_thumb.png" width="506" height="301" /></a></p>
<p>5d. You’ll notice that you can also go into the states tab to edit the look of your button on different states. </p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/2010071117h12_24.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="2010-07-11 17h12_24" border="0" alt="2010-07-11 17h12_24" src="http://aimeegurl.com/wp-content/uploads/2010/07/2010071117h12_24_thumb.png" width="492" height="425" /></a></p>
<p>5e. Once you’re done editing, you can go back to the Objects and Timeline tab and click on this button that will take you back to the ScrollbarTemplate</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/image3.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://aimeegurl.com/wp-content/uploads/2010/07/image_thumb3.png" width="297" height="166" /></a></p>
<p>5f. Now to apply the style, select the first RepeatButton –&gt; Edit Template –&gt; Apply Resource –&gt; ScrollUpButton (or whatever you named your template)</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/2010071117h16_34.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="2010-07-11 17h16_34" border="0" alt="2010-07-11 17h16_34" src="http://aimeegurl.com/wp-content/uploads/2010/07/2010071117h16_34_thumb.png" width="692" height="551" /></a></p>
<p>5g. You’ll now see the button with the style you’ve defined. Now remember to delete that Grid turned Repeat button that we used to create the style or else, it’ll become part of your template/application <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://aimeegurl.com/wp-content/uploads/2010/07/wlEmoticonsmile.png" /></p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/image4.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://aimeegurl.com/wp-content/uploads/2010/07/image_thumb4.png" width="233" height="116" /></a></p>
<p>6. Like I said, I’m deleting my up and down buttons because I don’t want them. You’ll notice that the grid this ScrollBar was defined in has Rows that hold the buttons and the thumb / track. I’ll need to delete the extra rows since I don’t need them now and I want the thumb and vertical bar to occupy the entire height. I tried deleting this through the designer but it only wreaked havoc (might be a user error) but I found the safest way to do this is to delete from the XAML code.&#160; Click on this button in the upper right corner of your design canvas to show the xaml editor. (Now you know why I said XAML typing instead of XAML editing)</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/image5.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://aimeegurl.com/wp-content/uploads/2010/07/image_thumb5.png" width="794" height="179" /></a></p>
<p>7. What I’ll do now is delete the 1st and 3rd row definitions.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/2010071117h21_17.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="2010-07-11 17h21_17" border="0" alt="2010-07-11 17h21_17" src="http://aimeegurl.com/wp-content/uploads/2010/07/2010071117h21_17_thumb.png" width="321" height="440" /></a></p>
<p>8. Now I’ll see my scrollbar occupy the full height.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/image6.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://aimeegurl.com/wp-content/uploads/2010/07/image_thumb6.png" width="678" height="379" /></a></p>
<p>9. Next, I want to change the look of the ScrollBar’s thumb. You’ll see that the type of component this is is a Thumb. So we can do as we did with the Repeat button to style this. Make into Control only works on single objects so if you have several objects you want to include in your template, just right-click –&gt; Group Into –&gt; Grid to make them one. </p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/2010071117h33_27.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="2010-07-11 17h33_27" border="0" alt="2010-07-11 17h33_27" src="http://aimeegurl.com/wp-content/uploads/2010/07/2010071117h33_27_thumb.png" width="370" height="266" /></a></p>
<p>10. Now you can follow the steps in 5b but this time, instead of RepeatButton, we select Thumb in the Make Into Control dialog.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/2010071117h37_34.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="2010-07-11 17h37_34" border="0" alt="2010-07-11 17h37_34" src="http://aimeegurl.com/wp-content/uploads/2010/07/2010071117h37_34_thumb.png" width="500" height="577" /></a></p>
<p>11. Now continue with 5f to go back to ScrollBar template editing and apply the template to the Thumb object. You’ll now see our ScrollBar has changed. Again, remember to delete that extra thumb that we used to create the style. </p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/image7.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://aimeegurl.com/wp-content/uploads/2010/07/image_thumb7.png" width="612" height="331" /></a></p>
<p>12. One last thing. Maybe you don’t want your ScrollBar to be as thick as this. So using the button in 5e, go back up to the ScrollViewer template. With the PART_VerticalScrollBar selected, go to the Properties tab and scroll down to the Style property. You’ll see that it’s highlighted in green which means it’s being bound to a local resource.&#160;&#160; </p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/2010071117h44_18.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="2010-07-11 17h44_18" border="0" alt="2010-07-11 17h44_18" src="http://aimeegurl.com/wp-content/uploads/2010/07/2010071117h44_18_thumb.png" width="914" height="550" /></a></p>
<p>13. Click on Edit Resource</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/2010071117h45_59.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="2010-07-11 17h45_59" border="0" alt="2010-07-11 17h45_59" src="http://aimeegurl.com/wp-content/uploads/2010/07/2010071117h45_59_thumb.png" width="228" height="240" /></a></p>
<p>14. You’ll then see our style, and if with it selected, you scroll down the Properties tab to the Width property, again you’ll see that the Width property is bound.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/image8.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://aimeegurl.com/wp-content/uploads/2010/07/image_thumb8.png" width="754" height="452" /></a></p>
<p>15. Click on the Advanced Options button (that little square) and select Reset. You should then be able to put in whatever width you want.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/2010071117h50_49.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="2010-07-11 17h50_49" border="0" alt="2010-07-11 17h50_49" src="http://aimeegurl.com/wp-content/uploads/2010/07/2010071117h50_49_thumb.png" width="246" height="81" /></a></p>
<p>16. Now when you click on the button in 5e. (Return scope button) it actually takes you to the topmost level which is the window. So you’ll have to do an Edit Template… on the ScrollViewer again to edit the ScrollViewerTemplate. (By the way, I’ve edited my Thumb template to make it look alright with a Width of 5, i.e., change the width of the topmost grid in the template to 5 and fixed the components inside to make it look good).</p>
<p>You’ll notice that the second column in the grid is set to auto-sized so you’ll want to click on that icon till it says pixel sized (locked lock)</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/2010071118h05_37.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="2010-07-11 18h05_37" border="0" alt="2010-07-11 18h05_37" src="http://aimeegurl.com/wp-content/uploads/2010/07/2010071118h05_37_thumb.png" width="580" height="215" /></a></p>
<p>17. With the handle selected (that inverted triangle there) you can now set the width property to what fits your template.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/image9.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://aimeegurl.com/wp-content/uploads/2010/07/image_thumb9.png" width="575" height="202" /></a></p>
<p>Now if you return scope to window, (5e), and run your app, you’ll now see your fully functional and newly styled ScrollViewer.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/2010071118h11_04.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="2010-07-11 18h11_04" border="0" alt="2010-07-11 18h11_04" src="http://aimeegurl.com/wp-content/uploads/2010/07/2010071118h11_04_thumb.png" width="222" height="240" /></a></p>
<p>hmm.. looks like there’s one more property you need to set. With the PART_VerticalScrollbar selected, set the Background property to No brush.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/2010071118h13_05.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="2010-07-11 18h13_05" border="0" alt="2010-07-11 18h13_05" src="http://aimeegurl.com/wp-content/uploads/2010/07/2010071118h13_05_thumb.png" width="764" height="557" /></a></p>
<p>This is the effect you will get. Note, I’ve also set the RichTextBox borders to zero to remove all borders.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/07/2010071118h17_06.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="2010-07-11 18h17_06" border="0" alt="2010-07-11 18h17_06" src="http://aimeegurl.com/wp-content/uploads/2010/07/2010071118h17_06_thumb.png" width="222" height="240" /></a>    </p>
<p>And that’s it! </p>
]]></content:encoded>
			<wfw:commentRss>http://aimeegurl.com/2010/07/11/customizing-the-scrollbar-in-wpf-with-no-xaml-typing/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Get Windows Live Messenger &amp; Bing on my iPhone</title>
		<link>http://aimeegurl.com/2010/06/23/get-windows-live-messenger-bing-on-my-iphone/</link>
		<comments>http://aimeegurl.com/2010/06/23/get-windows-live-messenger-bing-on-my-iphone/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 17:13:30 +0000</pubDate>
		<dc:creator>Aimee</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://aimeegurl.com/2010/06/23/get-windows-live-messenger-bing-on-my-iphone/</guid>
		<description><![CDATA[<p id="top" />
<p>I’ve been on an app purchasing spree for a while so I had to update my iTunes account with an SG one. Recently though, MS has released a few apps that are US only: Windows Live Messenger &#38; Bing. So what I did, I created another account with a US country (you can [...]]]></description>
			<content:encoded><![CDATA[<p id="top" />
<p>I’ve been on an app purchasing spree for a while so I had to update my iTunes account with an SG one. Recently though, MS has released a few apps that are US only: Windows Live Messenger &amp; Bing. So what I did, I created another account with a US country (you can search how to create one without having to input credit card info). Once you have a new account, you can go to settings –&gt; store and logout/login with your new account. </p>
<p>It’s a bit of a hassle though because once you’ve downloaded an app with one account, even if it’s available on both stores, you’ll have to be in the correct store to do an update. If that happens, just delete and re-download (of course, you’ll only want to do this with free apps. <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://aimeegurl.com/wp-content/uploads/2010/06/wlEmoticonsmile.png" /></p>
<p>So what to check out? For Windows Live Messenger, apart from the obvious social feed integration and IM, you should also check out the photos application that allows you to apply some basic effects to your photos before posting them onto skydrive, privacy setting settable to everyone or just you. <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-ninja" alt="Ninja" src="http://aimeegurl.com/wp-content/uploads/2010/06/wlEmoticonninja.png" /> &lt;- new emoticon!</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/06/IMG_0818.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="IMG_0818" border="0" alt="IMG_0818" src="http://aimeegurl.com/wp-content/uploads/2010/06/IMG_0818_thumb.png" width="160" height="240" /></a><a href="http://aimeegurl.com/wp-content/uploads/2010/06/IMG_0817.png"><img style="border-bottom: 0px; border-left: 0px; margin: 0px 0px 0px 12px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="IMG_0817" border="0" alt="IMG_0817" src="http://aimeegurl.com/wp-content/uploads/2010/06/IMG_0817_thumb.png" width="160" height="240" /></a></p>
<p> 
<p>For the Bing app, there’s a new social tab that allows you to integrate with facebook and twitter so when you do a search, it searches your social feed as well.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/06/IMG_0819.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="IMG_0819" border="0" alt="IMG_0819" src="http://aimeegurl.com/wp-content/uploads/2010/06/IMG_0819_thumb.png" width="160" height="240" /></a><a href="http://aimeegurl.com/wp-content/uploads/2010/06/IMG_0820.png"><img style="border-right-width: 0px; margin: 0px 6px 0px 12px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="IMG_0820" border="0" alt="IMG_0820" src="http://aimeegurl.com/wp-content/uploads/2010/06/IMG_0820_thumb.png" width="160" height="240" /></a>    </p>
<p>Another new one is the Camera search. I thought this was really cool, you can search a barcode or cover art using your iPhone camera. I haven’t seen a successful search using the barcode yet since my camera is a bit crap. Perhaps 3GS users will have better luck. </p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/06/IMG_0821.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="IMG_0821" border="0" alt="IMG_0821" src="http://aimeegurl.com/wp-content/uploads/2010/06/IMG_0821_thumb.png" width="160" height="240" /></a><a href="http://aimeegurl.com/wp-content/uploads/2010/06/IMG_0822.png"><img style="border-bottom: 0px; border-left: 0px; margin: 0px 0px 0px 12px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="IMG_0822" border="0" alt="IMG_0822" src="http://aimeegurl.com/wp-content/uploads/2010/06/IMG_0822_thumb.png" width="160" height="240" /></a>    </p>
<p>So yes, now I have to figure out how to back up my apps to update to iOS4.   <br />//Update: so it’s in iTunes: Right click on iTunes –&gt; transfer purchases. Haven’t tried it yet though, I accidentally hit sync thinking it would prompt me for options on what to sync, now it’s just taking forever to backup. <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-sadsmile" alt="Sad smile" src="http://aimeegurl.com/wp-content/uploads/2010/06/wlEmoticonsadsmile.png" /> AND no cancel button. <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-cryingface" alt="Crying face" src="http://aimeegurl.com/wp-content/uploads/2010/06/wlEmoticoncryingface.png" /></p>
]]></content:encoded>
			<wfw:commentRss>http://aimeegurl.com/2010/06/23/get-windows-live-messenger-bing-on-my-iphone/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>TechFriday: Amazon Kindle 2.5 Update!</title>
		<link>http://aimeegurl.com/2010/06/11/techfriday-amazon-kindle-2-5-update/</link>
		<comments>http://aimeegurl.com/2010/06/11/techfriday-amazon-kindle-2-5-update/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 07:50:03 +0000</pubDate>
		<dc:creator>Aimee</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[kindle]]></category>
		<category><![CDATA[techfriday]]></category>

		<guid isPermaLink="false">http://aimeegurl.com/?p=984</guid>
		<description><![CDATA[<p id="top" />So i was quite excited when i was browsing around the Kindle Facebook page and saw some buzz about how the kindle 2.5.2 update was available for international users. It posted a link to the engadget article who in turn links to the forums. I had a bit of difficulty downloading the files [...]]]></description>
			<content:encoded><![CDATA[<p id="top" />So i was quite excited when i was browsing around the <a href="http://www.facebook.com/kindle">Kindle Facebook page</a> and saw some buzz about how the kindle 2.5.2 update was available for international users. It posted a link to the <a href="http://www.engadget.com/2010/06/10/kindle-2-5-2-firmware-available-for-manual-update-but-only-for/">engadget article</a> who in turn links to the forums. I had a bit of difficulty downloading the files listed on <a href="http://www.kindleboards.com/index.php/topic,24554.msg490359.html#msg490359">kindleboards</a> so for those having trouble with the files, I&#8217;ve uploaded them onto my skydrive. You shouldn&#8217;t trust files people put up for you to run on your devices though, it&#8217;s a dangerous habit. <img src='http://aimeegurl.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
DOH i think the skydrive updates are messing with the links.. i guess you&#8217;ll have to try getting the links from the forums. <img src='http://aimeegurl.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<iframe title ="Preview" scrolling="no" marginheight="0" marginwidth="0" frameborder="0" style="width:98px;height:115px;padding:0;background-color:#fcfcfc;" src="http://cid-bdfb7845c22e26b6.skydrive.live.com/embedicon.aspx/Blog%20Assets/Kindle%20Updates"></iframe></p>
<p>To update your kindle, copy the files one by one to your kindle, trigger an update through the menu -&gt; settings -&gt; menu &#8211; update your kindle option</p>
<p>Do this for the files in the following order:</p>
<p>Update &#8230;. 2.3.3</p>
<p>Update &#8230; 2.3.4</p>
<p>Update_4311&#8230;490480060</p>
<p>your kindle may already intermediary updates already (mine was fresh at 2.3) so install the appropriate ones. Okay, I&#8217;m off to play with my newly updated kindle!</p>
<p>*For those who want to update, note that this update is for devices with serial numbers starting B003, i.e . the Global Wireless ones.</p>
]]></content:encoded>
			<wfw:commentRss>http://aimeegurl.com/2010/06/11/techfriday-amazon-kindle-2-5-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Useless Tutorial: How to have 2 Accounts with same login name on youtube</title>
		<link>http://aimeegurl.com/2010/04/30/useless-tutorial-how-to-have-2-accounts-with-same-login-name-on-youtube/</link>
		<comments>http://aimeegurl.com/2010/04/30/useless-tutorial-how-to-have-2-accounts-with-same-login-name-on-youtube/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 16:15:48 +0000</pubDate>
		<dc:creator>Aimee</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://aimeegurl.com/2010/04/30/useless-tutorial-how-to-have-2-accounts-with-same-login-name-on-youtube/</guid>
		<description><![CDATA[<p id="top" />
<p>I stumbled on this when I logged into YouTube using the wrong password and found myself logged into an account where I had no activity/uploads whatsoever, when I distinctly remember adding favorites and uploads on my account. Apparently, this is what happened:</p>
<p>1. A while back I created a YouTube account with the username [...]]]></description>
			<content:encoded><![CDATA[<p id="top" />
<p>I stumbled on this when I logged into YouTube using the wrong password and found myself logged into an account where I had no activity/uploads whatsoever, when I distinctly remember adding favorites and uploads on my account. Apparently, this is what happened:</p>
<p>1. A while back I created a YouTube account with the username <strong>Foo</strong>, and uploaded, and favorited some videos on the site. When I created the account, I had linked it to an email address <a href="mailto:bar@live.com.sg"><strong>bar@live.com.sg</strong></a>.</p>
<p>2. At a later time, I created a gmail account <a href="mailto:Foo@gmail.com"><strong>Foo@gmail.com</strong></a><strong> </strong>with a different password (password2). </p>
<p>3. At a much later time, I decided to create a YouTube account (by this time I had forgotten I already had one <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-disappointedsmile" alt="Disappointed smile" src="http://aimeegurl.com/wp-content/uploads/2010/04/wlEmoticondisappointedsmile.png" />) using my gmail credentials. When signing up, I had to put in <strong>Fuu</strong> as <strong>Foo </strong>was not available as a username, which I probably found strange but forgot about at that time.</p>
<p>4. I went back to using my former password by the time I wanted to login to YouTube again, so I put in login name <strong>Foo</strong> with the former password (password1) and then started favoriting videos. </p>
<p>5. After a while of YouTube inactivity, I one day decided to log back in, and absentmindedly put in my new password (password2). At first I panicked, I thought my account had been wiped out as there were no favorites nor uploads in my account. Then I noticed my account name <strong>Fuu.</strong> That’s when I tried logging in with my other password (password1), and sure enough, it took me to the account I was accustomed of using.</p>
<p>6. Just for fun, I changed my Foo (<a href="mailto:bar@live.com.sg">bar@live.com.sg</a> ) password to be the same as my <a href="mailto:Foo@gmail.com">Foo@gmail.com</a> (Fuu) password. Obviously, it goes to the former unless I specify <a href="mailto:Foo@gmail.com">Foo@gmail.com</a> as my login name.</p>
<p>I just tried it out signing up test accounts (though I think I forgot my password after I changed again (or did I?) because I couldn’t login to my test account anymore) and the same thing happens.</p>
<p>The chances of this happening to 2 different people are I guess next to none. I wonder if the same happens with Flickr + Yahoo. Yahoo accounts take longer to sign up so I’m too lazy to test <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smilewithtongueout" alt="Smile with tongue out" src="http://aimeegurl.com/wp-content/uploads/2010/04/wlEmoticonsmilewithtongueout.png" /> but my guess is yes. If I am right, I wonder what a good solution would be to prevent this from happening. If I’m wrong, I’m interested to find out what the fix is. I’m sure someone’s already figured it out with all these companies buying other companies.</p>
]]></content:encoded>
			<wfw:commentRss>http://aimeegurl.com/2010/04/30/useless-tutorial-how-to-have-2-accounts-with-same-login-name-on-youtube/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Techfriday: Looping Panorama for Windows Phone 7 Series</title>
		<link>http://aimeegurl.com/2010/03/26/tech-friday-panoramic-looping-exercise/</link>
		<comments>http://aimeegurl.com/2010/03/26/tech-friday-panoramic-looping-exercise/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 16:39:00 +0000</pubDate>
		<dc:creator>Aimee</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[expressionblend]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[techfriday]]></category>
		<category><![CDATA[WP7]]></category>

		<guid isPermaLink="false">http://aimeegurl.com/2010/03/26/tech-friday-panoramic-looping-exercise/</guid>
		<description><![CDATA[<p id="top" />
<p>Just a quick note:&#160; I’m sure MS will be providing controls to this interface in the future so we don’t have to spend too much time building these controls ourselves  This post, as with the previous one, was meant more as an Expression Blend Exercise for myself to be explore the features [...]]]></description>
			<content:encoded><![CDATA[<p id="top" />
<p>Just a quick note:&#160; I’m sure MS will be providing controls to this interface in the future so we don’t have to spend too much time building these controls ourselves <img class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://aimeegurl.com/wp-content/uploads/2010/03/wlEmoticonsmile2.png" /> This post, as with the previous one, was meant more as an Expression Blend Exercise for myself to be explore the features of Silverlight / Windows Phone 7 and Expression Blend to see how much can be done with what we have today. </p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:8070ac6e-1c02-408e-bf96-370447cfb807" class="wlWriterEditableSmartContent">
<div><object width="482" height="361"><param name="movie" value="http://www.youtube.com/v/3Da1DUf5W-I&amp;hl=en&amp;fs=1&amp;hl=en"></param><embed src="http://www.youtube.com/v/3Da1DUf5W-I&amp;hl=en&amp;fs=1&amp;hl=en" type="application/x-shockwave-flash" width="482" height="361"></embed></object></div>
<div style="width:482;clear:both;font-size:.8em;color:#000000">This is more of an Expression Blend exercise to simulate a looping panoramic interface on Windows Phone 7</div>
</div>
<p>There’s one annoying thing that I can’t figure out though: on the first scroll, you’ll notice from the video that the screen flickers. There’s probably something I’m doing wrong here but I just can’t figure it out yet <img class="wlEmoticon wlEmoticon-sad" alt="Sad" src="http://aimeegurl.com/wp-content/uploads/2010/03/wlEmoticonsad.png" /></p>
<p>So I had set out to accomplish two things: Simulate the looping background and sections in the panoramic interface on windows phone and instead of flicking, let the user touch and drag the controls from left to right before switching. I was able to accomplish the two, but like I mentioned, there’s an annoying thing that happens on the first transition from state one to state two. Another thing that’s wrong with this sample is that, I shouldn’t be switching states right away on a drag to left or drag to right. You should be able to pan a bit and the screen holds to that position till you pan to a certain threshold before the interface snaps to the next section. But yeah, maybe next time.</p>
<p>The first challenge was implementing the drag to next state instead of the flick. I couldn’t really isolate this into either a trigger or an action as it’s actually a combination of both, therefore a behavior. Basically, depending on the sum of the left and right value of the users drag motion, I trigger either GoToNextState() or GoToPreviousState(). Code for these two were modified from <a title="http://gallery.expression.microsoft.com/en-us/MIXBehaviorPack" href="http://gallery.expression.microsoft.com/en-us/MIXBehaviorPack">http://gallery.expression.microsoft.com/en-us/MIXBehaviorPack</a>.</p>
<p> <a href="http://aimeegurl.com/wp-content/uploads/2010/03/image18.png"><img style="border-right-width: 0px; margin: 0px 20px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" align="left" src="http://aimeegurl.com/wp-content/uploads/2010/03/image_thumb19.png" width="563" height="262" /></a>
<p>So I built a PanoramicPanningBehavior that has a few properties I can set. </p>
<p>First there are&#160; the <strong>BackgroundElement</strong>, <strong>SectionsElement</strong>, <strong>TitleElement</strong>. I want them to be grouped so when it’s time for me to handle the drags, they don’t necessarily have to move at the same pace. That’s when the <strong>BackgroundMovementFactor</strong> and <strong>TitleMovementFactor </strong>come to play. Intstead of translating the background and title according to the value of the drag, I multiply it by the specified factor first. I’ve also let myself specify the <strong>StateGroup</strong> that has the states of our sections as described in <a href="http://aimeegurl.com/2010/03/18/panoramic-navigation-on-windows-phone-7-with-no-code">my previous post</a>, just in case you have other stategroups in the scene (though I haven’t tested this yet ^_^)</p>
<p> Now that I have the essential parts of my UI identified, I can now define what I want to do with them in my behavior when I start handling the events ManipulationDelta and ManipulationCompleted.   <br /> 
<p>&#160;</p>
<p>&#160;</p>
<p>First for ManipulationDelta, I first check to see whether the parts are not null, and then based on the input factors, I apply them to the Translation.X property of the DeltaManipulation, or basically the change in the touch points and assign the value to the TranslateX properties of the CompositeTransform of the elements that have been identified through the properties. I think it’s better to read the code <img class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://aimeegurl.com/wp-content/uploads/2010/03/wlEmoticonsmile2.png" />&#160;</p>
<pre class="code"><span style="color: blue">void </span>RootVisual_ManipulationDelta(<span style="color: blue">object </span>sender, <span style="color: #2b91af">ManipulationDeltaEventArgs </span>e)
     {
         <span style="color: blue">if </span>(!e.IsInertial)
         {
             <span style="color: blue">if </span>(BackgroundElement != <span style="color: blue">null</span>) {
                 <span style="color: blue">var </span>BG = getElement(BackgroundElement).RenderTransform <span style="color: blue">as </span><span style="color: #2b91af">CompositeTransform</span>;
                 BG.TranslateX += e.DeltaManipulation.Translation.X * BackgroundMovementFactor;

             }
             <span style="color: blue">if </span>(SectionsElement != <span style="color: blue">null</span>) {
                 <span style="color: blue">var </span>SE = getElement(SectionsElement).RenderTransform <span style="color: blue">as </span><span style="color: #2b91af">CompositeTransform</span>;
                 SE.TranslateX += e.DeltaManipulation.Translation.X;

             }
             <span style="color: blue">if </span>(TitleElement != <span style="color: blue">null</span>) {
                 <span style="color: blue">var </span>TE = getElement(TitleElement).RenderTransform <span style="color: blue">as </span><span style="color: #2b91af">CompositeTransform</span>;
                 TE.TranslateX += e.DeltaManipulation.Translation.X* TitleMovementFactor;
             }

         };
     }</pre>
<p>&#160;</p>
<p>If I wanted to run the project at this point, I’ll have to create a stateGroup and the section states in order for this not to go haywire. When I recreated the project, I actually added the panning behavior last. Next we’ll see the reason why I say this is meant more as an exercise for myself (and maybe for building demo apps) than production code. I think from this screenshot you can more or less figure out what I did.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/03/image19.png"><img style="border-right-width: 0px; margin: 0px 20px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://aimeegurl.com/wp-content/uploads/2010/03/image_thumb20.png" width="1024" height="591" /></a></p>
<p>Okay, so seeing as how you’re able to, from the leftmost part of your UI, be able to pan even more to the left to peek and even transit into the rightmost section, there had to be something there. And since I didn’t want to duplicate all the controls, I wanted to use WPF’s VisualBrush. Sadly, this isn’t available for Silverlight, however, I did find this: <a href="http://dotneteers.net/blogs/vbandi/archive/2009/03/26/discovering-silverlight-3-poor-man-s-visualbrush-behavior.aspx">http://dotneteers.net/blogs/vbandi/archive/2009/03/26/discovering-silverlight-3-poor-man-s-visualbrush-behavior.aspx</a> When I tested it out, it wasn’t as performant as WPF’s visual brush, but since I only needed to draw the UI once, I thought this would do.If we had the PathListBox in WP7, that would have been a better option too.</p>
<p>If you look at my visual tree, I basically created a brush for the background image(<strong>image</strong>), the <strong>TitleGrid </strong>and the <strong>ContentGrid</strong> (which you won’t see since I collapsed it because there were more stuff inside. Next, you’ll notice that these elements are inside a stack and before and after each of them is a Rectangle. Basically, I created identically sized rectangles that use as brushes the PoorMansVisualBrush.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/03/image20.png"><img style="border-right-width: 0px; margin: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" align="right" src="http://aimeegurl.com/wp-content/uploads/2010/03/image_thumb21.png" width="304" height="238" /></a>To do this, after adding a reference to the PoorMansVisualBrush (which I’ve made a WP version of ), I select the Rectangle and temporarily choose, TileBrush, click on Advanced Options in the <strong>Fill </strong>property and select <strong>Convert to New Resource… </strong>This will prompt me with a dialog to create a new brush resource and I’ll name it accordingly. In this Case, I have BackgroundBrush.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/03/image21.png"><img style="border-bottom: 0px; border-left: 0px; margin: 0px 20px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://aimeegurl.com/wp-content/uploads/2010/03/image_thumb22.png" width="648" height="434" /></a> </p>
<p>Next, with the behavior selected, I set the properties accordingly. Most important to note is to set the UpdateIntervalDuration to 00:00:00 so that the behavior doesn’t waste resources by repainting the brush. Next, you’ll want to go to each of the rectangles and assign their fill properties to the BrushResources you created. Also remember to set the <strong>Stroke </strong>to <strong>No brush </strong>especially if you have background images that are supposed to seamlessly merge the leftmost and rightmost portions. Now the tedious part is doing this for all the rectangles. <img class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://aimeegurl.com/wp-content/uploads/2010/03/wlEmoticonsmile2.png" />&#160;</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/03/image22.png"><img style="border-right-width: 0px; margin: 0px 20px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://aimeegurl.com/wp-content/uploads/2010/03/image_thumb23.png" width="856" height="373" /></a></p>
<p>
  <br />The last, and yet another tricky part is setting up the states. What you’re seeing here is pretty much the same as the last post where I have 3 states, to show my 3 sections. Note that when you position the states, you’ll want to position the actual to the middle/actual objects. It’ll probably be too difficult to set up using the rectangles with the brushes anyway since they don’t render at design time ^_^. Here, you’ll notice I’ve added custom transitions for when Section1State goes to Section3State and vice versa.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/03/image23.png"><img style="border-right-width: 0px; margin: 0px 20px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://aimeegurl.com/wp-content/uploads/2010/03/image_thumb24.png" width="978" height="340" /></a> </p>
<p>To do this, I’ll click on add transition button and select Section1State –&gt; Section3State </p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/03/image24.png"><img style="border-right-width: 0px; margin: 0px 20px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://aimeegurl.com/wp-content/uploads/2010/03/image_thumb25.png" width="473" height="163" /></a> </p>
<p></p>
<p>In order to see what I’m doing better, I’ll switch to the Animation Workspace by pressing the function key [<strong>F6]. </strong>I’ve also minimized the stacks back so it’s easier to manage. With the transition to <strong>Section3State </strong>selected I’ll record a keyframe at the start, and end of the .5s transition.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/03/image25.png"><img style="border-right-width: 0px; margin: 0px 20px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://aimeegurl.com/wp-content/uploads/2010/03/image_thumb26.png" width="849" height="418" /></a></p>
<p>When I record a key frame at the end, it’ll actually default to moving to the right most part of the actual controls which I changed to the one below. I’ve highlighted the outlines of the rectangles that mimic the actual controls.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/03/image26.png"><img style="border-right-width: 0px; margin: 0px 20px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://aimeegurl.com/wp-content/uploads/2010/03/image_thumb27.png" width="874" height="480" /></a> </p>
<p></p>
<p>Do the same for transitioning Section3State-&gt;Section1State. What will happen here is the application will play this custom transition animation to showing the visual brushes and when the transition is done, it’ll switch to the destination state where the real controls are visible. </p>
<p></p>
<p>Run the app to test and that’s it!</p>
<p>Again, not an ideal solution for production but at least I got to learn a few more useful things in Blend that might be useful in the future.</p>
<p> I’ve uploaded the code here so if you want to test it out, download the zip file, rightclick –&gt; properties –&gt; Unblock to avoid getting those dll not found / inaccessible errors.<a href="http://aimeegurl.com/wp-content/uploads/2010/03/image27.png"><img style="border-bottom: 0px; border-left: 0px; margin: 11px 20px 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" align="left" src="http://aimeegurl.com/wp-content/uploads/2010/03/image_thumb28.png" width="254" height="350" /></a></p>
<p>&#160;</p>
<p>
  </p>
<p><iframe style="padding-bottom: 0px; background-color: #fcfcfc; padding-left: 0px; width: 98px; padding-right: 0px; height: 115px; padding-top: 0px" title="Preview" marginheight="0" src="http://cid-bdfb7845c22e26b6.skydrive.live.com/embedicon.aspx/Projects/TechFriday/Panoramic%20Drag/PanoramaDrag.zip" frameborder="0" marginwidth="0" scrolling="no"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://aimeegurl.com/2010/03/26/tech-friday-panoramic-looping-exercise/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Panoramic Navigation on Windows Phone 7 with No Code!</title>
		<link>http://aimeegurl.com/2010/03/18/panoramic-navigation-on-windows-phone-7-with-no-code/</link>
		<comments>http://aimeegurl.com/2010/03/18/panoramic-navigation-on-windows-phone-7-with-no-code/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 06:19:09 +0000</pubDate>
		<dc:creator>Aimee</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[expression blend]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[WP7]]></category>

		<guid isPermaLink="false">http://aimeegurl.com/2010/03/18/panoramic-navigation-on-windows-phone-7-with-no-code-2/</guid>
		<description><![CDATA[<p id="top" />I was reading through the UI Design and Interaction Guide for Windows Phone 7 Series and found out that there is currently no panoramic application template or control provided as part of the standard application platform. Nothing stops us from creating our own though.</p>
<p></p>
<p>To make things easier, I’ve made a behavior library for [...]]]></description>
			<content:encoded><![CDATA[<p id="top" />I was reading through the <a href="http://bit.ly/d9Xiey">UI Design and Interaction Guide for Windows Phone 7 Series</a> and found out that there is currently no panoramic application template or control provided as part of the standard application platform. Nothing stops us from creating our own though.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/03/image2.png"><img style="margin: 0px 20px; display: inline; border-width: 0px;" title="image" src="http://aimeegurl.com/wp-content/uploads/2010/03/image_thumb3.png" border="0" alt="image" width="640" height="289" /></a></p>
<p>To make things easier, I’ve made a behavior library for everyone to use that will handle flick gestures. I’ve also included a “GoToNextState” behavior which I based on <a title="http://gallery.expression.microsoft.com/en-us/MIXBehaviorPack" href="http://gallery.expression.microsoft.com/en-us/MIXBehaviorPack">http://gallery.expression.microsoft.com/en-us/MIXBehaviorPack</a>. If you want to follow along, you’ll need to download my <a href="http://cid-bdfb7845c22e26b6.skydrive.live.com/self.aspx/Projects/TechFriday/WPBehaviorsLibrary.dll">behavior library</a>. Also, if you don’t know where to get the Blend bits, check out this post: <a title="http://electricbeach.org/?p=460" href="http://electricbeach.org/?p=460">http://electricbeach.org/?p=460</a></p>
<p>So, let’s start by creating a new Windows Phone Application project in Blend 4.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/03/image3.png"><img style="margin: 0px 20px; display: inline; border-width: 0px;" title="image" src="http://aimeegurl.com/wp-content/uploads/2010/03/image_thumb4.png" border="0" alt="image" width="444" height="383" /></a></p>
<p>You’ll be presented with a default layout. Obviously, your panoramic screen design will go outside the bounds of the “phone”. Layout your screen accordingly. This is what I did with mine.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/03/image4.png"><img style="margin: 0px 20px; display: inline; border-width: 0px;" title="image" src="http://aimeegurl.com/wp-content/uploads/2010/03/image_thumb5.png" border="0" alt="image" width="571" height="389" /></a></p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/03/image5.png"><img style="margin: 0px 20px; display: inline; border-width: 0px;" title="image" src="http://aimeegurl.com/wp-content/uploads/2010/03/image_thumb6.png" border="0" alt="image" width="286" height="299" /></a></p>
<p>Now that I have all my elements on screen, I’ll create 3 visual states, one for each active session. Let’s go into our States tab and add a state group called Sections. To do that, click on the icon with a green plus sign.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/03/image6.png"><img style="margin: 0px 20px; display: inline; border-width: 0px;" title="image" src="http://aimeegurl.com/wp-content/uploads/2010/03/image_thumb7.png" border="0" alt="image" width="375" height="132" /></a></p>
<p>In the Sections state group, let’s add the 3 states and name them accordingly. For each state, let’s also move the Grid along the  x-axis.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/03/image7.png"><img style="margin: 0px 20px; display: inline; border-width: 0px;" title="image" src="http://aimeegurl.com/wp-content/uploads/2010/03/image_thumb8.png" border="0" alt="image" width="720" height="307" /></a></p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/03/image8.png"><img style="margin: 0px 20px; display: inline; border-width: 0px;" title="image" src="http://aimeegurl.com/wp-content/uploads/2010/03/image_thumb9.png" border="0" alt="image" width="748" height="308" /></a></p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/03/image9.png"><img style="margin: 0px 20px; display: inline; border-width: 0px;" title="image" src="http://aimeegurl.com/wp-content/uploads/2010/03/image_thumb10.png" border="0" alt="image" width="654" height="305" /></a></p>
<p>We can also set the default transition to some built in easing functions to smooth out the user experience.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/03/image10.png"><img style="margin: 0px 20px; display: inline; border-width: 0px;" title="image" src="http://aimeegurl.com/wp-content/uploads/2010/03/image_thumb11.png" border="0" alt="image" width="579" height="371" /></a></p>
<p>In my case, I used the back easing function but you can play around with the different functions to see what suits you. You can preview what the transitions look like by clicking on the <strong>Turn on transition preview </strong>button.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/03/image11.png"><img style="margin: 0px 20px; display: inline; border-width: 0px;" title="image" src="http://aimeegurl.com/wp-content/uploads/2010/03/image_thumb12.png" border="0" alt="image" width="467" height="157" /></a></p>
<p>Okay, now we’re all set. The only thing left to do is enable state changing when a user flicks the screen either to the left or to the right. This is where we will be making use of the my WPBehaviorsLibrary. We’ll go into our asset library –&gt; behaviors tab and you’ll find a behavior called GoToNextState and GoToPreviousState:</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/03/image12.png"><img style="margin: 0px 20px; display: inline; border-width: 0px;" title="image" src="http://aimeegurl.com/wp-content/uploads/2010/03/image_thumb13.png" border="0" alt="image" width="676" height="237" /></a></p>
<p>Drag and drop these two behaviors one by one to the LayoutRoot so that it looks like this:</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/03/image13.png"><img style="margin: 0px 20px; display: inline; border-width: 0px;" title="image" src="http://aimeegurl.com/wp-content/uploads/2010/03/image_thumb14.png" border="0" alt="image" width="304" height="267" /></a></p>
<p>With one of the behaviors selected, go into the property inspector. You have a few options you can set (Loop &amp; UseTransitions) which are pretty self explanatory.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/03/image14.png"><img style="margin: 0px 20px; display: inline; border-width: 0px;" title="image" src="http://aimeegurl.com/wp-content/uploads/2010/03/image_thumb15.png" border="0" alt="image" width="273" height="309" /></a></p>
<p>. You’ll notice there is also a trigger property. The default trigger type is an event trigger. Let’s go ahead and click New to select the FlickGestureTrigger.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/03/image15.png"><img style="margin: 0px 20px; display: inline; border-width: 0px;" title="image" src="http://aimeegurl.com/wp-content/uploads/2010/03/image_thumb16.png" border="0" alt="image" width="390" height="605" /></a></p>
<p>When you click ok, you’ll find that the Gesture has a Direction property that you can set. Basically, we’re saying that the GoToPreviousState action gets fired when the user triggers a flick to the Right. Do the same for the GoToNextState behavior but with a flick to the Left.</p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/03/image16.png"><img style="margin: 0px 20px; display: inline; border-width: 0px;" title="image" src="http://aimeegurl.com/wp-content/uploads/2010/03/image_thumb17.png" border="0" alt="image" width="307" height="365" /></a></p>
<p>And that’s it! Press f5 and select Windows Phone 7 Emulator, unless you’re lucky enough to have a Windows Phone 7 Device. <img class="wlEmoticon wlEmoticon-smile" src="http://aimeegurl.com/wp-content/uploads/2010/03/wlEmoticonsmile1.png" alt="Smile" /></p>
<p><a href="http://aimeegurl.com/wp-content/uploads/2010/03/image17.png"><img style="margin: 0px 20px; display: inline; border-width: 0px;" title="image" src="http://aimeegurl.com/wp-content/uploads/2010/03/image_thumb18.png" border="0" alt="image" width="423" height="237" /></a></p>
<p>You’ll get something like this:</p>
<p> <object id="scPlayer" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="446" height="788" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="quality" value="high" /><param name="bgcolor" value="#FFFFFF" /><param name="flashVars" value="thumb=http://content.screencast.com/users/jawss/folders/Jing/media/ca74bfc2-4fa5-4063-be34-e826163a3fe4/FirstFrame.jpg&amp;containerwidth=446&amp;containerheight=788&amp;content=http://content.screencast.com/users/jawss/folders/Jing/media/ca74bfc2-4fa5-4063-be34-e826163a3fe4/panorama.swf" /><param name="allowFullScreen" value="true" /><param name="scale" value="showall" /><param name="allowScriptAccess" value="always" /><param name="base" value="http://content.screencast.com/users/jawss/folders/Jing/media/ca74bfc2-4fa5-4063-be34-e826163a3fe4/" /><param name="src" value="http://content.screencast.com/users/jawss/folders/Jing/media/ca74bfc2-4fa5-4063-be34-e826163a3fe4/jingswfplayer.swf" /><param name="flashvars" value="thumb=http://content.screencast.com/users/jawss/folders/Jing/media/ca74bfc2-4fa5-4063-be34-e826163a3fe4/FirstFrame.jpg&amp;containerwidth=446&amp;containerheight=788&amp;content=http://content.screencast.com/users/jawss/folders/Jing/media/ca74bfc2-4fa5-4063-be34-e826163a3fe4/panorama.swf" /><param name="allowfullscreen" value="true" /><embed id="scPlayer" type="application/x-shockwave-flash" width="446" height="788" src="http://content.screencast.com/users/jawss/folders/Jing/media/ca74bfc2-4fa5-4063-be34-e826163a3fe4/jingswfplayer.swf" quality="high" bgcolor="#FFFFFF" allowscriptaccess="always" flashvars="thumb=http://content.screencast.com/users/jawss/folders/Jing/media/ca74bfc2-4fa5-4063-be34-e826163a3fe4/FirstFrame.jpg&amp;containerwidth=446&amp;containerheight=788&amp;content=http://content.screencast.com/users/jawss/folders/Jing/media/ca74bfc2-4fa5-4063-be34-e826163a3fe4/panorama.swf" allowfullscreen="true" base="http://content.screencast.com/users/jawss/folders/Jing/media/ca74bfc2-4fa5-4063-be34-e826163a3fe4/" scale="showall"></embed></object></p>
<p>After reading some more on the UI Guidelines, they’ve mentioned a few things about the title like moving at a different speed from the sections, etc. so I’ve tweaked the animations a bit,and now I have the title outside the overall grid, animating it separately. I also have different easing functions on the first and last page from the middle one. The result is this:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="505" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/II7z9qihof0&amp;hl=en_US&amp;fs=1&amp;hd=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="640" height="505" src="http://www.youtube.com/v/II7z9qihof0&amp;hl=en_US&amp;fs=1&amp;hd=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>You can get the code for this project as well as the library here. Also, although I’ve only managed to port  (i.e. copy paste) the States behavior from the <a href="http://gallery.expression.microsoft.com/en-us/MIXBehaviorPack">Mix Behavior Pack</a> to a Windows Phone behavior,  I’ve recompiled the pack to work with Silverlight 4. It’s in this folder as well.</p>
<p><iframe title ="Preview" scrolling="no" marginheight="0" marginwidth="0" frameborder="0" style="width:98px;height:115px;padding:0;background-color:#fcfcfc;" src="http://cid-bdfb7845c22e26b6.office.live.com/embedicon.aspx/Projects/TechFriday/WP7%20-%20Panoramic%20Navigation%20with%20no%20code/PanoramaApplication.zip"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://aimeegurl.com/2010/03/18/panoramic-navigation-on-windows-phone-7-with-no-code/feed/</wfw:commentRss>
		<slash:comments>45</slash:comments>
		</item>
	</channel>
</rss>
