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
cordova config file location
Default Icon
Default cordova 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

ความคิดเห็น

โพสต์ยอดนิยมจากบล็อกนี้

วิธีการกรอกใบสมัครงาน (application form) ภาษาอังกฤษ

วิธีแก้ปัญหา Internal Server Error ตอนรัน PHP กับ Apache Server MSQL

[PHP] คำสั่ง NUMBER_FORMAT ใส่จุดทศนิยม และ คอมม่าให้กับตัวเลข