Archive of entries posted on February 2014

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 …

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 …

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 …

Instead of reading the many pages explaining endless details, the following explanation is exactly the sort I like – summarising only the things you need to get going: http://ionicframework.com/docs/guide/publishing.html While you’re there, it’s worthwhile to look at ionic as well.

Let me save you a lot of time: The Cordova Media plugin (org.apache.cordova.media) does not work well on Android and Windows Phone 8, at least in the version released with Cordova 3.1 (and I don’t see any indication of a change in the latest release either). On Android I assume media resources are not released …