How I wasted an entire day on wrong MIME type

Problem description: External CSS file required by HTML was being downloaded from the server but not being applied to the Web page To add to the frustration, if the Web page (which, as mentioned, was rendered without the CSS) was then saved locally from the browser and then that file opened in the browser, it …

Continue reading ‘How I wasted an entire day on wrong MIME type’ »

Taking ScreenShots of your Mobile App

Android ∞ On Android, you first need to define an emulator if you don’t have one. You do this by launching Eclipse ADT > Window > Android Virtual Device Manager. One you have defined your emulator, you can check your Cordova app on it by: cordova build android followed by cordova emulate android It takes …

Continue reading ‘Taking ScreenShots of your Mobile App’ »

Some Cordova 3.3 gotchas (there are more)

Using the inappbrowser plugin: what should be in your config.xml is: <feature name="InAppBrowser"> <param name="android-package" value="org.apache.cordova.inappbrowser.InAppBrowser"/> </feature> and not <feature name="InAppBrowser"> <param name="android-package" value="org.apache.cordova.InAppBrowser"/> </feature> Also, if you want to use the back button handler on Android, make sure you have the following in your config.xml <feature name="App"> <param name="android-package" value="org.apache.cordova.App" /> </feature> Another issue …

Continue reading ‘Some Cordova 3.3 gotchas (there are more)’ »