Last modified: 2012-02-24 02:52:25 UTC
Current code mixes generic HTML / PhoneGap stuff with Android-specific things (use of android-specific plugins like the menus and sharing, etc). Should refactor it out so we can import the common code into the Android project and also into the iPhone project without having to manually synchronize multiple code trees as much.
Pull request with work in progress: https://github.com/nitobi/Wikipedia/pull/48 This checks whether we're running on Android or iOS and loads up the appropriate phonegap-1.1.0.js and any needed plugin interface stubs. Some of the files under js/ are split into eg js/android/ and js/ios/. Initial iOS build stuff also included (for bug 31974) though it's not quite working right.
Has been merged as of 05e8d9d57598f4ddfd180f8d9740fe3b7f9e9d88 Still need to break out some Android-specific assumptions and code into platform-specific modules.
Done a bit further as of: https://github.com/nitobi/Wikipedia/commit/8c9753968321723e9074cbfbc2d99115c6016d18