2013年4月10日 星期三

Phonegap 2.6 trial run #2 Android Simulation with Intel HAXM 1.0.4

1.0.2 會讓 MBP山獅 當掉重開

去INTEL官網下載 intelhaxm-1.0.4-hotfix-androidonmac.zip 可以修好在ECLIPSE裡ADT和AVD管理建一個INTEL ATOM為CPU/ABI的一個虛擬裝置後跑起來死當的問題

然後建議如果你跑上述解出來的安裝過程中 所給的記憶體和 AVD中最好不要全給
我全給以後有些圖檔沒跑出來 後來縮小AVD中給的記憶體後就沒問題

INTEL版的模擬真的跑起來快很多~

ABI這玩意真的是~唉~
Application Binary Interface

Phonegap 2.6 trial run #1 iOS

It's a pretty smooth run after generating the project from Phonegap 2.6.
But as of 4/10/2013, the comprehension of the getting started guide really is out-of-date (pictures and the package naming change from Cordova-x.y to Phonegap-2.6.   Internet is so lucid and sharing (old commonwealth?); I suppose their team is busy releasing the meat (the binaries and the structure and abilities changes).  Hmm, I gotta find out when did Adobe acquired them and why the bottom logo is appearing so fast.


Anyway, here is the picture

As you can see, my environment is up-to-date with 6.1 simulator.


I must say there is nothing special about this.  But Apache is nice to put in so pictures and logo to indicate the device is ready and an indication of native compiling process.  This seems to differ my 2nd impression of Phonegap.  Previously I considered Phonegap as non-native but HTML5-based app (probably still is).  But  because my RubyMotion license has expired (due to unforseen circumstances, and I have no intention to reacquire the license myself).  I felt jQuery Mobile and Phonegap definitely have the upperhand for cross-platform-mobile developers' needs for now (those who have tighter budget and time constraints).   I think one of the previous articles I read might have indicated Phonegap supports jQuery Mobile kit.   

I'm really not a big fan of Xcode, but I'm okay with it compiling with a button and simulating latest code changes for me.  (Ya, I'm a gvim/vim fan).   (Okay, as I am typing this article, MacOS Mountain Lion and Chrome is having fights over my traditional chinese input responses...)  

I wanted to try Android build, but maybe some other time.


 

PhoneGap vs jQuery Mobile


覺得這篇文章不錯, 比較很多家不同的跨行動開發套件:
http://brianshim.com/webtricks/phonegap-and-jquery-mobile/

其實重點: Phonegap似乎克服了我之前擔心的事, 它的License 是Apache License (免費), 而且似乎被Adobe併購了?(是否跟宣佈很久的以後不再出新的Flash有關?)

克服的重點: 不同於RubyMotion, 即使你沒有一台Mac, 下載Phonegap Build也可以build iOS應用程式啦=)

jQuery Mobile

話說我雖然喜愛Ruby,  但近期的工作經驗中也接觸過jQuery, 而且以AJAX Library來說真的首選,

以下這篇文章連MSDN都愛用的趨勢就可以知道其實jQuery在Mobile space上也是很有潛力.

不過我個人覺得 一個專案如果選用 jQuery Mobile, 應該還是要有些有經驗的 Backend Engineer/Developer 才比較容易與該網站的 資料庫 整合較快.

http://msdn.microsoft.com/zh-tw/hh875190.aspx