<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;CkQHQnc5fyp7ImA9WhRQEEw.&quot;"><id>tag:blogger.com,1999:blog-7003740</id><updated>2011-12-04T06:52:13.927-08:00</updated><category term="dev" /><category term="calendar" /><category term="add-in" /><category term="COM" /><category term="iPhone" /><category term="plugin" /><category term="Beijing" /><title>Tinyfool's diary</title><subtitle type="html">Tinyfool is a programmer, blogger, founder of iApp4Me.com, live in ShangHai, China.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://tinyfool.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://tinyfool.blogspot.com/" /><author><name>tiny</name><uri>http://www.blogger.com/profile/14126154625633923315</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/blogspot/zZDtD" /><feedburner:info uri="blogspot/zzdtd" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;A0YDSX88fip7ImA9WhZVE0k.&quot;"><id>tag:blogger.com,1999:blog-7003740.post-4937028503522011148</id><published>2011-05-25T11:46:00.000-07:00</published><updated>2011-05-25T11:46:18.176-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-25T11:46:18.176-07:00</app:edited><title>My beautiful litte girl</title><content type="html">&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-lHk_R24nLG4/Td1OYg_qC-I/AAAAAAAAAv8/nRhVEOijBcQ/s1600/IMG_0490.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://3.bp.blogspot.com/-lHk_R24nLG4/Td1OYg_qC-I/AAAAAAAAAv8/nRhVEOijBcQ/s320/IMG_0490.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7003740-4937028503522011148?l=tinyfool.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/zD0Pa8v0aMUNfT7LGgWg1nSrMYY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zD0Pa8v0aMUNfT7LGgWg1nSrMYY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/zD0Pa8v0aMUNfT7LGgWg1nSrMYY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zD0Pa8v0aMUNfT7LGgWg1nSrMYY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/zZDtD/~4/IOW--NF2e6Y" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://tinyfool.blogspot.com/feeds/4937028503522011148/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7003740&amp;postID=4937028503522011148" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7003740/posts/default/4937028503522011148?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7003740/posts/default/4937028503522011148?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/zZDtD/~3/IOW--NF2e6Y/my-beautiful-litte-girl.html" title="My beautiful litte girl" /><author><name>tiny</name><uri>http://www.blogger.com/profile/14126154625633923315</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-lHk_R24nLG4/Td1OYg_qC-I/AAAAAAAAAv8/nRhVEOijBcQ/s72-c/IMG_0490.JPG" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://tinyfool.blogspot.com/2011/05/my-beautiful-litte-girl.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUAER30-eyp7ImA9WhZVE0k.&quot;"><id>tag:blogger.com,1999:blog-7003740.post-1177023872236242148</id><published>2010-11-02T21:59:00.000-07:00</published><updated>2011-05-25T11:21:46.353-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-25T11:21:46.353-07:00</app:edited><title>A letter to Steve Jobs from China</title><content type="html">&lt;span class="Apple-style-span" style="font-family: 'Heiti SC';"&gt;Dear Steve,&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Heiti SC';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Heiti SC';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Heiti SC';"&gt;My name is Hao&amp;nbsp;Peiqiang, an Apple app developer from China. The reason why I write to you is because I'd like to&amp;nbsp;talk with you about the frustrating app developing situation in China. Please finish reading this email. I believe you will&amp;nbsp;get something for the Apple market in China&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Heiti SC';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Heiti SC';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="font-family: 'Heiti SC';"&gt;
It seems that the iPhone 4 sales very good in China. Actually, I went to the Shanghai Apple Store and waited for 8 hours&amp;nbsp;before I got my iPhone 4 on the day when it launched in China. While, from my point of view, the Apple is company not&amp;nbsp;only cares the hardware or the sales of the hardware but also the software. Everyone knows that the app sale in App&amp;nbsp;Store is greatly affected by the software piracy after the jailbreak of the hardware. And I think this situation in China is&amp;nbsp;the worst. The reasons I think are as follows:&lt;/div&gt;
&lt;div style="font-family: 'Heiti SC';"&gt;
Firstly, there has a long tradition in using the cracked software in China. Many users never consider buying software but&amp;nbsp;trying to find cracked version. Though they usually say the price is too expensive for them, they still choose using the&amp;nbsp;piracy version when the software only costs $0.99 in App Store. This is a very severe problem but could not be solved in&amp;nbsp;a short time.&lt;/div&gt;
&lt;div style="font-family: 'Heiti SC';"&gt;
Secondly, the credit card is not so widely used in China as in the United States. There are so many people in China has a&amp;nbsp;decent income and could easily afford an iPhone 4, while they don't have a credit card. Maybe you it is hard for you to&amp;nbsp;image that, but it is truth. And it is not a sufficient reason for them to apply a credit card just for buying an iPhone.&amp;nbsp;Because the credit card used very few and not convenient to use, other payment methods take the role of it in China.&amp;nbsp;There has a very popular micro-payment platform named AliPay(&lt;a href="http://alipay.com/"&gt;alipay.com&lt;/a&gt;) in china. Most of the Internet buyers in&amp;nbsp;China are using this platform but not the credit card to pay their bill. They may be experienced e-commerce&amp;nbsp;customers but not credit card owners.&lt;/div&gt;
&lt;div style="font-family: 'Heiti SC';"&gt;
Additionally, the users in China couldn’t buy the apps under Game Category when the App Store started its service&amp;nbsp;for China region. Thus the users had to apply for a U.S. ITunes account or a Hong Kong account by using the credit&amp;nbsp;card released by Banks in China, or buy illegal black cards from Internet. Though it is OK to buy game apps in China&amp;nbsp;App Store now, it left users the impression that no good apps in the China App Store. What’s more, some companies&amp;nbsp;only provide apps in the U.S. App Store when they releasing their new product (like Google), which results in users who&amp;nbsp;buy apps in App Store don't use the ITunes account in China region.&amp;nbsp;&lt;/div&gt;
&lt;div style="font-family: 'Heiti SC';"&gt;
&lt;br /&gt;
There are a lot of websites, like&amp;nbsp;&lt;a href="http://www.weiphone.com/"&gt;www.weiPhone.com&lt;/a&gt;, teach the iPhone users how to do jailbreak and provide lots of&amp;nbsp;cracked version apps. Software for jail breaking like 91helper (&lt;a href="http://soft.sj.91.com/91helper/"&gt;http://soft.sj.91.com/91helper/&lt;/a&gt;) are also very easy to find&amp;nbsp;and use. It is frustrating that many business offices of China Unicom provide the jailbreak and cracked apps installation&amp;nbsp;service.&lt;/div&gt;
&lt;div style="font-family: 'Heiti SC';"&gt;
The reason why so many users buy iPhone in China is just because it is cool. Except the call and iPod function, other&amp;nbsp;functions are almost not used by them.&lt;/div&gt;
&lt;div style="font-family: 'Heiti SC';"&gt;
All the situations mentioned above result in a serious problem that thousands of Chinese iPhone developers focused&amp;nbsp;their app development on U.S. market or other countries but not China. It is a fact that developing apps with Chinese&amp;nbsp;characteristics is unprofitable. So many apps that developed by Chinese doesn't support the users from China. I think&amp;nbsp;this is not good for Apple. Because has a huge population in China, it is undoubted that China will be one of the biggest&amp;nbsp;consumers for all series products of Apple. &amp;nbsp;The Apple hardware sales great in China, while is not the case of software.&lt;/div&gt;
&lt;div style="font-family: 'Heiti SC';"&gt;
Hope Apple Company could pay more attention on the piracy problem in China. I have the following suggestions that I&amp;nbsp;think Apple could do:&lt;/div&gt;
&lt;div style="font-family: 'Heiti SC';"&gt;
&lt;ul class="MailOutline"&gt;
&lt;li&gt;Show customers on how to use the iPhone in Apple Local Store, especially how to buy apps. Let the users familiar with&amp;nbsp;the app buying by making advertise and taking promotional activities on that.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Support other payment methods like Alipay in China if it is possible.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Publicize there exists lots of good apps in China App Store.&lt;/li&gt;
&lt;li&gt;Take legal action to stop the websites or software which spreading the cracked version of apps,&lt;/li&gt;
&lt;li&gt;And also take action to China Unicom for its wrongdoing on helping spreading the piracy.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style="font-family: 'Heiti SC';"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: 'Heiti SC';"&gt;
I hope the measures, along with all other means that Apple considering, will improve the genuine rate, which makes&amp;nbsp;the developer from China has the interests at least to develop apps that close to Chinese culture. This definitely will&amp;nbsp;benefit Apple, China Unicom and all of the Chinese developers in the long run.&lt;/div&gt;
&lt;div style="font-family: 'Heiti SC';"&gt;
Finally, although the chance you will reply me is frail, I still hope I could receive your response. Of course, what’s more&amp;nbsp;important, it is Apple will take action for the problems.&amp;nbsp;&lt;/div&gt;
&lt;div style="font-family: 'Heiti SC';"&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;A Chinese Developer: Hao Peiqiang&lt;/div&gt;
&lt;div style="font-family: 'Heiti SC';"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: 'Heiti SC';"&gt;
And thank&amp;nbsp;&lt;span class="Apple-style-span" style="font-family: Verdana,Geneva,sans-serif; font-size: 16px; font-weight: bold;"&gt;sailoryee&lt;/span&gt;&amp;nbsp;translate &lt;a href="http://tiny4.org/blog/2010/10/china-developer-apple-copyright/"&gt;this letter&lt;/a&gt; to English.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7003740-1177023872236242148?l=tinyfool.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/1cZujthxviPQqvWqieujtYiKe8A/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1cZujthxviPQqvWqieujtYiKe8A/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/1cZujthxviPQqvWqieujtYiKe8A/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1cZujthxviPQqvWqieujtYiKe8A/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/zZDtD/~4/2QUN6xbVyqs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://tinyfool.blogspot.com/feeds/1177023872236242148/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7003740&amp;postID=1177023872236242148" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7003740/posts/default/1177023872236242148?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7003740/posts/default/1177023872236242148?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/zZDtD/~3/2QUN6xbVyqs/letter-to-steve-jobs-from-china.html" title="A letter to Steve Jobs from China" /><author><name>tiny</name><uri>http://www.blogger.com/profile/14126154625633923315</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>3</thr:total><feedburner:origLink>http://tinyfool.blogspot.com/2010/11/letter-to-steve-jobs-from-china.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0cGQXw6fSp7ImA9Wx5XEks.&quot;"><id>tag:blogger.com,1999:blog-7003740.post-781084401117228754</id><published>2010-09-11T20:03:00.000-07:00</published><updated>2010-09-11T20:10:20.215-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-09-11T20:10:20.215-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Beijing" /><title>Business trip and one night in Beijing</title><content type="html">I never went back to Beijing,&amp;nbsp;Since&amp;nbsp;six months ago I leave Beijing to Shanghai for job. But now I will have a business trip to Beijing, and I will stay one night in Beijing.&lt;br /&gt;
&lt;br /&gt;
It is still the same city? Do I have the same feeling?&lt;br /&gt;
&lt;br /&gt;
I do not know.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7003740-781084401117228754?l=tinyfool.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/VHnxYZSFqDPYug9GDE-aa8DlkEY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VHnxYZSFqDPYug9GDE-aa8DlkEY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/VHnxYZSFqDPYug9GDE-aa8DlkEY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VHnxYZSFqDPYug9GDE-aa8DlkEY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/zZDtD/~4/_-ozgLJljKA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://tinyfool.blogspot.com/feeds/781084401117228754/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7003740&amp;postID=781084401117228754" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7003740/posts/default/781084401117228754?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7003740/posts/default/781084401117228754?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/zZDtD/~3/_-ozgLJljKA/business-trip-and-one-night-in-beijing.html" title="Business trip and one night in Beijing" /><author><name>tiny</name><uri>http://www.blogger.com/profile/14126154625633923315</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://tinyfool.blogspot.com/2010/09/business-trip-and-one-night-in-beijing.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0ANQ30-eSp7ImA9Wx5TGU0.&quot;"><id>tag:blogger.com,1999:blog-7003740.post-8328449385879628232</id><published>2010-08-04T01:15:00.000-07:00</published><updated>2010-08-04T01:16:32.351-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-04T01:16:32.351-07:00</app:edited><title>How to use Objective-C get all fontfamily name and fontname in an iPad or iPhone?</title><content type="html">&lt;textarea cols="40" rows="10" name="code" class="Cpp"&gt;	NSArray* familys = [UIFont familyNames];

for (int i = 0; i&lt;[familys count]; i++) {
		
		NSString* family = [familys objectAtIndex:i];
		NSLog(@"\r\n\r\nFontfamily:%@\r\n=====",family);
	
		NSArray* fonts = [UIFont fontNamesForFamilyName:family];
	
		for (int j = 0; j&lt;[fonts count]; j++) {
		
			NSLog(@"%@",[fonts objectAtIndex:j]);
		}
	}
&lt;/textarea&gt;
&lt;!-- WordPress Code Snippet --&gt;
&lt;script type="text/javascript" src="http://tiny4.org/blog/wp-content/plugins/wordpress-code-snippet/js/shCore.js"&gt;&lt;/script&gt;&lt;script type="text/javascript" src="http://tiny4.org/blog/wp-content/plugins/wordpress-code-snippet/js/shBrushCpp.js"&gt;&lt;/script&gt;
&lt;link type="text/css" rel="stylesheet" href="http://tiny4.org/blog/wp-content/plugins/wordpress-code-snippet/css/SyntaxHighlighter.css"/&gt;
&lt;script language="javascript"&gt;
	dp.SyntaxHighlighter.ClipboardSwf = 'http://tiny4.org/blog/wp-content/plugins/wordpress-code-snippet/js/clipboard.swf';
	dp.SyntaxHighlighter.HighlightAll('code');
	&lt;/script&gt;
&lt;!-- End WordPress Code Snippet --&gt;
&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7003740-8328449385879628232?l=tinyfool.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/RbWzhAKkq0bHLJrDyJu8SltqhQM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RbWzhAKkq0bHLJrDyJu8SltqhQM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/RbWzhAKkq0bHLJrDyJu8SltqhQM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RbWzhAKkq0bHLJrDyJu8SltqhQM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/zZDtD/~4/gCyCkeVLPrI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://tinyfool.blogspot.com/feeds/8328449385879628232/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7003740&amp;postID=8328449385879628232" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7003740/posts/default/8328449385879628232?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7003740/posts/default/8328449385879628232?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/zZDtD/~3/gCyCkeVLPrI/how-to-use-objective-c-get-all.html" title="How to use Objective-C get all fontfamily name and fontname in an iPad or iPhone?" /><author><name>tiny</name><uri>http://www.blogger.com/profile/14126154625633923315</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://tinyfool.blogspot.com/2010/08/how-to-use-objective-c-get-all.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEEMR349eyp7ImA9WxBbFEk.&quot;"><id>tag:blogger.com,1999:blog-7003740.post-2739835685433077024</id><published>2010-01-19T11:44:00.000-08:00</published><updated>2010-03-12T17:11:26.063-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-12T17:11:26.063-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="iPhone" /><category scheme="http://www.blogger.com/atom/ns#" term="calendar" /><title>[tutorial]How to use iPhone calendar control</title><content type="html">&lt;a href="http://code.google.com/p/iphonecal"&gt;iPhone calendar control&lt;/a&gt; is an open source class library, it can help you insert a calendar in your iPhone software. Use it is very easy.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Download code&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
If you know how to install svn, or your computer already installed svn, you can just use svn download codes:&lt;br /&gt;
&lt;br /&gt;
svn checkout http://iphonecal.googlecode.com/svn/trunk/ iphonecal-read-only&lt;br /&gt;
&lt;br /&gt;
or, you can down codes from this two links:&lt;br /&gt;
&lt;a href="http://iphonecal.googlecode.com/svn/trunk/TdCalendarView.h"&gt;http://iphonecal.googlecode.com/svn/trunk/TdCalendarView.h&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://iphonecal.googlecode.com/svn/trunk/TdCalendarView.m"&gt;http://iphonecal.googlecode.com/svn/trunk/TdCalendarView.m&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Create a iPhone application project&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Once you downed codes,  you need create an iPhone application project. Open Xcode, click "File"-&amp;gt;"New Project..." Menu, with the opened dialog, select View-based Application.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/__-bHWBHnrp4/S5E9Y-POn1I/AAAAAAAAAp8/EQsnAbhLaL0/s1600-h/%E5%B1%8F%E5%B9%95%E5%BF%AB%E7%85%A7+2010-03-06+%E4%B8%8A%E5%8D%8812.18.45.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="281" src="http://1.bp.blogspot.com/__-bHWBHnrp4/S5E9Y-POn1I/AAAAAAAAAp8/EQsnAbhLaL0/s400/%E5%B1%8F%E5%B9%95%E5%BF%AB%E7%85%A7+2010-03-06+%E4%B8%8A%E5%8D%8812.18.45.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;Name you project as TestiPhoneCal (or other anything.).&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/__-bHWBHnrp4/S5E9yVkgBSI/AAAAAAAAAqE/oqAx416xlIk/s1600-h/%E5%B1%8F%E5%B9%95%E5%BF%AB%E7%85%A7+2010-03-06+%E4%B8%8A%E5%8D%8812.19.31.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="250" src="http://1.bp.blogspot.com/__-bHWBHnrp4/S5E9yVkgBSI/AAAAAAAAAqE/oqAx416xlIk/s400/%E5%B1%8F%E5%B9%95%E5%BF%AB%E7%85%A7+2010-03-06+%E4%B8%8A%E5%8D%8812.19.31.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
After you create project, click "Project"-&amp;gt;"Add to project...", select downloaded files, keep "Copy items into destination group's folder" selected.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/__-bHWBHnrp4/S5E_5Fe6GKI/AAAAAAAAAqQ/2WFZArfK75I/s1600-h/%E5%B1%8F%E5%B9%95%E5%BF%AB%E7%85%A7+2010-03-06+%E4%B8%8A%E5%8D%8812.20.13.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://2.bp.blogspot.com/__-bHWBHnrp4/S5E_5Fe6GKI/AAAAAAAAAqQ/2WFZArfK75I/s400/%E5%B1%8F%E5%B9%95%E5%BF%AB%E7%85%A7+2010-03-06+%E4%B8%8A%E5%8D%8812.20.13.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/__-bHWBHnrp4/S5FAeB723aI/AAAAAAAAAqY/14KtDdSbt-s/s1600-h/test.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="250" src="http://2.bp.blogspot.com/__-bHWBHnrp4/S5FAeB723aI/AAAAAAAAAqY/14KtDdSbt-s/s400/test.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/__-bHWBHnrp4/S5FAqZIH4AI/AAAAAAAAAqg/83zDkl-5Gzs/s1600-h/%E5%B1%8F%E5%B9%95%E5%BF%AB%E7%85%A7+2010-03-06+%E4%B8%8A%E5%8D%8812.21.16.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="375" src="http://4.bp.blogspot.com/__-bHWBHnrp4/S5FAqZIH4AI/AAAAAAAAAqg/83zDkl-5Gzs/s400/%E5%B1%8F%E5%B9%95%E5%BF%AB%E7%85%A7+2010-03-06+%E4%B8%8A%E5%8D%8812.21.16.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Setup view class&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Open your nib file.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/__-bHWBHnrp4/S5FCFG6_uDI/AAAAAAAAAq4/_-1yy6XjL0Y/s1600-h/test2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://3.bp.blogspot.com/__-bHWBHnrp4/S5FCFG6_uDI/AAAAAAAAAq4/_-1yy6XjL0Y/s640/test2.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
select which view that you need as calendar, set it's class as TdCalendarView.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/__-bHWBHnrp4/S5FC7hVixdI/AAAAAAAAArA/uNRkrCSD04M/s1600-h/test3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://4.bp.blogspot.com/__-bHWBHnrp4/S5FC7hVixdI/AAAAAAAAArA/uNRkrCSD04M/s640/test3.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
Ok, run your program, you will see your calendar.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/__-bHWBHnrp4/S5FDHu4-VKI/AAAAAAAAArI/JXTzKscdSQc/s1600-h/%E5%B1%8F%E5%B9%95%E5%BF%AB%E7%85%A7+2010-03-06+%E4%B8%8A%E5%8D%8801.44.46.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://4.bp.blogspot.com/__-bHWBHnrp4/S5FDHu4-VKI/AAAAAAAAArI/JXTzKscdSQc/s400/%E5%B1%8F%E5%B9%95%E5%BF%AB%E7%85%A7+2010-03-06+%E4%B8%8A%E5%8D%8801.44.46.png" width="215" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
If you have trouble follow this tutorial, you can use my demo project as your start &amp;amp; code template. Download url is &lt;a href="http://iphonecal.googlecode.com/files/TestiPhoneCal.zip"&gt;http://iphonecal.googlecode.com/files/TestiPhoneCal.zip&lt;/a&gt; .&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://tiny4.org/blog/2010/03/tutorial-how-to-use-iphone-calendar-control/"&gt;Chinese Version/中文版&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7003740-2739835685433077024?l=tinyfool.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/agO05MMUZEXYYOqcfAJaquj_7Tw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/agO05MMUZEXYYOqcfAJaquj_7Tw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/agO05MMUZEXYYOqcfAJaquj_7Tw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/agO05MMUZEXYYOqcfAJaquj_7Tw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/zZDtD/~4/-8GSfWdgdpY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://tinyfool.blogspot.com/feeds/2739835685433077024/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7003740&amp;postID=2739835685433077024" title="13 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7003740/posts/default/2739835685433077024?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7003740/posts/default/2739835685433077024?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/zZDtD/~3/-8GSfWdgdpY/tutorialhow-to-use-iphone-calendar.html" title="[tutorial]How to use iPhone calendar control" /><author><name>tiny</name><uri>http://www.blogger.com/profile/14126154625633923315</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/__-bHWBHnrp4/S5E9Y-POn1I/AAAAAAAAAp8/EQsnAbhLaL0/s72-c/%E5%B1%8F%E5%B9%95%E5%BF%AB%E7%85%A7+2010-03-06+%E4%B8%8A%E5%8D%8812.18.45.png" height="72" width="72" /><thr:total>13</thr:total><feedburner:origLink>http://tinyfool.blogspot.com/2010/01/tutorialhow-to-use-iphone-calendar.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUUFRHw_eSp7ImA9WxNSFUo.&quot;"><id>tag:blogger.com,1999:blog-7003740.post-112892034574727021</id><published>2005-10-09T21:58:00.000-07:00</published><updated>2009-08-29T12:13:35.241-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-08-29T12:13:35.241-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="dev" /><category scheme="http://www.blogger.com/atom/ns#" term="COM" /><category scheme="http://www.blogger.com/atom/ns#" term="plugin" /><category scheme="http://www.blogger.com/atom/ns#" term="add-in" /><title>How to write An Outlook COM add-in</title><content type="html">Last month, I began to write an Outlook COM add-in. &lt;a href="http://www.codeproject.com/"&gt;CodeProject&lt;/a&gt; have many articles about that, their are really helpful. So I make a list of these articles's title and urls, hope it will be helpful to others.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.codeproject.com/script/profile/whos_who.asp?vt=arts&amp;amp;id=5606"&gt;Amit Dey&lt;/a&gt; :&lt;/li&gt;

&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.codeproject.com/com/outlookaddin.asp"&gt;Building an Office2K COM addin with VC++/ATL&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;a href="http://www.codeproject.com/script/profile/whos_who.asp?vt=arts&amp;amp;id=10254"&gt;virtually_void&lt;/a&gt; :&lt;/li&gt;

&lt;ul&gt;&lt;li&gt; &lt;a href="http://www.codeproject.com/com/Outlook-addin.asp"&gt;Extending Outlook with new features&lt;/a&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;a href="http://www.codeproject.com/script/profile/whos_who.asp?id=154365"&gt;digitally_urs&lt;/a&gt; :&amp;nbsp;&lt;/li&gt;

&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.codeproject.com/atl/outlook2k3addin.asp"&gt;Developing an Office 2003 COM add-in with VC++/ATL&lt;/a&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;a href="http://www.codeproject.com/script/profile/whos_who.asp?id=456184"&gt;chakkaradeepcc&lt;/a&gt; :&amp;nbsp;&lt;/li&gt;

&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.codeproject.com/atl/Outlook_Addin_Tutorial_-1.asp"&gt;Microsoft Outlook Add-in Tutorial - 1: Adding a new Toolbar and Button&lt;/a&gt;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.codeproject.com/atl/Microsoft_Outlook_Addin.asp"&gt;Microsoft Outlook Add-in Tutorial - 2: Addding Events to Button&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7003740-112892034574727021?l=tinyfool.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/9ctB3jVgDLEIj2lHSLPLBfhHchc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9ctB3jVgDLEIj2lHSLPLBfhHchc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/9ctB3jVgDLEIj2lHSLPLBfhHchc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9ctB3jVgDLEIj2lHSLPLBfhHchc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/zZDtD/~4/fXo1Cz0pgbQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://tinyfool.blogspot.com/feeds/112892034574727021/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7003740&amp;postID=112892034574727021" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7003740/posts/default/112892034574727021?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7003740/posts/default/112892034574727021?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/zZDtD/~3/fXo1Cz0pgbQ/how-to-write-outlook-com-add-in.html" title="How to write An Outlook COM add-in" /><author><name>tiny</name><uri>http://www.blogger.com/profile/14126154625633923315</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>1</thr:total><feedburner:origLink>http://tinyfool.blogspot.com/2005/10/how-to-write-outlook-com-add-in.html</feedburner:origLink></entry></feed>

