-
14 Dec 2011 1:23 PM #1
Unanswered: PR3 - phoneStartupScreen and icon paths
Unanswered: PR3 - phoneStartupScreen and icon paths
I have an app with an icon and a phoneStartupScreen defined (see code).
My app is at url http://localhost:8080/MyApp/mobile
My index.html is at http://localhost:8080/MyApp/mobile/index.html
My app.js is at /js/mobile/app.js
The images are in /images
What path do I need to use (or where should I place the images) for them to appear for my web app? I've tried:
icon.png
images/icon.png
../images/icon.png
../../images/icon.png
And none of them show the icon when I try to add my web app to my iphones home screen.
Code:Ext.Loader.setConfig({ enabled: true, paths:{ 'MyApp':'./js/mobile/app' } }); var App = Ext.application({ name: 'MyApp', controllers: ['Main','Map'], phoneStartupScreen: '../images/phone_startup.png', icon: '../images/icon.png', glossOnIcon:false, launch: function() { this.appContext = appContext, Ext.create('MyApp.view.Viewport'); } });
-
14 Dec 2011 2:10 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,641
- Vote Rating
- 434
- Answers
- 3107
Do you have the app saved to the homescreen? Are they the correct size? Is your phone/tablet in portrait mode (not sure if landscape is working in iOS 5?
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.
-
14 Dec 2011 7:57 PM #3
I'm not sure if the phoneStartupScreen and other setup methods even exist in PR3. You should try adding them manually using the meta tags for now.
Sencha Inc.
Robert Dougan - @rdougan
Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.
-
6 Jan 2012 8:44 AM #4
Is there any chance to use animated gifs in the right format (phone/tablet) as startup screens?
At this stage i dont get any startupscreens when loading my app
-
6 Jan 2012 8:47 AM #5Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,641
- Vote Rating
- 434
- Answers
- 3107
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.
-
6 Jan 2012 9:15 AM #6
cool, thanks.
it also seems like an ipod touch isnt able to display startup pngs either...


Reply With Quote