<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Tharindu Madushanka</title>
	<atom:link href="http://tharindufit.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://tharindufit.wordpress.com</link>
	<description>Imagine Free</description>
	<lastBuildDate>Mon, 26 Dec 2011 04:05:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='tharindufit.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Tharindu Madushanka</title>
		<link>http://tharindufit.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://tharindufit.wordpress.com/osd.xml" title="Tharindu Madushanka" />
	<atom:link rel='hub' href='http://tharindufit.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Sanhinda සන්හිඳ for iPhone and Android Application to Type in Sinhala</title>
		<link>http://tharindufit.wordpress.com/2011/12/22/sanhinda-%e0%b7%83%e0%b6%b1%e0%b7%8a%e0%b7%84%e0%b7%92%e0%b6%b3-for-iphone-and-android-application-to-type-in-sinhala/</link>
		<comments>http://tharindufit.wordpress.com/2011/12/22/sanhinda-%e0%b7%83%e0%b6%b1%e0%b7%8a%e0%b7%84%e0%b7%92%e0%b6%b3-for-iphone-and-android-application-to-type-in-sinhala/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 06:37:26 +0000</pubDate>
		<dc:creator>Tharindu</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[App]]></category>
		<category><![CDATA[Application]]></category>
		<category><![CDATA[Applications]]></category>
		<category><![CDATA[AppStore]]></category>
		<category><![CDATA[සන්හිඳ]]></category>
		<category><![CDATA[Demo]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[iPod]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[LiteDreams]]></category>
		<category><![CDATA[LiteDreamz]]></category>
		<category><![CDATA[Messages]]></category>
		<category><![CDATA[ObjectiveC]]></category>
		<category><![CDATA[Sanhinda]]></category>
		<category><![CDATA[Screens]]></category>
		<category><![CDATA[SMS]]></category>
		<category><![CDATA[Transliterate]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://tharindufit.wordpress.com/?p=454</guid>
		<description><![CDATA[We formed a little team of four friends LiteDreamz.com to make some fun time creative apps. සන්හිඳ (Sanhinda) is the first one for us to start with. In our team I am working on iOS development. And my friend Dulan works on Android. Julian with his experience does graphic design for us. Asanka, we usually [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tharindufit.wordpress.com&amp;blog=1167262&amp;post=454&amp;subd=tharindufit&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We formed a little team of four friends <a title="LiteDreamz" href="http://litedreamz.com" target="_blank">LiteDreamz.com</a> to make some fun time creative apps. සන්හිඳ (Sanhinda) is the first one for us to start with. In our team I am working on iOS development. And my friend Dulan works on Android. Julian with his experience does graphic design for us. Asanka, we usually call him Lokkaiya works on Web, PHP developments. All of us together makes a nice combination to bring our little crazy ideas into public. I had an idea of making Sinhala transliteration app from past looking at Google Tranliterate &amp; UCSC online transliterate tool and I have been using them for quite a while. iPhone had a lack of Sinhala Keyboard and also a transliterate app that makes Sinhala typing difficult on my favorite mobile phone. Therefore, We decided to make this idea live as the first step on Both iOS &amp; Android. Sanhinda for Android was developed by Dulan and I developed the Sanhinda for iPhone.</p>
<p>Download <a title="Sanhinda for iPhone" href="http://itunes.apple.com/us/app/sanhinda/id489939721?ls=1&amp;amp;mt=8" target="_blank">Sanhinda for iPhone</a> by Me</p>
<p>Download <a title="Sanhinda for Android" href="https://market.android.com/details?id=com.litedreamz.android" target="_blank">Sanhinda for Android</a> by Dulan</p>
<p><a href="http://itunes.apple.com/us/app/sanhinda/id489939721?ls=1&amp;mt=8" target="_blank"> <img class="alignnone size-full wp-image-153" title="avail_on_app_store" src="http://tharindufit.files.wordpress.com/2009/05/avail_on_app_store.png?w=500" alt="avail_on_app_store"   /></a></p>
<p>Sanhinda (සන්හිඳ) featured in iTunes Sri Lanka within 3 days of its initial release. Below is a few screenshots of it having top ranks in AppStore Sri Lanka.</p>
<p>#1 Free iPhone App in Sri Lanka</p>
<p>#1 Free iPhone App in Utilities Sri Lanka</p>
<p><a href="http://tharindufit.files.wordpress.com/2011/12/img_1947.png"><img title="" src="http://tharindufit.files.wordpress.com/2011/12/img_1947.png?w=200&#038;h=300" alt="" width="200" height="300" /></a>  <a href="http://tharindufit.files.wordpress.com/2011/12/img_1949.png"><img title="" src="http://tharindufit.files.wordpress.com/2011/12/img_1949.png?w=200&#038;h=300" alt="" width="200" height="300" /></a></p>
<p><a href="http://tharindufit.files.wordpress.com/2011/12/screen-shot-2011-12-22-at-8-47-15-pm.png"><img title="" src="http://tharindufit.files.wordpress.com/2011/12/screen-shot-2011-12-22-at-8-47-15-pm.png?w=300&#038;h=198" alt="" width="300" height="198" /></a></p>
<p>Following is a little screen demo of සන්හිඳ for iPhone..</p>
<span style="text-align:center; display: block;"><a href="http://tharindufit.wordpress.com/2011/12/22/sanhinda-%e0%b7%83%e0%b6%b1%e0%b7%8a%e0%b7%84%e0%b7%92%e0%b6%b3-for-iphone-and-android-application-to-type-in-sinhala/"><img src="http://img.youtube.com/vi/0T_iC3n728s/2.jpg" alt="" /></a></span>
<p>Few screens of the සන්හිඳ for iPhone..</p>
<p><a href="http://tharindufit.files.wordpress.com/2011/12/photo-1.png"><img class="alignnone size-medium wp-image-468" title="" src="http://tharindufit.files.wordpress.com/2011/12/photo-1.png?w=200&#038;h=300" alt="" width="200" height="300" /></a>  <a href="http://tharindufit.files.wordpress.com/2011/12/photo-2.png"><img class="alignnone size-medium wp-image-469" title="" src="http://tharindufit.files.wordpress.com/2011/12/photo-2.png?w=200&#038;h=300" alt="" width="200" height="300" /></a>  <a href="http://tharindufit.files.wordpress.com/2011/12/photo-3.png"><img class="alignnone size-medium wp-image-470" title="" src="http://tharindufit.files.wordpress.com/2011/12/photo-3.png?w=200&#038;h=300" alt="" width="200" height="300" /></a>  <a href="http://tharindufit.files.wordpress.com/2011/12/photo-4.png"><img class="alignnone size-medium wp-image-471" title="" src="http://tharindufit.files.wordpress.com/2011/12/photo-4.png?w=200&#038;h=300" alt="" width="200" height="300" /></a>  <a href="http://tharindufit.files.wordpress.com/2011/12/photo-5.png"><img class="alignnone size-medium wp-image-474" title="" src="http://tharindufit.files.wordpress.com/2011/12/photo-5.png?w=200&#038;h=300" alt="" width="200" height="300" /></a>  <a href="http://tharindufit.files.wordpress.com/2011/12/photo-8.png"><img class="alignnone size-medium wp-image-475" title="" src="http://tharindufit.files.wordpress.com/2011/12/photo-8.png?w=200&#038;h=300" alt="" width="200" height="300" /></a></p>
<p>Few screens of සන්හිඳ for Android..</p>
<p><a href="http://tharindufit.files.wordpress.com/2011/12/photo-11.png"><img class="alignnone size-medium wp-image-476" title="" src="http://tharindufit.files.wordpress.com/2011/12/photo-11.png?w=180&#038;h=300" alt="" width="180" height="300" /></a>  <a href="http://tharindufit.files.wordpress.com/2011/12/photo-21.png"><img class="alignnone size-medium wp-image-477" title="" src="http://tharindufit.files.wordpress.com/2011/12/photo-21.png?w=180&#038;h=300" alt="" width="180" height="300" /></a>  <a href="http://tharindufit.files.wordpress.com/2011/12/photo-31.png"><img class="alignnone size-medium wp-image-478" title="" src="http://tharindufit.files.wordpress.com/2011/12/photo-31.png?w=180&#038;h=300" alt="" width="180" height="300" /></a>  <a href="http://tharindufit.files.wordpress.com/2011/12/photo-41.png"><img class="alignnone size-medium wp-image-479" title="" src="http://tharindufit.files.wordpress.com/2011/12/photo-41.png?w=180&#038;h=300" alt="" width="180" height="300" /></a>  <a href="http://tharindufit.files.wordpress.com/2011/12/photo-51.png"><img class="alignnone size-medium wp-image-480" title="" src="http://tharindufit.files.wordpress.com/2011/12/photo-51.png?w=180&#038;h=300" alt="" width="180" height="300" /></a>  <a href="http://tharindufit.files.wordpress.com/2011/12/photo-6.png"><img class="alignnone size-medium wp-image-481" title="" src="http://tharindufit.files.wordpress.com/2011/12/photo-6.png?w=180&#038;h=300" alt="" width="180" height="300" /></a></p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tharindufit.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tharindufit.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tharindufit.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tharindufit.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tharindufit.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tharindufit.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tharindufit.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tharindufit.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tharindufit.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tharindufit.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tharindufit.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tharindufit.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tharindufit.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tharindufit.wordpress.com/454/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tharindufit.wordpress.com&amp;blog=1167262&amp;post=454&amp;subd=tharindufit&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tharindufit.wordpress.com/2011/12/22/sanhinda-%e0%b7%83%e0%b6%b1%e0%b7%8a%e0%b7%84%e0%b7%92%e0%b6%b3-for-iphone-and-android-application-to-type-in-sinhala/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6c71bc78200f57380820f0b3a20021c1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tharindu</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2009/05/avail_on_app_store.png" medium="image">
			<media:title type="html">avail_on_app_store</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2011/12/img_1947.png?w=200" medium="image" />

		<media:content url="http://tharindufit.files.wordpress.com/2011/12/img_1949.png?w=200" medium="image" />

		<media:content url="http://tharindufit.files.wordpress.com/2011/12/screen-shot-2011-12-22-at-8-47-15-pm.png?w=300" medium="image" />

		<media:content url="http://tharindufit.files.wordpress.com/2011/12/photo-1.png?w=200" medium="image" />

		<media:content url="http://tharindufit.files.wordpress.com/2011/12/photo-2.png?w=200" medium="image" />

		<media:content url="http://tharindufit.files.wordpress.com/2011/12/photo-3.png?w=200" medium="image" />

		<media:content url="http://tharindufit.files.wordpress.com/2011/12/photo-4.png?w=200" medium="image" />

		<media:content url="http://tharindufit.files.wordpress.com/2011/12/photo-5.png?w=200" medium="image" />

		<media:content url="http://tharindufit.files.wordpress.com/2011/12/photo-8.png?w=200" medium="image" />

		<media:content url="http://tharindufit.files.wordpress.com/2011/12/photo-11.png?w=180" medium="image" />

		<media:content url="http://tharindufit.files.wordpress.com/2011/12/photo-21.png?w=180" medium="image" />

		<media:content url="http://tharindufit.files.wordpress.com/2011/12/photo-31.png?w=180" medium="image" />

		<media:content url="http://tharindufit.files.wordpress.com/2011/12/photo-41.png?w=180" medium="image" />

		<media:content url="http://tharindufit.files.wordpress.com/2011/12/photo-51.png?w=180" medium="image" />

		<media:content url="http://tharindufit.files.wordpress.com/2011/12/photo-6.png?w=180" medium="image" />
	</item>
		<item>
		<title>AES128 Encryption in iOS and Decryption in PHP</title>
		<link>http://tharindufit.wordpress.com/2011/12/15/aes128-encryption-in-ios-and-decryption-in-php/</link>
		<comments>http://tharindufit.wordpress.com/2011/12/15/aes128-encryption-in-ios-and-decryption-in-php/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 15:28:56 +0000</pubDate>
		<dc:creator>Tharindu</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[128]]></category>
		<category><![CDATA[AES]]></category>
		<category><![CDATA[AES128]]></category>
		<category><![CDATA[Base64Encoding]]></category>
		<category><![CDATA[Categories]]></category>
		<category><![CDATA[Decryption]]></category>
		<category><![CDATA[Encryption]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[Key]]></category>
		<category><![CDATA[ObjC]]></category>
		<category><![CDATA[PCKS7Padding]]></category>

		<guid isPermaLink="false">http://tharindufit.wordpress.com/?p=422</guid>
		<description><![CDATA[It was somewhat not straight forward getting this task done initially for me, but finally everything was fine with Objective-C &#38; PHP on decrypting the text encrypted via iOS code with the help of Google &#38; StackOverflow. So I thought of sharing successful piece of codes for iOS and PHP for this task on my [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tharindufit.wordpress.com&amp;blog=1167262&amp;post=422&amp;subd=tharindufit&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It was somewhat not straight forward getting this task done initially for me, but finally everything was fine with Objective-C &amp; PHP on decrypting the text encrypted via iOS code with the help of Google &amp; StackOverflow. So I thought of sharing successful piece of codes for iOS and PHP for this task on my blog. The problem with PHP is PHP does not support PKCS7Padding by default which is supported by iOS. So we need to unpad the encrypted text to make decryption successful at PHP code.</p>
<p>On Objective-C, we will extend NSData class and NSString class to have an AES128 encrypted string on iOS using categories. Basically, important AES128 Encryption code is listed below. But for easy reference, download NSData,NSString AES128 Categories from <a title="AES128 Encryption iOS, Objective-C" href="https://github.com/tharindu/AES128Encryption-ObjC/" target="_blank">here</a>. and add them to XCode project.</p>
<p><strong>iOS Code</strong></p>
<blockquote><p>- (NSData *)AES128EncryptWithKey:(NSString *)key<br />
{<br />
// &#8216;key&#8217; should be 16 bytes for AES128<br />
char keyPtr[kCCKeySizeAES128 + 1]; // room for terminator (unused)<br />
bzero( keyPtr, sizeof( keyPtr ) ); // fill with zeroes (for padding)</p>
<p>// fetch key data<br />
[key getCString:keyPtr maxLength:sizeof( keyPtr ) encoding:NSUTF8StringEncoding];</p>
<p>NSUInteger dataLength = [self length];</p>
<p>//See the doc: For block ciphers, the output size will always be less than or<br />
//equal to the input size plus the size of one block.<br />
//That&#8217;s why we need to add the size of one block here<br />
size_t bufferSize = dataLength + kCCBlockSizeAES128;<br />
void *buffer = malloc( bufferSize );</p>
<p>size_t numBytesEncrypted = 0;<br />
CCCryptorStatus cryptStatus = CCCrypt( kCCEncrypt, kCCAlgorithmAES128, kCCOptionECBMode | kCCOptionPKCS7Padding,<br />
keyPtr, kCCKeySizeAES128,<br />
NULL /* initialization vector (optional) */,<br />
[self bytes], dataLength, /* input */<br />
buffer, bufferSize, /* output */<br />
&amp;numBytesEncrypted );<br />
if( cryptStatus == kCCSuccess )<br />
{<br />
//the returned NSData takes ownership of the buffer and will free it on deallocation<br />
return [NSData dataWithBytesNoCopy:buffer length:numBytesEncrypted];<br />
}</p>
<p>free( buffer ); //free the buffer<br />
return nil;<br />
}</p></blockquote>
<p>Now add the below PHP function at your server side to decrypt the text with PHP. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>PHP Code</strong></p>
<blockquote><p>function decrypt_password($pass,$key)<br />
{</p>
<p>$base64encoded_ciphertext = $pass;</p>
<p>$res_non = mcrypt_decrypt(MCRYPT_RIJNDAEL_128, $key, base64_decode($base64encoded_ciphertext), &#8216;ecb&#8217;);</p>
<p>$decrypted = $res_non;<br />
$dec_s2 = strlen($decrypted);</p>
<p>$padding = ord($decrypted[$dec_s2-1]);<br />
$decrypted = substr($decrypted, 0, -$padding);</p>
<p>return  $decrypted;<br />
}</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tharindufit.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tharindufit.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tharindufit.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tharindufit.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tharindufit.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tharindufit.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tharindufit.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tharindufit.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tharindufit.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tharindufit.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tharindufit.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tharindufit.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tharindufit.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tharindufit.wordpress.com/422/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tharindufit.wordpress.com&amp;blog=1167262&amp;post=422&amp;subd=tharindufit&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tharindufit.wordpress.com/2011/12/15/aes128-encryption-in-ios-and-decryption-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6c71bc78200f57380820f0b3a20021c1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tharindu</media:title>
		</media:content>
	</item>
		<item>
		<title>How to change XCode 4 [4.2] Organization Name Entry in Templates</title>
		<link>http://tharindufit.wordpress.com/2011/07/19/how-to-change-xcode-4-4-2-organization-name-entry-in-templates/</link>
		<comments>http://tharindufit.wordpress.com/2011/07/19/how-to-change-xcode-4-4-2-organization-name-entry-in-templates/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 08:13:07 +0000</pubDate>
		<dc:creator>Tharindu</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[4.2]]></category>
		<category><![CDATA[Address Book]]></category>
		<category><![CDATA[Company Name]]></category>
		<category><![CDATA[File Templates]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[Organization Name]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[XCode]]></category>
		<category><![CDATA[Xcode 4]]></category>

		<guid isPermaLink="false">http://tharindufit.wordpress.com/?p=405</guid>
		<description><![CDATA[Today, I wanted to change Company Name entry in new XCode 4.2 project file templates. If it&#8217;s not set for the project by default Organization Name appears as __MyCompanyName__. Earlier it used to be read from either ~/Library/Preferences/com.apple.Xcode.plist file Or using Address Book entry for company under current user logged in. So I was wondering [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tharindufit.wordpress.com&amp;blog=1167262&amp;post=405&amp;subd=tharindufit&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today, I wanted to change Company Name entry in new XCode 4.2 project file templates. If it&#8217;s not set for the project by default Organization Name appears as <code>__MyCompanyName__</code>.</p>
<p>Earlier it used to be read from either <code>~/Library/Preferences/com.apple.Xcode.plist</code> file Or using Address Book entry for company under current user logged in. So I was wondering why it doesn&#8217;t appear on new files I add to the project with XCode 4.2.</p>
<blockquote>
<pre>defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions
-dict ORGANIZATIONNAME "CyberLMJ"</pre>
</blockquote>
<p>&nbsp;</p>
<p>I had already added the ORGANIZATIONNAME key, but still had the default name in. Alternatively, I could have also changed the file templates in <code>/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/File Templates</code> or <code>/Developer/Library/Xcode/Templates/File Templates</code>. But it seem to be not really easy or useful, as I just needed to change company name entry only.</p>
<p>Finally, I found out there&#8217;s a very easy way hidden or unseen for me for some reason with new XCode, added <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Select the project and look for the right pane. View &gt; Utilities &gt; Show File Inspector [option + command + 1]. Organization entry is there available for each new project.</p>
<p><a href="http://tharindufit.files.wordpress.com/2011/07/org_name.png"><img class="alignnone size-medium wp-image-407" title="Organization Name Entry for XCode" src="http://tharindufit.files.wordpress.com/2011/07/org_name.png?w=240&#038;h=300" alt="" width="240" height="300" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tharindufit.wordpress.com/405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tharindufit.wordpress.com/405/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tharindufit.wordpress.com/405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tharindufit.wordpress.com/405/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tharindufit.wordpress.com/405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tharindufit.wordpress.com/405/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tharindufit.wordpress.com/405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tharindufit.wordpress.com/405/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tharindufit.wordpress.com/405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tharindufit.wordpress.com/405/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tharindufit.wordpress.com/405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tharindufit.wordpress.com/405/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tharindufit.wordpress.com/405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tharindufit.wordpress.com/405/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tharindufit.wordpress.com&amp;blog=1167262&amp;post=405&amp;subd=tharindufit&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tharindufit.wordpress.com/2011/07/19/how-to-change-xcode-4-4-2-organization-name-entry-in-templates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6c71bc78200f57380820f0b3a20021c1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tharindu</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2011/07/org_name.png?w=240" medium="image">
			<media:title type="html">Organization Name Entry for XCode</media:title>
		</media:content>
	</item>
		<item>
		<title>Bloodless Medicine iPhone App (iAvoidBlood)</title>
		<link>http://tharindufit.wordpress.com/2011/04/05/bloodless-medicine-iphone-app-iavoidblood/</link>
		<comments>http://tharindufit.wordpress.com/2011/04/05/bloodless-medicine-iphone-app-iavoidblood/#comments</comments>
		<pubDate>Tue, 05 Apr 2011 18:12:00 +0000</pubDate>
		<dc:creator>Tharindu</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Alternatives]]></category>
		<category><![CDATA[Application]]></category>
		<category><![CDATA[Blood]]></category>
		<category><![CDATA[Bloodless]]></category>
		<category><![CDATA[Bloodless Centers]]></category>
		<category><![CDATA[eBlood Card]]></category>
		<category><![CDATA[Health Care]]></category>
		<category><![CDATA[iAvoidBlood]]></category>
		<category><![CDATA[Information]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPod]]></category>
		<category><![CDATA[Jehovah]]></category>
		<category><![CDATA[Medicine]]></category>
		<category><![CDATA[Simulator]]></category>
		<category><![CDATA[Transfusion]]></category>
		<category><![CDATA[Treatment]]></category>

		<guid isPermaLink="false">http://tharindufit.wordpress.com/?p=375</guid>
		<description><![CDATA[I started with few little iPhone apps at Silk. Blood App (simply termed) was one of iOS apps that I worked on during my stay at Silk. It&#8217;s later decided to name as iAvoidBlood to highlight its core function. This application is a collaborative educational project which promotes Bloodless Medicine. Bloodless Medicine refers to emerging [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tharindufit.wordpress.com&amp;blog=1167262&amp;post=375&amp;subd=tharindufit&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I started with few little iPhone apps at <a title="Silk Outsourcing" href="http://www.silk-apps.com/" target="_blank">Silk</a>. Blood App (simply termed) was one of iOS apps that I worked on during my stay at Silk. It&#8217;s later decided to name as iAvoidBlood to highlight its core function. This application is a collaborative educational project which promotes Bloodless Medicine. Bloodless Medicine refers to emerging clinical strategies for medical care without allogeneic blood transfusion and is said to be a well-defined area in Blood Management. The circular of information distributed with Blood and Blood Components recommends that all physicians be familiar with the alternatives that are a part of Bloodless Medicine.</p>
<p><a href="http://itunes.apple.com/us/app/iavoidblood/id430569881?mt=8&amp;ls=1"><br />
Download iAvoidBlood on Apple Store</a></p>
<p>Blood App include three utilities named Evaluation (Animated Blood Calculator), eBlood Card &amp; Blood Centers (Geo-Localization). In addition, App include detailed informative sections describing Blood (components of blood), Blood Transfusion, Transfusion Alternatives, Ethics and Glossary.</p>
<p>Evaluation utility &#8211; adds an animated calculation showing Final HT value calculated using patient or user&#8217;s Gender, Estimated Blood loss, Initial HT &amp; Transfusion Threshold.</p>
<p>E-Blood Card &#8211; provides users to keep his preferences for accepting whole blood or its components. Users can share their e-blood card via emails.</p>
<p>Blood Centers &#8211; shows the nearest Blood Centers marked on a Google Map using iPhone Map Kit framework. Using Google Geo-coding API users are provided a way to search for nearest blood centers from any location. Data for the blood centers are read from silk web services. Even user could look for the route for Blood center and its details.</p>
<p>Transfusion Alternatives &#8211; provides comprehensive detailed section that describe the top to bottom details on Bloodless Medicine.</p>
<p><a href="http://itunes.apple.com/us/app/iavoidblood/id430569881?mt=8&amp;ls=1" target="_blank"> <img class="alignnone size-full wp-image-153" title="avail_on_app_store" src="http://tharindufit.files.wordpress.com/2009/05/avail_on_app_store.png?w=500" alt="avail_on_app_store"   /></a></p>
<p>Following is a quick video of the Blood App.</p>
<span style="text-align:center; display: block;"><a href="http://tharindufit.wordpress.com/2011/04/05/bloodless-medicine-iphone-app-iavoidblood/"><img src="http://img.youtube.com/vi/EEk24_orkT4/2.jpg" alt="" /></a></span>
<p>Following are some screen shots for the app.</p>
<p><a href="http://tharindufit.files.wordpress.com/2011/04/screen-shot-2011-04-05-at-10-58-32-pm.png"><img class="alignnone size-medium wp-image-383" title="Home Screen" src="http://tharindufit.files.wordpress.com/2011/04/screen-shot-2011-04-05-at-10-58-32-pm.png?w=200&#038;h=300" alt="" width="200" height="300" /></a> <a href="http://tharindufit.files.wordpress.com/2011/04/screen-shot-2011-04-05-at-10-59-19-pm.png"><img class="alignnone size-medium wp-image-384" title="Bloodless Centers" src="http://tharindufit.files.wordpress.com/2011/04/screen-shot-2011-04-05-at-10-59-19-pm.png?w=200&#038;h=300" alt="" width="200" height="300" /></a> <a href="http://tharindufit.files.wordpress.com/2011/04/screen-shot-2011-04-05-at-10-59-33-pm.png"><img class="alignnone size-medium wp-image-385" title="Add New Center" src="http://tharindufit.files.wordpress.com/2011/04/screen-shot-2011-04-05-at-10-59-33-pm.png?w=200&#038;h=300" alt="" width="200" height="300" /></a> <a href="http://tharindufit.files.wordpress.com/2011/04/screen-shot-2011-04-05-at-11-00-00-pm.png"><img class="alignnone size-medium wp-image-386" title="Center Detail" src="http://tharindufit.files.wordpress.com/2011/04/screen-shot-2011-04-05-at-11-00-00-pm.png?w=200&#038;h=300" alt="" width="200" height="300" /></a> <a href="http://tharindufit.files.wordpress.com/2011/04/screen-shot-2011-04-05-at-11-00-28-pm.png"><img class="alignnone size-medium wp-image-387" title="eBlood Card" src="http://tharindufit.files.wordpress.com/2011/04/screen-shot-2011-04-05-at-11-00-28-pm.png?w=201&#038;h=300" alt="" width="201" height="300" /></a> <a href="http://tharindufit.files.wordpress.com/2011/04/screen-shot-2011-04-05-at-11-00-41-pm.png"><img class="alignnone size-medium wp-image-388" title="Trans. Alternatives" src="http://tharindufit.files.wordpress.com/2011/04/screen-shot-2011-04-05-at-11-00-41-pm.png?w=200&#038;h=300" alt="" width="200" height="300" /></a> <a href="http://tharindufit.files.wordpress.com/2011/04/screen-shot-2011-04-05-at-11-01-02-pm.png"><img class="alignnone size-medium wp-image-389" title="Trans. Info" src="http://tharindufit.files.wordpress.com/2011/04/screen-shot-2011-04-05-at-11-01-02-pm.png?w=200&#038;h=300" alt="" width="200" height="300" /></a> <a href="http://tharindufit.files.wordpress.com/2011/04/screen-shot-2011-04-05-at-11-01-22-pm.png"><img class="alignnone size-medium wp-image-390" title="Simulator" src="http://tharindufit.files.wordpress.com/2011/04/screen-shot-2011-04-05-at-11-01-22-pm.png?w=201&#038;h=300" alt="" width="201" height="300" /></a></p>
<p><img src="///Users/tharindumadushanka/Desktop/Screen%20shot%202011-04-05%20at%2010.58.32%20PM.png" alt="" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tharindufit.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tharindufit.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tharindufit.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tharindufit.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tharindufit.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tharindufit.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tharindufit.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tharindufit.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tharindufit.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tharindufit.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tharindufit.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tharindufit.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tharindufit.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tharindufit.wordpress.com/375/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tharindufit.wordpress.com&amp;blog=1167262&amp;post=375&amp;subd=tharindufit&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tharindufit.wordpress.com/2011/04/05/bloodless-medicine-iphone-app-iavoidblood/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6c71bc78200f57380820f0b3a20021c1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tharindu</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2009/05/avail_on_app_store.png" medium="image">
			<media:title type="html">avail_on_app_store</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2011/04/screen-shot-2011-04-05-at-10-58-32-pm.png?w=200" medium="image">
			<media:title type="html">Home Screen</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2011/04/screen-shot-2011-04-05-at-10-59-19-pm.png?w=200" medium="image">
			<media:title type="html">Bloodless Centers</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2011/04/screen-shot-2011-04-05-at-10-59-33-pm.png?w=200" medium="image">
			<media:title type="html">Add New Center</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2011/04/screen-shot-2011-04-05-at-11-00-00-pm.png?w=200" medium="image">
			<media:title type="html">Center Detail</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2011/04/screen-shot-2011-04-05-at-11-00-28-pm.png?w=201" medium="image">
			<media:title type="html">eBlood Card</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2011/04/screen-shot-2011-04-05-at-11-00-41-pm.png?w=200" medium="image">
			<media:title type="html">Trans. Alternatives</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2011/04/screen-shot-2011-04-05-at-11-01-02-pm.png?w=200" medium="image">
			<media:title type="html">Trans. Info</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2011/04/screen-shot-2011-04-05-at-11-01-22-pm.png?w=201" medium="image">
			<media:title type="html">Simulator</media:title>
		</media:content>
	</item>
		<item>
		<title>How to compile Siphon for Non-Jail Broken iPhone-Make VoIP calls on WiFi</title>
		<link>http://tharindufit.wordpress.com/2010/06/18/how-to-compile-siphon-for-non-jail-broken-iphone-make-voip-calls-on-wifi/</link>
		<comments>http://tharindufit.wordpress.com/2010/06/18/how-to-compile-siphon-for-non-jail-broken-iphone-make-voip-calls-on-wifi/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 06:50:54 +0000</pubDate>
		<dc:creator>Tharindu</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[VoIP]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[Calls]]></category>
		<category><![CDATA[Compile]]></category>
		<category><![CDATA[Device]]></category>
		<category><![CDATA[iPhone OS 3.0]]></category>
		<category><![CDATA[iPhone SDK]]></category>
		<category><![CDATA[iPhone Simulator]]></category>
		<category><![CDATA[Issues]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[Siphon]]></category>
		<category><![CDATA[WiFi]]></category>

		<guid isPermaLink="false">http://tharindufit.wordpress.com/?p=353</guid>
		<description><![CDATA[I was needed to somehow add VoIP into my Level4 Project. It made me search all over Google for some existing work. And found this project Siphon that enables SIP voice calls. There are few guides on Siphon Wiki, still I was stuck with linking issues for nearly a month. After trying lots of hours [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tharindufit.wordpress.com&amp;blog=1167262&amp;post=353&amp;subd=tharindufit&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was needed to somehow add VoIP into my Level4 Project. It made me search all over Google for some existing work. And found this project Siphon that enables SIP voice calls. There are few guides on Siphon Wiki, still I was stuck with linking issues for nearly a month. After trying lots of hours I gave up all that trying to compile for iPhone 3.0. Again yesterday, I have been trying to compile free open source project Siphon to run on iPhone Simulator and iPhone all day. It was really difficult task having the Siphon team done lots of effort on making an Open Source project, still just to compile it. My lack of knowledge in C++ or C made this even harder. Finally lots of hours invested, days wasted now I have it running on my iPhone. So may be this will help some newbie on low level coding (C, C++) other than Objective-C to run this amazing app compiled on your iPod or iPhone. Having credits on your SIP account you may convert your iPod into an iPhone on WiFi.</p>
<p><a title="Siphon project on Google Code" href="http://code.google.com/p/siphon/" target="_blank">Siphon Project</a> on Google Code</p>
<p><a href="http://tharindufit.files.wordpress.com/2010/06/photo.jpg"><img class="alignnone size-medium wp-image-356" title="photo" src="http://tharindufit.files.wordpress.com/2010/06/photo.jpg?w=200&#038;h=300" alt="" width="200" height="300" /></a> <a href="http://tharindufit.files.wordpress.com/2010/06/photo-2.jpg"><img class="alignnone size-medium wp-image-357" title="photo 2" src="http://tharindufit.files.wordpress.com/2010/06/photo-2.jpg?w=200&#038;h=300" alt="" width="200" height="300" /></a></p>
<p>Siphon has wiki pages saying how it could compile to iPhone OS 2.x but still it seems to be not enough and I couldn&#8217;t make it success by any means unfortunately.</p>
<p>Steps to follow for Newbie.</p>
<p><strong>1. </strong>We need to compile and build required libraries from compiling PJSIP project first. There are few things I did wrong here. I have compiled for Device and tried to run it on Simulator without writing my own configure script. Trying to use same one on PJSIP Then I got so many linking issues that I couldn&#8217;t understand WTF is this.</p>
<p><strong>2. </strong>Let&#8217;s compile PJSIP for iPhone first and build libraries required and then to Simulator as well with a more change to configure script. Before going into Siphon project.</p>
<p><strong>2-1. </strong>Download PJSIP source code from here. Now it includes configure script for iPhone that you need to edit once for iPhone again for Simulator.</p>
<blockquote>
<pre>svn co http://svn.pjsip.org/repos/pjproject/trunk pjproject</pre>
</blockquote>
<p><strong>2-2. </strong>Create a new file<code> pjlib/include/pj/config_site.h</code>.  Add following code into it.</p>
<blockquote>
<pre>#define PJ_CONFIG_IPHONE 1
#include &lt;pj/config_site_sample.h&gt;</pre>
</blockquote>
<p><strong>2-3. </strong>If you go to pjproject folder, you will see configure-iphone script. Need to edit this to compile for your desired iPhone SDK. Open this with your favorite Text editor, mine was TextWrangler.</p>
<blockquote>
<pre>$ edit configure-iphone</pre>
</blockquote>
<p><strong>2-4. </strong>Hard code the $DEVPATH and $IPHONESDK. So you don&#8217;t need to export those environment variables. If you not specify $IPHONESDK it will be the OS default. ex.</p>
<blockquote>
<pre>DEVPATH=/Developer/Platforms/iPhoneOS.platform/Developer
IPHONESDK=iPhoneOS3.0.sdk</pre>
</blockquote>
<p><strong>2-5. </strong>Now you can easily build the libraries that will be stored in lib directories of folders, pjlib, pjlib-util, pjmedia, pjnath, pjsip, third_party. Check once again about your configure-iphone script for correct paths and compile and build libraries using following commands simply.</p>
<blockquote>
<pre>$ cd /path/to/your/pjproject/dir
$ ./configure-iphone
$ make dep &amp;&amp; make clean &amp;&amp; make</pre>
</blockquote>
<p><strong>2-6. </strong>Now you have libraries for iPhone. Make a copy of <code>pjproject</code> folder and rename it to <code>pjproject_sim</code>. Here we are going to have our iPhone Simulator libraries built</p>
<blockquote>
<pre>$ cd /path/to/your/pjproject_sim/dir
$ edit configure-iphone</pre>
</blockquote>
<p><strong>2-7. </strong>Hard code the $DEVPATH and $IPHONESDK. This time they should the paths for Simulator SDKs. And one more change here, that I was missing. caused all sorts of problems.</p>
<p><strong>2-8. </strong>Search for <code>'ls -d ${SDKPATH}/usr/lib/gcc/arm-apple-darwin*'</code> in configure script and replace it with following that way you could build correct libraries for simulator.</p>
<blockquote>
<pre>ls -d ${SDKPATH}/usr/lib/gcc/i686-apple-darwin*</pre>
</blockquote>
<p><strong>2-9. </strong>Great now you have all libraries needed in folders, <code>pjproject</code> and <code>pjproject_sim</code>.</p>
<p><strong>3. </strong>Now let&#8217;s go and checkout siphon project.</p>
<blockquote><p><tt>svn checkout <strong><em>http</em></strong>://siphon.googlecode.com/svn/trunk/ siphon</tt></p></blockquote>
<p><strong>4. </strong>There was a compilation issue in Siphon code, that you could ignore by doing a little trick, I don&#8217;t know whether its right or wrong. But it works perfect. Otherwise, project didn&#8217;t compile for me. Open Siphon2 folder iPhone project on iPhone then go to <code>call.m</code>. Search for <code>PJSIP_CRED_DATA_MJ_DIGEST</code> and replace it with <code>PJSIP_CRED_DATA_DIGEST</code>.</p>
<p><strong>5. </strong>Now add all the library .a files in following folders to the project. pjlib, pjlib-util, pjmedia, pjnath, pjsip, third_party.</p>
<p><strong>6. </strong>Now follow the screen shots carefully. If you build for simulator use simulator library files (<code>pjproject_sim</code> folder) and include files to library and header search paths, other wise use libraries &amp; include files in <code>pjproject</code> folder.</p>
<p><a href="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-18-at-11-53-48-am.png"><img class="alignnone size-medium wp-image-358" title="Screen shot 2010-06-18 at 11.53.48 AM" src="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-18-at-11-53-48-am.png?w=300&#038;h=165" alt="" width="300" height="165" /></a></p>
<p>Make a duplicate of Debug to run in iPhone, let debug to be used by used by simulator libraries.</p>
<p><a href="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-18-at-11-55-40-am.png"><img class="alignnone size-medium wp-image-359" title="Screen shot 2010-06-18 at 11.55.40 AM" src="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-18-at-11-55-40-am.png?w=300&#038;h=82" alt="" width="300" height="82" /></a></p>
<p>Let&#8217;s add Library Search Paths &amp; Header Search Paths for siphon target. Following are examples of my locations for simulator. For device its the location to pjproject folder we built and stored our library files for Device.</p>
<p><a href="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-18-at-11-58-57-am.png"><img class="alignnone size-medium wp-image-360" title="Screen shot 2010-06-18 at 11.58.57 AM" src="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-18-at-11-58-57-am.png?w=300&#038;h=123" alt="" width="300" height="123" /></a></p>
<p><a href="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-18-at-12-02-19-pm.png"><img class="alignnone size-full wp-image-361" title="Screen shot 2010-06-18 at 12.02.19 PM" src="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-18-at-12-02-19-pm.png?w=500" alt=""   /></a></p>
<p><a href="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-18-at-12-03-29-pm.png"><img class="alignnone size-full wp-image-362" title="Screen shot 2010-06-18 at 12.03.29 PM" src="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-18-at-12-03-29-pm.png?w=500" alt=""   /></a></p>
<p>Change CYDIA=0 in Preprocessor Macros</p>
<p><a href="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-18-at-12-03-47-pm.png"><img class="alignnone size-full wp-image-363" title="Screen shot 2010-06-18 at 12.03.47 PM" src="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-18-at-12-03-47-pm.png?w=500" alt=""   /></a></p>
<p><strong>7. </strong>Add the Settings Bundle for your project as given in this following link. It works perfect then.</p>
<p><a title="Siphon and Settings Bundles" href="http://www.piemontewireless.net/Siphon_and_Settings_Bundles" target="_blank">Siphon and Settings Bundles</a></p>
<p><strong>8. </strong>Now you could run it on your iPhone or Simulator. Use a free SIP service to create SIP accounts to test the app. I have used, <a title="Sip2Sip SIP Service" href="http://sip2sip.info" target="_blank">Sip2Sip</a></p>
<h2><strong>NOTES ABOUT COMPILING &#8220;PJSIP&#8221;</strong></h2>
<p>Following link contains very useful information updated about how to get PJSIP compiled for iOS. Please refer to the pjproject Wiki page below.</p>
<p><a title="Building for Apple iPhone, iPad and iPod Touch" href="http://trac.pjsip.org/repos/wiki/Getting-Started/iPhone" target="_blank">Building for Apple iPhone, iPad and iPod Touch</a></p>
<p><strong>* IMPORTANT:</strong> I had to follow additional step to get things done for iOS Simulator. before run ./configure-iphone script</p>
<pre>export DEVPATH=/Developer/Platforms/iPhoneSimulator.platform/Developer
export CC=$DEVPATH/usr/bin/gcc
export CFLAGS="-O2 -m32 -miphoneos-version-min=3.0" LDFLAGS="-O2 -m32"</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tharindufit.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tharindufit.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tharindufit.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tharindufit.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tharindufit.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tharindufit.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tharindufit.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tharindufit.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tharindufit.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tharindufit.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tharindufit.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tharindufit.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tharindufit.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tharindufit.wordpress.com/353/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tharindufit.wordpress.com&amp;blog=1167262&amp;post=353&amp;subd=tharindufit&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tharindufit.wordpress.com/2010/06/18/how-to-compile-siphon-for-non-jail-broken-iphone-make-voip-calls-on-wifi/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6c71bc78200f57380820f0b3a20021c1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tharindu</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2010/06/photo.jpg?w=200" medium="image">
			<media:title type="html">photo</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2010/06/photo-2.jpg?w=200" medium="image">
			<media:title type="html">photo 2</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-18-at-11-53-48-am.png?w=300" medium="image">
			<media:title type="html">Screen shot 2010-06-18 at 11.53.48 AM</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-18-at-11-55-40-am.png?w=300" medium="image">
			<media:title type="html">Screen shot 2010-06-18 at 11.55.40 AM</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-18-at-11-58-57-am.png?w=300" medium="image">
			<media:title type="html">Screen shot 2010-06-18 at 11.58.57 AM</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-18-at-12-02-19-pm.png" medium="image">
			<media:title type="html">Screen shot 2010-06-18 at 12.02.19 PM</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-18-at-12-03-29-pm.png" medium="image">
			<media:title type="html">Screen shot 2010-06-18 at 12.03.29 PM</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-18-at-12-03-47-pm.png" medium="image">
			<media:title type="html">Screen shot 2010-06-18 at 12.03.47 PM</media:title>
		</media:content>
	</item>
		<item>
		<title>How to add Syntax Highlighting to Default Mac Terminal</title>
		<link>http://tharindufit.wordpress.com/2010/06/16/how-to-add-syntax-highlighting-to-default-mac-terminal/</link>
		<comments>http://tharindufit.wordpress.com/2010/06/16/how-to-add-syntax-highlighting-to-default-mac-terminal/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 14:22:43 +0000</pubDate>
		<dc:creator>Tharindu</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Colors]]></category>
		<category><![CDATA[Highligting]]></category>
		<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[Machintosh]]></category>
		<category><![CDATA[Syntax]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[Vi]]></category>
		<category><![CDATA[Vim]]></category>

		<guid isPermaLink="false">http://tharindufit.wordpress.com/?p=337</guid>
		<description><![CDATA[I was wondering why Mac Terminal doesn&#8217;t have nice color highlighting that all other Linux based OSs have. Suddenly realized that it should be enabled with few little things to get it done on Mac OS. Follow the few steps to make it highlighted. Before it was enabled my Mac terminal didn&#8217;t look any better [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tharindufit.wordpress.com&amp;blog=1167262&amp;post=337&amp;subd=tharindufit&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was wondering why Mac Terminal doesn&#8217;t have nice color highlighting that all other Linux based OSs have. Suddenly realized that it should be enabled with few little things to get it done on Mac OS. Follow the few steps to make it highlighted. Before it was enabled my Mac terminal didn&#8217;t look any better as my Ubuntu terminal. It was like below.</p>
<p><a href="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-16-at-7-25-53-pm.png"><img class="alignnone size-full wp-image-338" title="terminal1" src="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-16-at-7-25-53-pm.png?w=500&#038;h=71" alt="" width="500" height="71" /></a></p>
<p><a href="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-16-at-7-25-53-pm.png"></a><a href="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-16-at-7-30-47-pm.png"><img class="alignnone size-full wp-image-340" title="terminal3" src="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-16-at-7-30-47-pm.png?w=500" alt=""   /></a></p>
<p>1. Create a file named .profile if it doesn&#8217;t already exists. Add the following line for that file.</p>
<blockquote>
<pre>alias ls='ls -G'</pre>
</blockquote>
<p>This will add higlighting when you use, ls commands to list files and directories, better than looking at black color all the time.</p>
<p>2. Do the following to add highlighting for vi editor.</p>
<blockquote>
<pre>:~ cd /usr/share/vim/
:~ sudo vim vimrc</pre>
</blockquote>
<p>Add the following code after the line with &#8216;set backspace=2&#8242;</p>
<blockquote>
<pre>set ai                  " auto indenting
set history=100         " keep 100 lines of history
set ruler               " show the cursor position
syntax on               " syntax highlighting
set hlsearch            " highlight the last searched term
filetype plugin on      " use the file type plugins

" When editing a file, always jump to the last cursor position
autocmd BufReadPost *
\ if ! exists("g:leave_my_cursor_position_alone") |
\ if line("'\"") &gt; 0 &amp;&amp; line ("'\"") &lt;= line("$") |
\ exe "normal g'\"" |
\ endif |
\ endif</pre>
</blockquote>
<p>Save the file with Esc + :wq. Now your vi editor will show source files with some highlighting as well.</p>
<p>OK. Now it looks far better with some colors after this.</p>
<p><a href="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-16-at-7-26-24-pm.png"><img class="alignnone size-full wp-image-339" title="terminal2" src="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-16-at-7-26-24-pm.png?w=500&#038;h=51" alt="" width="500" height="51" /></a></p>
<p><a href="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-16-at-7-31-38-pm.png"><img class="alignnone size-full wp-image-341" title="terminal4" src="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-16-at-7-31-38-pm.png?w=500" alt=""   /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tharindufit.wordpress.com/337/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tharindufit.wordpress.com/337/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tharindufit.wordpress.com/337/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tharindufit.wordpress.com/337/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tharindufit.wordpress.com/337/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tharindufit.wordpress.com/337/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tharindufit.wordpress.com/337/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tharindufit.wordpress.com/337/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tharindufit.wordpress.com/337/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tharindufit.wordpress.com/337/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tharindufit.wordpress.com/337/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tharindufit.wordpress.com/337/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tharindufit.wordpress.com/337/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tharindufit.wordpress.com/337/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tharindufit.wordpress.com&amp;blog=1167262&amp;post=337&amp;subd=tharindufit&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tharindufit.wordpress.com/2010/06/16/how-to-add-syntax-highlighting-to-default-mac-terminal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6c71bc78200f57380820f0b3a20021c1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tharindu</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-16-at-7-25-53-pm.png" medium="image">
			<media:title type="html">terminal1</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-16-at-7-30-47-pm.png" medium="image">
			<media:title type="html">terminal3</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-16-at-7-26-24-pm.png" medium="image">
			<media:title type="html">terminal2</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-16-at-7-31-38-pm.png" medium="image">
			<media:title type="html">terminal4</media:title>
		</media:content>
	</item>
		<item>
		<title>How to resume a broken XCode Download using Safari</title>
		<link>http://tharindufit.wordpress.com/2010/06/09/how-to-resume-a-broken-xcode-download-using-safari/</link>
		<comments>http://tharindufit.wordpress.com/2010/06/09/how-to-resume-a-broken-xcode-download-using-safari/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 08:15:36 +0000</pubDate>
		<dc:creator>Tharindu</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[Broken Download]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Info.plist]]></category>
		<category><![CDATA[Resume]]></category>

		<guid isPermaLink="false">http://tharindufit.wordpress.com/?p=300</guid>
		<description><![CDATA[It has been a pain for me to make this 2.x GB XCode download successful with my slow ADSL connection. When I first tried, it was broken at over 1 GB then again I had to start over again. Finally with help of apple forums and Google I was able to stick to a successful [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tharindufit.wordpress.com&amp;blog=1167262&amp;post=300&amp;subd=tharindufit&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It has been a pain for me to make this 2.x GB XCode download successful with my slow ADSL connection. When I first tried, it was broken at over 1 GB then again I had to start over again. Finally with help of apple forums and Google I was able to stick to a successful method. In this case you have to start your download in Safari, and if its broken you can resume it anytime by following a little trick.</p>
<p>1. Login with iPhone Developer account in Safari Browser and start your download. In case you break the download, which would definately happen in a slow connection that takes around 10 &#8211; 12 hours to complete.</p>
<p>2. Once it&#8217;s broken Right click on broken download and click Show In Finder</p>
<p>3. You will see a file with &#8216;xcode_3-1.2.3_and_iphone_sdk_4x.dmg.download&#8217; like some thing. Right click on that and click on &#8216;Show Package Contents&#8217;</p>
<p><a href="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-09-at-12-24-34-pm.png"><img class="alignnone size-full wp-image-332" title="safari_download" src="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-09-at-12-24-34-pm.png?w=500" alt=""   /></a></p>
<p>4. Safari keeps a Info.plist file with download progress that is the one we are going to use for our purpose. Open it with a text editor and notice there&#8217;s key value pairs. Notice the key value pairs below.</p>
<p>&lt;key&gt;DownloadEntryIdentifier&lt;/key&gt;</p>
<p>&lt;string&gt;551E5CEA-1FCF-414E-98AD-F0CFF5E05CEE&lt;/string&gt;</p>
<p>&lt;key&gt;DownloadEntryProgressBytesSoFar&lt;/key&gt;</p>
<p>&lt;integer&gt;192729290&lt;/integer&gt;</p>
<p>5. Now you can&#8217;t resume this download, that has lots of bytes already downloaded.Do this to use the already downloaded file.</p>
<p>6. First start a new download again in Safari and stop it. Then again go to finder and &#8216;Show Package Contents&#8217; of this new download.</p>
<p><a href="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-09-at-12-26-58-pm.png"><img class="alignnone size-full wp-image-333" title="safari_download_1" src="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-09-at-12-26-58-pm.png?w=500" alt=""   /></a></p>
<p>7. Here also you will see an Info.plist file open it and copy the Download Entry Identifier value.</p>
<p><a href="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-09-at-12-28-54-pm.png"><img class="alignnone size-full wp-image-334" title="safari_download_2" src="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-09-at-12-28-54-pm.png?w=500" alt=""   /></a></p>
<p>8. Hay now you are done, paste this to the old Info.plist file. Go to Safari you will see that your old download is now resuming. Saves a lot of time for you on a slow Internet Connection.</p>
<p>Have fun with XCode then.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tharindufit.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tharindufit.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tharindufit.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tharindufit.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tharindufit.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tharindufit.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tharindufit.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tharindufit.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tharindufit.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tharindufit.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tharindufit.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tharindufit.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tharindufit.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tharindufit.wordpress.com/300/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tharindufit.wordpress.com&amp;blog=1167262&amp;post=300&amp;subd=tharindufit&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tharindufit.wordpress.com/2010/06/09/how-to-resume-a-broken-xcode-download-using-safari/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6c71bc78200f57380820f0b3a20021c1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tharindu</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-09-at-12-24-34-pm.png" medium="image">
			<media:title type="html">safari_download</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-09-at-12-26-58-pm.png" medium="image">
			<media:title type="html">safari_download_1</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2010/06/screen-shot-2010-06-09-at-12-28-54-pm.png" medium="image">
			<media:title type="html">safari_download_2</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing Tomcat, MySQL on Mac OS to run JDBC JSP or Servlet Applications with MySQL</title>
		<link>http://tharindufit.wordpress.com/2010/04/24/installing-tomcat-mysql-on-mac-os-and-running-a-jdbc-app/</link>
		<comments>http://tharindufit.wordpress.com/2010/04/24/installing-tomcat-mysql-on-mac-os-and-running-a-jdbc-app/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 11:41:06 +0000</pubDate>
		<dc:creator>Tharindu</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Ant]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[DB]]></category>
		<category><![CDATA[Distribution]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[Instructions]]></category>
		<category><![CDATA[J2EE]]></category>
		<category><![CDATA[Java Home]]></category>
		<category><![CDATA[JSP]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[MySQL Server]]></category>
		<category><![CDATA[OS-X]]></category>
		<category><![CDATA[Run]]></category>
		<category><![CDATA[Servlet]]></category>
		<category><![CDATA[Setup]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[Text Editor]]></category>
		<category><![CDATA[Text Wrangler]]></category>
		<category><![CDATA[TextWrangler]]></category>
		<category><![CDATA[Tomcat]]></category>

		<guid isPermaLink="false">http://tharindufit.wordpress.com/?p=310</guid>
		<description><![CDATA[I wanted to install tomcat, MySQL and then run a jsp application that connects to a MySQL DB on tomcat in Mac OS X. I have been using Mac OS for more than a year still only used it for mainly iPhone Development work. For other work on development I mostly used my Ubuntu OS [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tharindufit.wordpress.com&amp;blog=1167262&amp;post=310&amp;subd=tharindufit&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I wanted to install tomcat, MySQL and then run a jsp application that connects to a MySQL DB on tomcat in Mac OS X. I have been using Mac OS for more than a year still only used it for mainly iPhone Development work. For other work on development I mostly used my Ubuntu OS at home PC. So I started all this from searching in google like &#8216;how to install tomcat on mac os&#8217; and then &#8216;how to install mysql on mac os&#8217; and then &#8216;how to set environment variables on mac os&#8217; so and so whole day to run my app on tomcat at my MacBook. So I thought it would be useful to blog all these steps together for someone to finish this little easily. I will blog where you should refer for each step and after finishing you can come back here to see what next to do. ok great, lets just remind how i started. ha ha</p>
<p><span style="color:#003366;"><strong>1. Installing Tomcat -</strong> </span>I have installed apache tomcat 6.0.24 exactly following same steps given in following article by Apple, eventhough it describes steps on installing 4.0.1 it is the same for later version of tomcat as well. It&#8217;s just a matter of downloading the tomcat distribution. You don&#8217;t need to complete the whole process. Just stop when you see tomcat up and running. I stopped my self at the end of &#8216;Starting and Stopping Tomcat&#8217; section.</p>
<p><a title="Java and Tomcat on Mac OS X" href="http://developer.apple.com/internet/java/tomcat1.html" target="_blank">Java and Tomcat on Mac OS X</a></p>
<p><span style="color:#003366;"><strong>2. Install a text editor that can run from terminal (Optional). -</strong></span> Usually vi command is the preferred way of editing text files on Unix OSs. But for Mac OS X you should try with <a href="http://www.barebones.com/products/textwrangler/download.html">Text Wrangler</a>. it has easy to install dmg file and after install Go to Menu TextWrangler -&gt; InstallCommandLineTools&#8230; Now you can use &#8216;edit [filename]&#8216; from command line to open up text files you want to edit instead of using vi. This looks much pleasant when you edit files.</p>
<p><span style="color:#003366;"><strong>3. Setting up Environment Variables -</strong></span> $CATALINA_HOME, $JAVA_HOME, $ANT_HOME. To setup environment variables create a file named &#8216;.profile&#8217; in your home directory or edit it if it&#8217;s already there. Open it up with TextWrangler or use vi to edit it. Now add tomcat home, java home and ant home like below.</p>
<pre>&gt;edit .profile
[edit the file to set values and save]
&gt;source .profile</pre>
<p><code><br />
CATALINA_HOME=/usr/local/apache-tomcat-6.0.24<br />
export CATALINA_HOME;<br />
JAVA_HOME=/Library/Java/Home<br />
export JAVA_HOME;<br />
ANT_HOME=/usr/share/ant<br />
export ANT_HOME;</code></p>
<p>Important points here: Usually Mac OS comes with Java and default Java Home directory is located at /Library/Java/Home. In case you want to know where your ant home is. Type command <code>ant -diagnostics</code> then scroll up to see where ant.jar is in command line output. You know where ant is then.</p>
<p><span style="color:#003366;"><strong>4. Installing MySQL on OS X -</strong></span> This is pretty easy with Mac OSX Distribution you could download at MySQL web site. You can easily install MySQL with installer and then follow the instructions in Read Me to start MySQL server to work with.</p>
<p><a title="Download MySQL Community Server" href="http://dev.mysql.com/downloads/mysql/5.1.html#macosx-dmg" target="_blank">Download Mac OS X MySQL Server Distribution</a></p>
<p>Important points here: Once you setup alliances in ~/.bash_profile as in README, To setup a root password use following command <code>mysqladmin -u root password passwd</code></p>
<p><span style="color:#003366;"><strong>5. Setting up tomcat to connect to MySQL -</strong></span> you have to add the mysql-connector jar file to library folder and also edit the context.xml file in tomcat server. Read the detailed steps in following article to understand it fully.</p>
<p><a title="MySQL DBCP Example on Tomcat 6" href="http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html#MySQL%20DBCP%20Example" target="_blank">MySQL DBCP Example on tomcat 6</a></p>
<p>Now you can run your JSP or Servlet application without any issues on Mac OS within tomcat server with MySQL databases.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tharindufit.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tharindufit.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tharindufit.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tharindufit.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tharindufit.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tharindufit.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tharindufit.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tharindufit.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tharindufit.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tharindufit.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tharindufit.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tharindufit.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tharindufit.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tharindufit.wordpress.com/310/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tharindufit.wordpress.com&amp;blog=1167262&amp;post=310&amp;subd=tharindufit&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tharindufit.wordpress.com/2010/04/24/installing-tomcat-mysql-on-mac-os-and-running-a-jdbc-app/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6c71bc78200f57380820f0b3a20021c1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tharindu</media:title>
		</media:content>
	</item>
		<item>
		<title>How to create iPhone Photos like thumbs in an iPhone App</title>
		<link>http://tharindufit.wordpress.com/2010/04/19/how-to-create-iphone-photos-like-thumbs-in-an-iphone-app/</link>
		<comments>http://tharindufit.wordpress.com/2010/04/19/how-to-create-iphone-photos-like-thumbs-in-an-iphone-app/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 08:04:30 +0000</pubDate>
		<dc:creator>Tharindu</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[App]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Application]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Crop]]></category>
		<category><![CDATA[Image]]></category>
		<category><![CDATA[iPhone OS]]></category>
		<category><![CDATA[iPhone SDK]]></category>
		<category><![CDATA[Photos]]></category>
		<category><![CDATA[Scale]]></category>
		<category><![CDATA[Segment]]></category>
		<category><![CDATA[Snippet]]></category>
		<category><![CDATA[Thumb]]></category>
		<category><![CDATA[Thumbnail]]></category>
		<category><![CDATA[thumbnails]]></category>
		<category><![CDATA[UIImage]]></category>

		<guid isPermaLink="false">http://tharindufit.wordpress.com/?p=301</guid>
		<description><![CDATA[I wanted to create image thumbnails or thumbs of images in an iPhone application. For this I have searched over the web for a small sample code to do this. I have found few but they all didn&#8217;t seem to be the right way. They didn&#8217;t work perfect as how Apple does it. Some methods [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tharindufit.wordpress.com&amp;blog=1167262&amp;post=301&amp;subd=tharindufit&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I wanted to create image thumbnails or thumbs of images in an iPhone application. For this I have searched over the web for a small sample code to do this. I have found few but they all didn&#8217;t seem to be the right way. They didn&#8217;t work perfect as how Apple does it. Some methods introduced distortions and some only scaled the image. Therefore, finally I thought of implementing it my self. It&#8217;s actually a very simple algorithm or process to implement. A combination of cropping and scaling in one method.</p>
<p>1. Check UIImage width and height we want to scale first. If both width and height are same no need to crop. If width is bigger then we need to crop image to a ratio of its height. And we determine the xposition to crop the image by subtracting height by its width and then dividing answer by two. The same process done other way if height is bigger than width taking width as the cropping ratio.</p>
<p>2. Now we have a square image that we can scale to our thumb size. This scaling now will not include any distortions to the image.</p>
<p>Below is the code segment that does it nicely.</p>
<blockquote>
<pre><span style="color:#3366ff;"><span style="color:#888888;"><span style="color:#008000;">/** generate thumbnail version of given image to show in properly **/</span>
</span><span style="color:#000000;">- (</span><span style="color:#800080;">UIImage</span> <span style="color:#000000;">*)generatePhotoThumbnail:(</span><span style="color:#800080;">UIImage</span> <span style="color:#000000;">*)image withRatio:(</span><span style="color:#ff00ff;">float</span><span style="color:#000000;">)ratio {</span>
   <span style="color:#008000;">// first crop to a rectangle and then scale the cropped image to ratio</span>
   <span style="color:#800080;">CGRect</span> <span style="color:#000000;">cropRect;</span>
   <span style="color:#ff00ff;">if</span> <span style="color:#000000;">(image.</span><span style="color:#800080;">size<span style="color:#000000;">.</span>width</span><span style="color:#000000;"> == image.</span><span style="color:#800080;">size</span><span style="color:#000000;">.</span><span style="color:#800080;">height</span><span style="color:#000000;">) {</span>
      <span style="color:#008000;">// height and width are same - do not crop here</span>
      <span style="color:#000000;">cropRect = </span><span style="color:#800080;">CGRectMake</span><span style="color:#000000;">(</span><span style="color:#0000ff;">0.0</span><span style="color:#000000;">, </span><span style="color:#0000ff;">0.0</span><span style="color:#000000;">, image.</span><span style="color:#800080;">size</span><span style="color:#000000;">.</span><span style="color:#800080;">width</span><span style="color:#000000;">, image.</span><span style="color:#800080;">size</span><span style="color:#000000;">.</span><span style="color:#800080;">height</span><span style="color:#000000;">);</span>
   <span style="color:#000000;">} </span><span style="color:#ff00ff;">else if</span> <span style="color:#000000;">(image.</span><span style="color:#800080;">size</span><span style="color:#000000;">.</span><span style="color:#800080;">width</span> <span style="color:#000000;">&gt; image.</span><span style="color:#800080;">size</span><span style="color:#000000;">.</span><span style="color:#800080;">height</span><span style="color:#000000;">) {</span>
      <span style="color:#008000;">// width is longer - take height and adjust xgap to crop</span>
      <span style="color:#ff00ff;">int</span> <span style="color:#000000;">xgap = (image.</span><span style="color:#800080;">size</span><span style="color:#000000;">.</span><span style="color:#800080;">width</span> <span style="color:#000000;">- image.</span><span style="color:#800080;">size</span><span style="color:#000000;">.</span><span style="color:#800080;">height</span><span style="color:#000000;">)/</span><span style="color:#0000ff;">2</span><span style="color:#000000;">;</span>
      <span style="color:#000000;">cropRect = </span><span style="color:#800080;">CGRectMake</span><span style="color:#000000;">(xgap,</span> <span style="color:#0000ff;">0.0</span><span style="color:#000000;">, image.</span><span style="color:#800080;">size</span><span style="color:#000000;">.</span><span style="color:#800080;">height</span><span style="color:#000000;">, image.</span><span style="color:#800080;">size</span><span style="color:#000000;">.</span><span style="color:#800080;">height</span><span style="color:#000000;">);</span>
   <span style="color:#000000;">} </span><span style="color:#ff00ff;">else</span> <span style="color:#000000;">{</span>
      <span style="color:#008000;">// height is longer - take height and adjust ygap to crop</span>
      <span style="color:#ff00ff;">int</span> <span style="color:#000000;">ygap = (image.<span style="color:#800080;">size</span>.<span style="color:#800080;">height</span> - image.<span style="color:#800080;">size</span>.<span style="color:#800080;">width</span>)/<span style="color:#0000ff;">2</span>;
      cropRect = <span style="color:#800080;">CGRectMake</span>(<span style="color:#0000ff;">0.0</span>, ygap, image.<span style="color:#800080;">size</span>.<span style="color:#800080;">width</span>, image.<span style="color:#800080;">size</span>.<span style="color:#800080;">width</span>);
   }</span>
   <span style="color:#008000;">// crop image with calcuted crop rect</span>
   <span style="color:#000000;"><span style="color:#800080;">CGImageRef</span> imageRef = <span style="color:#800080;">CGImageCreateWithImageInRect</span>([image <span style="color:#800080;">CGImage</span>], cropRect);
   <span style="color:#800080;">UIImage</span> *cropped = [<span style="color:#800080;">UIImage</span> <span style="color:#800080;">imageWithCGImage</span>:imageRef];
   <span style="color:#800080;">CGImageRelease</span>(imageRef);</span>
   <span style="color:#008000;">// scale the image to ratio to create proper thumb</span>
   <span style="color:#000000;"><span style="color:#800080;">NSData</span> *pngData = <span style="color:#800080;">UIImagePNGRepresentation</span>(cropped);
   <span style="color:#800080;">UIImage</span> *myThumbNail    = [[<span style="color:#800080;">UIImage</span> <span style="color:#800080;">alloc</span>] <span style="color:#800080;">initWithData</span>:pngData];</span>

   <span style="color:#008000;">// begin an image context that will essentially keep our new image</span>
   <span style="color:#800080;">UIGraphicsBeginImageContext</span><span style="color:#000000;">(</span><span style="color:#800080;">CGSizeMake</span><span style="color:#000000;">(ratio,ratio));</span>

   <span style="color:#008000;">// now redraw our image in a smaller rectangle.</span>
  <span style="color:#000000;"> [myThumbNail</span> <span style="color:#800080;">drawInRect</span><span style="color:#000000;">:</span><span style="color:#800080;">CGRectMake</span><span style="color:#000000;">(<span style="color:#0000ff;">0.0</span>, <span style="color:#0000ff;">0.0</span>, ratio, ratio)];</span>

   <span style="color:#008000;">// make a copy of the image from the current context</span>
   <span style="color:#800080;">UIImage</span> <span style="color:#000000;">*newImage    = </span><span style="color:#800080;">UIGraphicsGetImageFromCurrentImageContext</span><span style="color:#000000;">();</span>
   <span style="color:#800080;">UIGraphicsEndImageContext</span><span style="color:#000000;">();</span>
   <span style="color:#000000;">[myThumbNail</span> <span style="color:#800080;">release</span><span style="color:#000000;">];</span>
   <span style="color:#ff00ff;">return</span> <span style="color:#000000;">newImage;</span>
<span style="color:#000000;">}</span></span></pre>
</blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tharindufit.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tharindufit.wordpress.com/301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tharindufit.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tharindufit.wordpress.com/301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tharindufit.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tharindufit.wordpress.com/301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tharindufit.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tharindufit.wordpress.com/301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tharindufit.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tharindufit.wordpress.com/301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tharindufit.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tharindufit.wordpress.com/301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tharindufit.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tharindufit.wordpress.com/301/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tharindufit.wordpress.com&amp;blog=1167262&amp;post=301&amp;subd=tharindufit&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tharindufit.wordpress.com/2010/04/19/how-to-create-iphone-photos-like-thumbs-in-an-iphone-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6c71bc78200f57380820f0b3a20021c1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tharindu</media:title>
		</media:content>
	</item>
		<item>
		<title>How to integrate Twitter to Google Buzz</title>
		<link>http://tharindufit.wordpress.com/2010/02/11/how-to-integrate-twitter-to-google-buzz/</link>
		<comments>http://tharindufit.wordpress.com/2010/02/11/how-to-integrate-twitter-to-google-buzz/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 03:13:59 +0000</pubDate>
		<dc:creator>Tharindu</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Add]]></category>
		<category><![CDATA[Buz]]></category>
		<category><![CDATA[Buzz]]></category>
		<category><![CDATA[feed]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Integrate]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[Profile]]></category>
		<category><![CDATA[Site]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://tharindufit.wordpress.com/2010/02/11/how-to-integrate-twitter-to-google-buzz/</guid>
		<description><![CDATA[It&#8217;s very cool that you can just publish your twitter feeds directly to Google Buzz.. You can see a very small link right to your profile name called &#8220;connected sites&#8221; .. go there and add your Twitter profile feed.. so you don&#8217;t need to buzz in Google But this personally feels like messy for me [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tharindufit.wordpress.com&amp;blog=1167262&amp;post=294&amp;subd=tharindufit&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s very cool that you can just publish your twitter feeds directly to Google Buzz..</p>
<p>You can see a very small link right to your profile name called &#8220;connected sites&#8221; .. go there and add your Twitter profile feed.. so you don&#8217;t need to buzz in Google <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div id="attachment_295" class="wp-caption alignnone" style="width: 483px"><a href="http://tharindufit.files.wordpress.com/2010/02/screen-shot-2010-02-11-at-8-41-31-am.png"><img class="size-full wp-image-295" title="Twitter Connected Sites small link" src="http://tharindufit.files.wordpress.com/2010/02/screen-shot-2010-02-11-at-8-41-31-am.png?w=500" alt=""   /></a><p class="wp-caption-text">Google Profile Connected Sites small link</p></div>
<p>But this personally feels like messy for me having loads of buzzes in Personal email</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tharindufit.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tharindufit.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tharindufit.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tharindufit.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tharindufit.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tharindufit.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tharindufit.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tharindufit.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tharindufit.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tharindufit.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tharindufit.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tharindufit.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tharindufit.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tharindufit.wordpress.com/294/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tharindufit.wordpress.com&amp;blog=1167262&amp;post=294&amp;subd=tharindufit&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tharindufit.wordpress.com/2010/02/11/how-to-integrate-twitter-to-google-buzz/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6c71bc78200f57380820f0b3a20021c1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tharindu</media:title>
		</media:content>

		<media:content url="http://tharindufit.files.wordpress.com/2010/02/screen-shot-2010-02-11-at-8-41-31-am.png" medium="image">
			<media:title type="html">Twitter Connected Sites small link</media:title>
		</media:content>
	</item>
	</channel>
</rss>
