Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Confusing Cordova icons and splash screens directory

The Cordova docs, regarding the use of icons and splash screens for Android, states that they should be placed in www/res/icons and www/res/screens directories respectively.. But afterwards, in the same page, it says;

you'll need to copy the png files from platforms/android/www/res/screen/android to platforms/android/res/drawable/*

So; if the icons and splash screens should be copied to to the drawable folder, what is the use of having them on www/res/icons* and www/res/screens

This is confusing (@_@) Especially when the docs add more ambiguity;

 ..When working in the CLI...
like image 873
numediaweb Avatar asked Dec 23 '13 08:12

numediaweb


2 Answers

After some researches and trial/error I got it fixed and wrote a tutorial about my process;

Cordova Icons and Splash Screens

Hope it helps somebody else :)

like image 142
numediaweb Avatar answered Oct 05 '22 17:10

numediaweb


When working in the CLI means if you are building with the Command-Line Interface of Cordova/PhoneGap and does not apply if you say are using PhoneGap Build (http://build.phonegap.com) to build for you. Which version are you working on?

like image 24
pppontusw Avatar answered Oct 05 '22 17:10

pppontusw