How to change app icon in phonegap application
How to change app icon in phonegap application
cordova or phonegap application has default cordova logo as its icon. we need to change it to our custom icon. for that we need to edit our projects config.xml file. config.xml file can be found in our project directory below www folder
Default Icon
Step 1 : First create or make one icon with in 512×512 resolution and it should be in .png format.
Step 2 : create a folder in your project directory with name as res
Step 3 : Add the icon image in res folder
Step 4 : Open config.xml in any editor and add the below line of code
<icon src=”res/icon.png”/>
Step 3 : Build the project again in your app you will see your custom icon
Credit : http://phonegaptut.com
ความคิดเห็น
แสดงความคิดเห็น