Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add icon and change the app name in phone gap build application

I have created a Jquery html5 mobile application and then I had created a apk using the phone gap site but when I install the application on the device I am not getting the app icon which have added to the route directory and also want to know how to change the app name

Thanks in advance

like image 612
Sam Avatar asked Jan 18 '26 23:01

Sam


1 Answers

You also have to specify icon and splashscreen in your config.xml, add these 2 lines in config.xml and you will have icon and splash screen:

<icon src="icon.png" />
<gap:splash src="splash.png" />

More detailed spec for icons and splashscreen for various platform are specified here: http://cordova.apache.org/docs/en/3.4.0/config_ref_images.md.html

like image 198
krisrak Avatar answered Jan 22 '26 05:01

krisrak