跳到主要內容

發表文章

目前顯示的是 2月, 2013的文章

iOS childbrowser + phonegap2.2

2012-03-22 13:46:04.008 CordovaHybridDemo[106:707] CDVPlugin class ChildBrowserCommand (pluginName: ChildBrowserCommand) does not exist. 2012-03-22 13:46:04.009 CordovaHybridDemo[106:707] ERROR: Plugin 'ChildBrowserCommand' not found, or is not a CDVPlugin. Check your plugin mapping in Cordova.plist.   解法: For Cordova 2.3.0 you should modify config.xml because cordova.plist does no longer exist. Like: <plugins> <plugin name="ChildBrowser" value="ChildBrowser.js" /> <plugin name="ChildBrowserCommand" value="ChildBrowserCommand" /> … </plugins>

如何快速開啟WIndows資料夾的命令列模式(CMD)

按住Shift + 右鍵 就會出現開起該資料夾命令視窗 跟帥哥Honda.Dai學的    

HTML5 APP 不明錯誤 (Aandorid 2.3 手機 內建browser)

超難debug...更動每一行code錯誤訊息都會不一樣  因為犯了一個錯可能會出現下面的錯誤指令,而且js乍看之下都沒有問題 Uncaught SyntaxError: Unexpected token ILLEGAL  (第一行) 或 找不到dom的錯誤訊息 最後想到可能是localStorage 便查找所有相關的code if(!localStorage.data) 要改成 if(localStorage.data!=="") PS: 不是下面網址說的編碼錯誤字元問題  不過出錯的內容是一樣的~_~ http://stackoverflow.com/questions/12719859/syntaxerror-unexpected-token-illegal

HTML5 Mobile Framework: a simple performance comparison

(image source) It's very important for me to choose a HTML5 Mobile Framework : performance (slide and loading speed) Most  framework works well on Android 3.0 and iOS. Andorid 2.3 have a big market share, But for Android 2.3, it sucks. If a mobile framework works well on Android 2.3 , most Andorid can run well. However, there are many and many HTML5 Mobile Frameworks and lack of performance comparison. So I test by myself and use 3 level to classify. You can do it by yourself if you need more detail. (official kitchen sink ,  Samsung S5570 , Android 2.3)

HTML5 Mobile Framework效能簡測

(圖片來源) 我在選擇HTML5 Mobile Framework有一個很在乎的事情:效能(操作滑動的流暢感與讀取速度)。 對多數的framework來說Andorid 3.0以上的機器效能也都不錯,iOS就不用說了很好。 只是現在Android 2.3的機器市占率頗大,而這些機器通常效能差, 如果Mobile Framework執行效能OK,其他機器也就OK了。 然而現在HTML5 Mobile Framework真的太多了 綜合比較的文章很少,但網路上又很少像我這麼注重效能的 只好自己來了。因為感受實在很明顯,就直接分三個等級,有需要再自行評測嚕。 (使用官方demo測試 ,  Samsung S5570 , Android 2.3)