-
12 Apr 2012 9:37 AM #1
Answered: Icons specified twice? (app.js and packager.json)
Answered: Icons specified twice? (app.js and packager.json)
Why are the app icons specified twice? Once in app.js:
and then again the packager.json specifies an icon:Code:icon: { 57: 'resources/icons/Icon.png', 72: 'resources/icons/Icon~ipad.png', 114: 'resources/icons/Icon@2x.png', 144: 'resources/icons/Icon~ipad@2x.png' },
Which is used when & by what tools?Code:"iconName":"resources/icons/Icon.png",
-
Best Answer Posted by mitchellsimoens
The icon config in Ext.application would be used if you launched your web app in mobile safari and then added it to the homescreen, this config would state what icon to show there. The iconName in packager.json would be the icon for that native app.
-
12 Apr 2012 11:08 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,581
- Vote Rating
- 433
- Answers
- 3100
The icon config in Ext.application would be used if you launched your web app in mobile safari and then added it to the homescreen, this config would state what icon to show there. The iconName in packager.json would be the icon for that native app.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
25 Apr 2012 1:13 AM #3
I still get that strange behavior with these homescreen icons.
For some reason they seem to show up properly for older iPhones and iPod Touches.
For the new iPhone 4S and the new iPad they just wont show up properly. A little screenshot of the app will be displayed instead.
Any hints why this could act like that?


Reply With Quote