Why Aptana Studio 3 ? ● Netbeans was my favorite one before ● NBAndroid is not active development ● ADT in original eclipse is not good for developing webview based applications ● Aptana is perfect for javascript editing ● The default theme is good for my eyes...
Why jquery mobile? ● I like AngularJS more … ● The designer have the UI first, based on jquery mobile ● JQuery Mobile Angular Adapter is not that reliable, at least the document … ● I don't have much experience in mobile environment. But I've been familiar with the coding style using jquery
Rev #36 ● Get the token from remote site ● Save the token using window.localStorage.setItem('token', 'xxx'); ● A login page ● User could logout and then login again to get another token
Rev #46 ● Prevent the app being terminated when the orientation changing ● AndroidManifest.xml ● MainActivity.java @Override public void onConfigurationChanged(Configuration newConfig){ super.onConfigurationChanged(newConfig); }
Rev #127 ● Mysql2sqlite https://gist.github.com/943776 ● After executing the script, you must remove the following items: – Collat – Comments – Fix auto increasement fields
Rev #132 ● Once you used global variables, you just can't go back... ● Preload the data sets as it's annoying to deal with timing issue for sql execution ● In Single Page Application, global variable just like a session container, it will be there always ● I will try to have a better habit, next time XD
Rev #160 ● You can't just change the value only, for jquery mobile UI components – obj.attr('checked', true).checkboxradio('refresh', true); – obj.html('xxx').trigger('create');