推薦一個好用的小工具
叫做 Bare Tail
幫助我們觀看Log檔的時候,
有即時更新資料不需關閉log檔重開即可立即顯示。
視個非昌方變得小工具
除此之外
在Preferences->Highlighting內可以設定自己想要的格式色彩
讚!
reference:
http://www.baremetalsoft.com/baretail/index.php
http://www.cnblogs.com/greenerycn/archive/2010/07/15/windows_log_viewer_baretail.html
2012年9月19日 星期三
2012年9月2日 星期日
eclipse常用熱鍵
•自動排版:ctrl+shift+f
•自動完成:alt+/
•Debug提示:F2
•自動import:ctrl + shift + o
•add unimplement: ctrl + 1
•註解:ctrl + /
•複製同一行:ctrl + alt + down
•複製同一行:ctrl + alt + down
2012年8月29日 星期三
eclipse背景主題與字型大小
http://eclipsecolorthemes.org/
修改背景主題:
到上面網址下載喜歡的EPF檔,
進入eclilpse
1. file → import
3. 選擇剛才下載的epf檔→finsih
修改背景主題:
到上面網址下載喜歡的EPF檔,
進入eclilpse
1. file → import
2.general→preferences
改變字型大小:
windows→preference→General→Appearance→Colors and Fonts→TextFont→Edit
再按確定就可以改變大小囉
2012年8月22日 星期三
設定中文app name for iphone
此篇記錄設定中文名字for iphone版本
android版請看
其實iphone版與android差不多
反而更容易
建立資料夾 i18n / zh_TW
zh_TW為繁體中文
zh_CN為簡體中文
android版請看
其實iphone版與android差不多
反而更容易
建立資料夾 i18n / zh_TW
zh_TW為繁體中文
zh_CN為簡體中文
再建立app.xml檔
內容如
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<string name="appname">中文名字</string>
</resources>
即可
Admob Module設置
今天在設置Admob的module時,
找不到應該安裝的資料夾==
官網是寫於這裡 (這是mac版本)
/Library/Application Support/Titanium/module/iphone
window版本位置:
C:\Users\username\AppData\Roaming\Titanium\modules\android
安裝方式可參考
https://wiki.appcelerator.org/display/tis/Using+Titanium+Modules
但我這台mac就是找不到
最後只好由另個方式
在 此路徑建立modules
/--build
--tiapp.xml
--Resources
--modules
----iphone
-------ti.admob
---------1.3
...
// -----
最後有問到 這個檔可能在mac是隱藏檔
所以下 Shift+Command+G
輸入 ~/Library
就可以從裡面找到安裝的地方了
找不到應該安裝的資料夾==
官網是寫於這裡 (這是mac版本)
/Library/Application Support/Titanium/module/iphone
window版本位置:
C:\Users\username\AppData\Roaming\Titanium\modules\android
安裝方式可參考
https://wiki.appcelerator.org/display/tis/Using+Titanium+Modules
但我這台mac就是找不到
最後只好由另個方式
在 此路徑建立modules
/--build
--tiapp.xml
--Resources
--modules
----iphone
-------ti.admob
---------1.3
...
// -----
最後有問到 這個檔可能在mac是隱藏檔
所以下 Shift+Command+G
輸入 ~/Library
就可以從裡面找到安裝的地方了
2012年8月21日 星期二
Android安裝
ADT location:
https://dl-ssl.google.com/android/eclipse/
今天重新安裝Eclipse要撰寫Android時
當按下run時 跳出了
An internal error occurred during: "Launching New_configuration".Path for project must have only one segment
錯誤訊息
後來查了google發現
只要到
Project -> Properties -> Run/Debug Settings裡
選擇 "Launching New_configuration
點選Delete
按下確定
即可發佈
https://dl-ssl.google.com/android/eclipse/
今天重新安裝Eclipse要撰寫Android時
當按下run時 跳出了
An internal error occurred during: "Launching New_configuration".Path for project must have only one segment
錯誤訊息
後來查了google發現
只要到
Project -> Properties -> Run/Debug Settings裡
選擇 "Launching New_configuration
點選Delete
按下確定
即可發佈
2012年8月13日 星期一
看不見Ti.API.info()訊息
今天在使用Titanium時,
升級完Titanium SDK 後 發生了看不到 Ti.API.info()的情況
我升級完的版本是
Ti.API.info()的內容就此消失了
查官網此篇
http://developer.appcelerator.com/question/118667/titanium-161-and-xcode-43---debuginfo-problem
先到
內容大約是把 4.3的資料夾 備份, 再把 4.3的資料夾做與4.3.2連結 ,
這樣就可看見Ti.API.info()的內容了
升級完Titanium SDK 後 發生了看不到 Ti.API.info()的情況
我升級完的版本是
Titanium Studio, build: 2.1.1.201207271312
當我下Ti.API.info()時
console出現以下訊息
[INFO] Found 4.3.2 patch installed
Ti.API.info()的內容就此消失了
查官網此篇
http://developer.appcelerator.com/question/118667/titanium-161-and-xcode-43---debuginfo-problem
先到
cd ~/Library/Application\ Support/iPhone\ Simulator
內容大約是把 4.3的資料夾 備份, 再把 4.3的資料夾做與4.3.2連結 ,
這樣就可看見Ti.API.info()的內容了
mv 4.3 4.3.old ln -s 4.3.2 4.3
訂閱:
文章 (Atom)