2012年4月26日 星期四

One Code Project

微軟技術社群暨最有價值專家美國總部跟中國上海研發團隊合作, 推出了一項非常好的東西,就是OneCode專案, 您可以下載Sample Browser,提供開發者更方便搜尋、下載近3500種code範例, 其中包含了近800以上的OneCode samples、超過480項 Windows 8官方範例、 近150種Windows Azure官方實例,另外還提供了可以申請sample code的功能。 還等甚麼,快點去試試看吧

2012年2月9日 星期四

App Idea:中文習字帖

性質雷同軟體:
1. Chinese Flash - Study & Learn Mandarin Vocabulary
http://itunes.apple.com/us/app/id486531735?mt=8

2. Pleco Chinese Dictionary
http://itunes.apple.com/us/app/pleco-chinese-dictionary/id341922306?mt=8

3. Learning to Write Chinese Characters on the iPad
http://www.sinosplice.com/life/archives/2011/06/30/learning-to-write-chinese-characters-on-the-ipad

4. eStroke
http://fast.eon.com.hk:1818/estroke/

iOS 開發資源
1. Tesseract OCR
http://iphone.olipion.com/cross-compilation/tesseract-ocr

2. Compiling tesseract v3 for iPhone
http://robertcarlsen.net/tag/tesseract

3. 中文筆順學習軟體製作
http://w2.hwc.edu.tw/ifg/dgn/98-7-3index.htm

4. 怎么样将汉字画出来
http://www.qqgb.com/Program/VC/VCJC/Program_237704.html

5. 筆順學習網
http://stroke-order.learningweb.moe.edu.tw/home.do

6. 中文字的筆順
http://chinesedigger.blogspot.com/2008/06/writing-sequences.html

2012年2月8日 星期三

iOS App 上架需知

Required iPhone & iPod touch Screenshot Upgrade for Retina Display
When you create or update your apps in iTunes Connect, you must upload screenshots that are high-resolution. We require your screenshots as high-resolution images so that your app is optimized for the Retina display.
The requirements for high-resolution images are 960 x 640, 960 x 600, 640 x 960, or 640 x 920 pixels. Images must be at least 72 dpi, in the RGB color space, and the file must be .jpeg, .jpg, .tif, .tiff, or .png. You can update your screenshot files at any time in iTunes Connect.

New Notification for Binaries Exceeding Cellular Network Download Size Limit
Admin and Technical users will now be notified if your resulting binary size for the App Store exceeds the cellular network download size limit of 20MB. Exceeding the limit requires your app to be downloaded over Wi-Fi. This information can help you determine if you want to resubmit your binary in order to reduce the size of your app.

2012年2月1日 星期三

Exchange Webservice (EWS):The request failed with HTTP status 405: Method Not Allowed

通常來說出錯的是這一行(The request failed with HTTP status 405: Method Not Allowed )

FindItemResponseType findItemResponse = esb.FindItem(findItemRequest);


修正的地方為
ExchangeServiceBinding esb = new ExchangeServiceBinding();
esb.Credentials = new NetworkCredential(@"id", "pw", "domain");
esb.Url = @"https://test.com.tw/EWS/Services.wsdl";

改成
esb.Url = @"https://test.com.tw/EWS/Exchange.asmx";

2012年1月9日 星期一

[super dealloc]; 使用注意事項

在 ObjC 的類別中,物件消滅時會呼叫

- (void)dealloc {

[super dealloc];

}

通常我們會將需要釋放的資源也寫在裡面,進行資源的釋放,
特別要注意的是 [super dealloc]; 要最後才呼叫。


錯誤(會造成釋放失敗系統當掉)
- (void)dealloc {

[super dealloc];

[myobj release];
[myobj2 release];

}



正確寫法應該為
- (void)dealloc {

[myobj release];
[myobj2 release];

[super dealloc];
}