2014年7月10日 星期四
2014年6月24日 星期二
Android 如何忽略發佈時 “ is not translated in ” errors?
In "Window" > "Preferences" > "Android" > "Lint Error Checking":
Find the MissingTranslation line, and set it to Warning as seen below:
Find the MissingTranslation line, and set it to Warning as seen below:
2013年12月27日 星期五
Objective C 檢查optional delegate function有無實作
if([self.delegate respondsToSelector:@selector(YOUR_FUNCTION)]){
[self.delegate YOUR_FUNCTION];
}
2013年12月9日 星期一
2013年11月11日 星期一
iOS推播 一行產生推播pem檔
openssl pkcs12 -in aps_development.p12 -out aps_development.pem -nodes -clcerts -password pass:''
2013年10月22日 星期二
Java json parser
https://code.google.com/p/json-simple/
example:
JSONObject jsonObj = (JSONObject) JSONValue.parse(json_string);
JSONArray jsonArray = (JSONArray) jsonObj.get("key");
example:
JSONObject jsonObj = (JSONObject) JSONValue.parse(json_string);
JSONArray jsonArray = (JSONArray) jsonObj.get("key");
2013年10月17日 星期四
2013年10月2日 星期三
2013年8月22日 星期四
Objective-C 禁用UDID 替代方案:OpenUDID
優缺點分析參考文章:http://www.alexplay.tw/2013/03/udid.html
https://github.com/ylechelle/OpenUDID
取得OpenUDID方式:
#include "OpenUDID.h"
NSString* openUDID = [OpenUDID value];
Objective-C ARC 專案中使用非ARC Code
在build Phases ->Compile Sources找到非ARC code
在Compiler Flags加上: -fno-objc-arc
在Compiler Flags加上: -fno-objc-arc
2013年7月3日 星期三
Android Error : INSTALL_FAILED_INSUFFICIENT_STORAGE
INSTALL_FAILED_INSUFFICIENT_STORAGE
訂閱:
文章 (Atom)
