PhoneGap articles

Resolving Android versionCode float type publishing error with PhoneGap

Posted: Sunday 7th December, 2014 - 10:02pm
Author: James Griffiths

There you are ready to build your Android project - Cordova PhoneGap, Ionic Framework, Ant and the Android SDK are all successfully installed and configured correctly - you've opened up your command line and typed out the following instruction:

ionic build android

You press Enter and wait for the command to run only to be greeted with a failed build message akin to the following...


Fixing the mobile header height in jQuery Mobile for iOS7

Posted: Tuesday 3rd June, 2014 - 9:32pm
Author: James Griffiths

If you're developing Phonegap applications with jQuery Mobile for devices running iOS7 then you're probably going to experience some issues with the placement of items within the application header. As Apple have changed how the header behaves in iOS7 you'll need to make some adjustments in your code to accommodate this.


The basics of setting up Phonegap for iOS

Posted: Tuesday 11th February, 2014 - 10:20pm
Author: James Griffiths

If you want to develop for different mobile platforms but don't have the time, inclination or motivation to learn the Objective C, Java or C# languages then PhoneGap should definitely be at the top of your must-have technologies list.

In this tutorial we're going to take you through setting up the basic Phonegap environment for iOS.


Resolving network connectivity issues with PhoneGap 3.3.0

Posted: Monday 13th January, 2014 - 10:11pm
Author: James Griffiths

We recently upgraded PhoneGap to version 3.3.0 and were a little flummoxed when we found that our Apps wouldn't work when being published to an iPhone. All we experienced was the splash screen loading and then being replaced by a grey screen - the network connection check wouldn't trigger and the App content wasn't loading at all. This was pretty odd as the previous version of PhoneGap published the App without any issues whatsoever but with the upgrade we couldn't even get javascript alerts for the navigator.connection.type to display.

Something very, very odd was going on here.


Xcode 5 accelerometer warning for ios7

Posted: Monday 13th January, 2014 - 10:07pm
Author: James Griffiths

If you're developing mobile Apps for iOS7 using PhoneGap 3+ and Xcode 5 chances are you've come across compiler warnings when publishing your app to an iOS device.

Typically these will involve the following:

  • UIAccelerometer' is deprecated: first deprecated in iOS 5.0 - UIAccelerometer has been replaced by the CoreMotion framework
  • Implicit conversion loses integer precision: 'unsigned long long' to 'int'

Publishing your App still works but how to resolve these warnings? Read on...