<?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>YouDebug</title>
	<atom:link href="http://youdebug.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://youdebug.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sun, 17 Oct 2010 13:50:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='youdebug.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>YouDebug</title>
		<link>http://youdebug.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://youdebug.wordpress.com/osd.xml" title="YouDebug" />
	<atom:link rel='hub' href='http://youdebug.wordpress.com/?pushpress=hub'/>
		<item>
		<title>글로벌 소프트웨어를 꿈꾸다/김익환/한빛미디어</title>
		<link>http://youdebug.wordpress.com/2010/10/17/%ea%b8%80%eb%a1%9c%eb%b2%8c-%ec%86%8c%ed%94%84%ed%8a%b8%ec%9b%a8%ec%96%b4%eb%a5%bc-%ea%bf%88%ea%be%b8%eb%8b%a4%ea%b9%80%ec%9d%b5%ed%99%98%ed%95%9c%eb%b9%9b%eb%af%b8%eb%94%94%ec%96%b4/</link>
		<comments>http://youdebug.wordpress.com/2010/10/17/%ea%b8%80%eb%a1%9c%eb%b2%8c-%ec%86%8c%ed%94%84%ed%8a%b8%ec%9b%a8%ec%96%b4%eb%a5%bc-%ea%bf%88%ea%be%b8%eb%8b%a4%ea%b9%80%ec%9d%b5%ed%99%98%ed%95%9c%eb%b9%9b%eb%af%b8%eb%94%94%ec%96%b4/#comments</comments>
		<pubDate>Sun, 17 Oct 2010 13:49:38 +0000</pubDate>
		<dc:creator>youdebug</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://youdebug.wordpress.com/?p=38</guid>
		<description><![CDATA[아주 좋은 책이 있어서 간단하게 남겨본다. 한빛미디어에서 나온 &#8216;글로벌 소프트웨어를 꿈꾸다&#8217; 라는 책으로, 저자는 김익환이라는 분인데, 경력이 정말 화려하시다. 미국 실리콘 밸리에서 16여 년 간을 소프트웨어 개발자로 근무하셨고, 벤처도 운영해보셨고, 한국에서 안철수 연구소에서 CTO로도 근무하신적이 있다. 지금은 컨설턴트로 활약하고 계시고 카이스트의 교수로도 활동하신다. 이 책을 읽고 가장 놀란 점은 미국의 실리콘 밸리에서는 소프트웨어 개발에 있어서 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youdebug.wordpress.com&amp;blog=12855202&amp;post=38&amp;subd=youdebug&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>아주 좋은 책이 있어서 간단하게 남겨본다.</p>
<p>한빛미디어에서 나온 &#8216;글로벌 소프트웨어를 꿈꾸다&#8217; 라는 책으로, 저자는 김익환이라는 분인데, 경력이 정말 화려하시다. </p>
<p>미국 실리콘 밸리에서 16여 년 간을 소프트웨어 개발자로 근무하셨고, 벤처도 운영해보셨고, 한국에서 안철수 연구소에서 CTO로도 근무하신적이 있다. 지금은 컨설턴트로 활약하고 계시고 카이스트의 교수로도 활동하신다.</p>
<p>이 책을 읽고 가장 놀란 점은 미국의 실리콘 밸리에서는 소프트웨어 개발에 있어서 70점을 기본으로 깔고 시작하는데 한국에서는 20점 밖에 안된다는 것이다. 그 기본적인 점수라는 것이 회사에서 제공하는 미리 준비되어 있는 것으로 다르게 말하면 그 회사의 역량이라는 것이다. 당연하게도, 기본점수가 높고 준비가 되어 있기 때문에 개발자들이 빈번하게 이직을 하더라도 아무런 문제없이 적응하고 곧바로 일을 할 수 있다는 것이다. 오히려 잦은 이직에 의해서 여러 경험들이 공유되기 때문에 다른 회사의 좋은 문화들이 받아들여질 수 있어서 좋다는 것이다.</p>
<p>그리고 저자가 대학 졸업 후 취업했을 때의 상황을 설명해주는데, 처음 1주일 동안 회사에서 제공해준 문서들을 읽었다고 한다. 그랬더니 신기하게도 무슨 제품을 개발하고 있는지, 향후에 제품의 모습이 어떠할지 갓 입사한 신입사원의 눈에 보이더라는 것이다. 그리고 업무를 할 때도 소위 말하는 사수/부사수의 관계를 맺지 않고도 훌륭하게 일을 처리할 수 있었다고 한다. </p>
<p>이 책에서 가장 도움이 되었던 점은 동료검토에 관한 부분이었다. 동료검토를 해야한다는 것은 알고 있었지만 그리고 실제로 수행도 해보았지만, 무엇이 문제인지를 확실하게 알 수 있었다. 단순히 코드만을 리뷰한다면 문법적인 오류나 코딩 표준에 관한 것들이 중심이 될 수 밖에 없는데, 이러한 것은 컴파일 툴로도 충분히 커버가 가능하다는 것이므로 코드 리뷰는 의미가 없을 수 밖에 없다. 중요한 것은, SRS라고 하는 소프트웨어 스펙 문서를 누구나 이해할 수 있게 제대로 작성하고 업데이트해야한다는 것이며, 이것을 모두가 공유하므로 누가 어떤 기능을 개발할 지 이해할 수 있다는 것이다. 또한 그 SRS에 맞게 설계 문서를 작성할 것이므로 이런 설계 문서에 대한 리뷰가 선행되어야 하는 것이 중요한 것이다.<br />
이것뿐만 아니라 머리속으로는 이해하지만 실제로는 수행하지 못했던 부분들에 대한 소프트웨어 개발에 대한 기본 프로세스에 대해서 아주 깊이 배울 수 있었다.<br />
적극 추천한다.</p>
<p><a href="http://www.yes24.com/24/goods/4224880">http://www.yes24.com/24/goods/4224880</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/youdebug.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/youdebug.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/youdebug.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/youdebug.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/youdebug.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/youdebug.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/youdebug.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/youdebug.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/youdebug.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/youdebug.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/youdebug.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/youdebug.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/youdebug.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/youdebug.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youdebug.wordpress.com&amp;blog=12855202&amp;post=38&amp;subd=youdebug&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://youdebug.wordpress.com/2010/10/17/%ea%b8%80%eb%a1%9c%eb%b2%8c-%ec%86%8c%ed%94%84%ed%8a%b8%ec%9b%a8%ec%96%b4%eb%a5%bc-%ea%bf%88%ea%be%b8%eb%8b%a4%ea%b9%80%ec%9d%b5%ed%99%98%ed%95%9c%eb%b9%9b%eb%af%b8%eb%94%94%ec%96%b4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e250dd539f9a9c9abafb9322eb7d057?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">youdebug</media:title>
		</media:content>
	</item>
		<item>
		<title></title>
		<link>http://youdebug.wordpress.com/2010/05/28/28/</link>
		<comments>http://youdebug.wordpress.com/2010/05/28/28/#comments</comments>
		<pubDate>Fri, 28 May 2010 03:49:47 +0000</pubDate>
		<dc:creator>youdebug</dc:creator>
				<category><![CDATA[iPhone Programming]]></category>

		<guid isPermaLink="false">http://youdebug.wordpress.com/?p=28</guid>
		<description><![CDATA[I am using Xcode version 3.2.1, and when I tried to compile an example from Head First iPhone Development, I encountered a warning message as following: warning: format not a string literal and no format arguments The original codes are these: NSString *themessage = [NSString stringWithFormat:@"%@ I'm %@ and feeling %@ about it.", notesField.text?notesField.text:@"", [activities [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youdebug.wordpress.com&amp;blog=12855202&amp;post=28&amp;subd=youdebug&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am using Xcode version 3.2.1, and when I tried to compile an example from Head First iPhone Development, I encountered a warning message as following:</p>
<p>warning: format not a string literal and no format arguments</p>
<p>The original codes are these:</p>
<p><code>	NSString *themessage = [NSString stringWithFormat:@"%@ I'm %@ and feeling %@ about it.",<br />
							notesField.text?notesField.text:@"",<br />
							[activities objectAtIndex:[tweetPicker selectedRowInComponent:0]],<br />
							[feelings	objectAtIndex:[tweetPicker selectedRowInComponent:1]]];<br />
	NSLog(themessage);  &lt;--- warning message at this point!</code></p>
<p>And I solved the problem fixing the NSlog code like this:</p>
<p><code>        //NSLog(themessage);<br />
	NSLog(@"%@", themessage);</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/youdebug.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/youdebug.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/youdebug.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/youdebug.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/youdebug.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/youdebug.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/youdebug.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/youdebug.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/youdebug.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/youdebug.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/youdebug.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/youdebug.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/youdebug.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/youdebug.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youdebug.wordpress.com&amp;blog=12855202&amp;post=28&amp;subd=youdebug&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://youdebug.wordpress.com/2010/05/28/28/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e250dd539f9a9c9abafb9322eb7d057?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">youdebug</media:title>
		</media:content>
	</item>
		<item>
		<title>[iPhone/iPad] error: There is no SDK with the name or path &#8216;iphoneos2.0&#8242;</title>
		<link>http://youdebug.wordpress.com/2010/05/10/iphoneipad-error-there-is-no-sdk-with-the-name-or-path-iphoneos2-0/</link>
		<comments>http://youdebug.wordpress.com/2010/05/10/iphoneipad-error-there-is-no-sdk-with-the-name-or-path-iphoneos2-0/#comments</comments>
		<pubDate>Mon, 10 May 2010 13:31:57 +0000</pubDate>
		<dc:creator>youdebug</dc:creator>
				<category><![CDATA[iPhone Programming]]></category>

		<guid isPermaLink="false">http://youdebug.wordpress.com/?p=25</guid>
		<description><![CDATA[When you upgrade the SDK, or open projects written in previous SDK, you may encounter error message like this: error: There is no SDK with the name or path &#8216;iphoneos2.0&#8242; You can resolve this problem by setting the Project info. 1. Right click on project and choose Get Info form the pulldown menu. 2. At [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youdebug.wordpress.com&amp;blog=12855202&amp;post=25&amp;subd=youdebug&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When you upgrade the SDK, or open projects written in previous SDK, you may encounter error message like this: error: There is no SDK with the name or path &#8216;iphoneos2.0&#8242;</p>
<p>You can resolve this problem by setting the Project info.<br />
  1. Right click on project and choose Get Info form the pulldown menu.<br />
  2. At the bottom of General tab, choose the right configuration for &#8216;Base SDK for All Configurations:&#8217;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/youdebug.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/youdebug.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/youdebug.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/youdebug.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/youdebug.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/youdebug.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/youdebug.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/youdebug.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/youdebug.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/youdebug.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/youdebug.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/youdebug.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/youdebug.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/youdebug.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youdebug.wordpress.com&amp;blog=12855202&amp;post=25&amp;subd=youdebug&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://youdebug.wordpress.com/2010/05/10/iphoneipad-error-there-is-no-sdk-with-the-name-or-path-iphoneos2-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e250dd539f9a9c9abafb9322eb7d057?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">youdebug</media:title>
		</media:content>
	</item>
		<item>
		<title>[iPhone/iPad] Tip about the direction of connections at Interface Builder</title>
		<link>http://youdebug.wordpress.com/2010/05/03/iphoneipad-tip-about-the-direction-of-connections-at-interface-builder/</link>
		<comments>http://youdebug.wordpress.com/2010/05/03/iphoneipad-tip-about-the-direction-of-connections-at-interface-builder/#comments</comments>
		<pubDate>Mon, 03 May 2010 05:13:46 +0000</pubDate>
		<dc:creator>youdebug</dc:creator>
				<category><![CDATA[iPhone Programming]]></category>

		<guid isPermaLink="false">http://youdebug.wordpress.com/?p=20</guid>
		<description><![CDATA[When we are building interfaces at Interface Builder for Cocoa, sometimes we&#8217;re getting lost how to connect the components. Here is a tip about the directions at the Interface Builder. &#8220;The component where the connection begins is giving information about itself to the component where the connection ends.&#8221;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youdebug.wordpress.com&amp;blog=12855202&amp;post=20&amp;subd=youdebug&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When we are building interfaces at Interface Builder for Cocoa, sometimes we&#8217;re getting lost how to connect the components. Here is a tip about the directions at the Interface Builder.</p>
<p><em>&#8220;The component where the connection begins is giving information about itself to the component where the connection ends.&#8221;</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/youdebug.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/youdebug.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/youdebug.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/youdebug.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/youdebug.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/youdebug.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/youdebug.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/youdebug.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/youdebug.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/youdebug.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/youdebug.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/youdebug.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/youdebug.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/youdebug.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youdebug.wordpress.com&amp;blog=12855202&amp;post=20&amp;subd=youdebug&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://youdebug.wordpress.com/2010/05/03/iphoneipad-tip-about-the-direction-of-connections-at-interface-builder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e250dd539f9a9c9abafb9322eb7d057?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">youdebug</media:title>
		</media:content>
	</item>
		<item>
		<title>[Android] Thread Example</title>
		<link>http://youdebug.wordpress.com/2010/05/01/android-thread-example/</link>
		<comments>http://youdebug.wordpress.com/2010/05/01/android-thread-example/#comments</comments>
		<pubDate>Sat, 01 May 2010 12:28:55 +0000</pubDate>
		<dc:creator>youdebug</dc:creator>
				<category><![CDATA[Android Programming]]></category>

		<guid isPermaLink="false">http://youdebug.wordpress.com/?p=17</guid>
		<description><![CDATA[This example shows progress bar moving from zero to 100% using Thread. public class ThreadMain extends Activity { ProgressBar bar; boolean isRunning=false; Runnable runnable=new MyRunnable(); Thread t=new Thread(runnable); Handler handler=new Handler() { public void handleMessage(Message msg) { bar.incrementProgressBy(5); } }; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); bar=(ProgressBar)findViewById(R.id.progress); } public void onStart() { super.onStart(); bar.setProgress(0); [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youdebug.wordpress.com&amp;blog=12855202&amp;post=17&amp;subd=youdebug&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This example shows progress bar moving from zero to 100% using Thread.</p>
<pre>
public class ThreadMain extends Activity {
	ProgressBar bar;
	boolean isRunning=false;
	Runnable runnable=new MyRunnable();
	Thread t=new Thread(runnable);

	Handler handler=new Handler()
	{
		public void handleMessage(Message msg)
		{
			bar.incrementProgressBy(5);
		}
	};

    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        bar=(ProgressBar)findViewById(R.id.progress);

    }

    public void onStart() {
    	super.onStart();
    	bar.setProgress(0);

    	isRunning=true;
    	t.start();
    }

    class MyRunnable implements Runnable {

		@Override
		public void run() {
			// TODO Auto-generated method stub
			try {
				for (int i=0;i&lt;20 &amp;&amp; isRunning;i++)
				{
					bar.incrementProgressBy(5);
					Thread.sleep(1000); // 1sec
				}
			} catch(Exception ex) {}
		}

    }

    public void onStop()
    {
    	super.onStart();
    	isRunning=false;
    }
}
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/youdebug.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/youdebug.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/youdebug.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/youdebug.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/youdebug.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/youdebug.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/youdebug.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/youdebug.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/youdebug.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/youdebug.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/youdebug.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/youdebug.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/youdebug.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/youdebug.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youdebug.wordpress.com&amp;blog=12855202&amp;post=17&amp;subd=youdebug&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://youdebug.wordpress.com/2010/05/01/android-thread-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e250dd539f9a9c9abafb9322eb7d057?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">youdebug</media:title>
		</media:content>
	</item>
		<item>
		<title>[Android] Be careful to update IDs for TabView and ListView</title>
		<link>http://youdebug.wordpress.com/2010/04/30/android-be-careful-to-update-ids-for-tabview-and-listview/</link>
		<comments>http://youdebug.wordpress.com/2010/04/30/android-be-careful-to-update-ids-for-tabview-and-listview/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 04:52:32 +0000</pubDate>
		<dc:creator>youdebug</dc:creator>
				<category><![CDATA[Android Programming]]></category>

		<guid isPermaLink="false">http://youdebug.wordpress.com/?p=12</guid>
		<description><![CDATA[For Android programming, when making TabView and ListView, you need to update the IDs like below: TableView example &#60;?xml version=&#8220;1.0&#8243; encoding=&#8220;utf-8&#8243;?&#62; &#60;LinearLayout xmlns:android=&#8220;http://schemas.android.com/apk/res/android&#8221; android:orientation=&#8220;vertical&#8221; android:layout_width=&#8220;fill_parent&#8221; android:layout_height=&#8220;fill_parent&#8221; &#62; &#60;TabHost android:layout_height=&#8220;fill_parent&#8221; android:layout_width=&#8220;fill_parent&#8221; android:id=&#8220;@+id/tabhost&#8221;&#62; &#60;TabWidget android:id=&#8220;@android:id/tabs&#8220; android:layout_height=&#8220;wrap_content&#8221; android:layout_width=&#8220;fill_parent&#8221;&#62; &#60;/TabWidget&#62; &#60;FrameLayout android:id=&#8220;@android:id/tabcontent&#8220; android:layout_height=&#8220;fill_parent&#8221; android:layout_width=&#8220;fill_parent&#8221; android:paddingTop=&#8220;70px&#8221;&#62; &#60;AnalogClock android:id=&#8220;@+id/tab1&#8243; android:layout_height=&#8220;fill_parent&#8221; android:layout_width=&#8220;fill_parent&#8221;&#62; &#60;/AnalogClock&#62; &#60;DigitalClock android:text=&#8220;@+id/DigitalClock01&#8243; android:id=&#8220;@+id/tab2&#8243; android:layout_height=&#8220;fill_parent&#8221; android:layout_width=&#8220;fill_parent&#8221;&#62; &#60;/DigitalClock&#62; &#60;/FrameLayout&#62; &#60;/TabHost&#62; &#60;/LinearLayout&#62; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youdebug.wordpress.com&amp;blog=12855202&amp;post=12&amp;subd=youdebug&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For Android programming, when making TabView and ListView, you need to update the IDs like below:</p>
<p>TableView example</p>
<p>&lt;?xml version=<em>&#8220;1.0&#8243;</em> encoding=<em>&#8220;utf-8&#8243;</em>?&gt;</p>
<p>&lt;LinearLayout xmlns:android=<em>&#8220;http://schemas.android.com/apk/res/android&#8221;</em></p>
<p>android:orientation=<em>&#8220;vertical&#8221;</em></p>
<p>android:layout_width=<em>&#8220;fill_parent&#8221;</em></p>
<p>android:layout_height=<em>&#8220;fill_parent&#8221;</em></p>
<p>&gt;</p>
<p>&lt;TabHost android:layout_height=<em>&#8220;fill_parent&#8221;</em> android:layout_width=<em>&#8220;fill_parent&#8221;</em> android:id=<em>&#8220;@+id/tabhost&#8221;</em>&gt;</p>
<p>&lt;TabWidget android:id=<em>&#8220;@android:id/tabs</em><em>&#8220;</em> android:layout_height=<em>&#8220;wrap_content&#8221;</em> android:layout_width=<em>&#8220;fill_parent&#8221;</em>&gt;</p>
<p>&lt;/TabWidget&gt;</p>
<p>&lt;FrameLayout android:id=<em>&#8220;<strong>@android:id/tabcontent</strong></em><em>&#8220;</em> android:layout_height=<em>&#8220;fill_parent&#8221;</em> android:layout_width=<em>&#8220;fill_parent&#8221;</em> android:paddingTop=<em>&#8220;70px&#8221;</em>&gt;</p>
<p>&lt;AnalogClock android:id=<em>&#8220;@+id/tab1&#8243;</em> android:layout_height=<em>&#8220;fill_parent&#8221;</em> android:layout_width=<em>&#8220;fill_parent&#8221;</em>&gt;</p>
<p>&lt;/AnalogClock&gt;</p>
<p>&lt;DigitalClock android:text=<em>&#8220;@+id/DigitalClock01&#8243;</em> android:id=<em>&#8220;@+id/tab2&#8243;</em> android:layout_height=<em>&#8220;fill_parent&#8221;</em> android:layout_width=<em>&#8220;fill_parent&#8221;</em>&gt;</p>
<p>&lt;/DigitalClock&gt;</p>
<p>&lt;/FrameLayout&gt;</p>
<p>&lt;/TabHost&gt;</p>
<p>&lt;/LinearLayout&gt;</p>
<p>ListView example</p>
<p>&lt;?xml version=<em>&#8220;1.0&#8243;</em> encoding=<em>&#8220;utf-8&#8243;</em>?&gt;</p>
<p>&lt;LinearLayout xmlns:android=<em>&#8220;http://schemas.android.com/apk/res/android&#8221;</em></p>
<p>android:orientation=<em>&#8220;vertical&#8221;</em></p>
<p>android:layout_width=<em>&#8220;fill_parent&#8221;</em></p>
<p>android:layout_height=<em>&#8220;fill_parent&#8221;</em></p>
<p>&gt;</p>
<p>&lt;EditText android:id=<em>&#8220;@+id/EditText01&#8243;</em> android:layout_height=<em>&#8220;wrap_content&#8221;</em> android:layout_width=<em>&#8220;fill_parent&#8221;</em>&gt;&lt;/EditText&gt;</p>
<p>&lt;Button android:id=<em>&#8220;@+id/Button01&#8243;</em> android:layout_height=<em>&#8220;wrap_content&#8221;</em> android:text=<em>&#8220;Add&#8221;</em> android:layout_width=<em>&#8220;fill_parent&#8221;</em>&gt;&lt;/Button&gt;</p>
<p>&lt;ListView android:layout_width=<em>&#8220;wrap_content&#8221;</em> android:layout_height=<em>&#8220;wrap_content&#8221;</em> android:id=<em>&#8220;<strong>@android:id/list</strong></em><em>&#8220;</em>&gt;</p>
<p>&lt;/ListView&gt;</p>
<p>&lt;TextView android:layout_width=<em>&#8220;wrap_content&#8221;</em> android:layout_height=<em>&#8220;wrap_content&#8221;</em> android:id=<em>&#8220;@android:id/empty&#8221;</em> android:text=<em>&#8220;@+id/empty_message&#8221;</em>&gt;&lt;/TextView&gt;</p>
<p>&lt;/LinearLayout&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/youdebug.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/youdebug.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/youdebug.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/youdebug.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/youdebug.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/youdebug.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/youdebug.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/youdebug.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/youdebug.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/youdebug.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/youdebug.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/youdebug.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/youdebug.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/youdebug.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youdebug.wordpress.com&amp;blog=12855202&amp;post=12&amp;subd=youdebug&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://youdebug.wordpress.com/2010/04/30/android-be-careful-to-update-ids-for-tabview-and-listview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e250dd539f9a9c9abafb9322eb7d057?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">youdebug</media:title>
		</media:content>
	</item>
		<item>
		<title>[iPhone/iPad] mutating method sent to immutable object</title>
		<link>http://youdebug.wordpress.com/2010/03/29/hello-world/</link>
		<comments>http://youdebug.wordpress.com/2010/03/29/hello-world/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 00:26:32 +0000</pubDate>
		<dc:creator>youdebug</dc:creator>
				<category><![CDATA[iPhone Programming]]></category>
		<category><![CDATA[iphone immutable]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I am learning how to develop iPhone programming, while I encountered a problem that really bugged me. *** Terminating app due to uncaught exception &#8216;NSInternalInconsistencyException&#8217;, reason: &#8216;*** -[NSCFArray removeObjectAtIndex:]: mutating method sent to immutable object&#8217; By running the xcode debugger, I found out the point which caused the problem. for (NSString *key in self.keys) { [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youdebug.wordpress.com&amp;blog=12855202&amp;post=1&amp;subd=youdebug&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am learning how to develop iPhone programming, while I encountered a problem that really bugged me.</p>
<p><em>*** Terminating app due to uncaught exception &#8216;NSInternalInconsistencyException&#8217;, reason: &#8216;*** -[NSCFArray removeObjectAtIndex:]: mutating method sent to immutable object&#8217;</em></p>
<p>By running the xcode debugger, I found out the point which caused the problem.</p>
<p><em><br />
<code><br />
        for (NSString *key in self.keys) {<br />
		NSMutableArray *array = [names valueForKey:key];<br />
		NSMutableArray *toRemove = [[NSMutableArray alloc] init];<br />
		for (NSString *name in array) {<br />
			if ([name rangeOfString:searchTerm options:NSCaseInsensitiveSearch].location == NSNotFound)<br />
				[toRemove addObject:name];<br />
		}</p>
<p>		if ([array count] == [toRemove count])<br />
			[sectionsToRemove addObject:key];</p>
<p>		//NSLog(@"remove %@", key);<br />
		[array removeObjectsInArray:toRemove];   &lt;----   this point<br />
		[toRemove release];<br />
        }<br />
</code><br />
</em><br />
I googled to solve the problem.</p>
<p><em><br />
<code><br />
                NSMutableArray *array = [names valueForKey:key];<br />
</code><br />
</em><br />
Above should be corrected as following:<br />
<em><br />
<code><br />
		NSMutableArray *array = [names mutableArrayValueForKey:key];<br />
</code><br />
</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/youdebug.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/youdebug.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/youdebug.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/youdebug.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/youdebug.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/youdebug.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/youdebug.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/youdebug.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/youdebug.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/youdebug.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/youdebug.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/youdebug.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/youdebug.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/youdebug.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youdebug.wordpress.com&amp;blog=12855202&amp;post=1&amp;subd=youdebug&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://youdebug.wordpress.com/2010/03/29/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e250dd539f9a9c9abafb9322eb7d057?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">youdebug</media:title>
		</media:content>
	</item>
	</channel>
</rss>
