O'Reilly logo

Mastering PhoneGap Mobile Application Development by Kerri Shotts

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring your app

Now that we've created our app's icon and launch images, we need to configure our app to use them. In both the cases, you'll need to rename your exported files to specific names and move them into a specific directory. Then, we'll edit the configuration files to point at those files.

If you've downloaded the code package for this book, or if you've created an app using the typical Cordova/PhoneGap templates, chances are you already have the directory structure needed to configure your app. In case you don't, here's how it should look:

<project root>
`-- src
    |-- config.xml
    |-- res
    |   |-- icon
    |   |   |-- android
    |   |   `-- ios
    |   `-- splash
    |       |-- android
    |       `-- ios
    `-- www

Tip

If you are going to use PhoneGap Build, you should also symlink ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required