PDA

View Full Version : Trouble getting tabletStartupScreen to work



plindsay
25 Jun 2010, 3:02 AM
Hi there,

Here is a link to a little demo slide viewer app I've been building using Sencha Touch -
http://projects.presencemultimedia.co.uk/ipad-app/demo/

So far so good, but one aspect which is annoying me is that I can't seem to show the startup screen. If you add the app to your home screen, the app just shows a black screen before it loads in the first slide.

As far as I can see I've referenced it correctly in myapp.js -
http://projects.presencemultimedia.co.uk/ipad-app/demo/myapp.js

And here is the startup screen -
http://projects.presencemultimedia.co.uk/ipad-app/demo/images/ipad_startup2.png

Cheers - Phil

mrsunshine
25 Jun 2010, 3:57 AM
i think the startup image will only shown when you phone / tablet is offline and you start the application. otherwise it will load the image from the server and while this the application is already loaded and the image does not show up

plindsay
25 Jun 2010, 5:28 AM
Thanks for the reply. I thought it would've been displayed before anything else was loaded in my app, whether it was offline or not....

I might try caching the assets and seeing if it displays then.

Regards, Phil

mrsunshine
25 Jun 2010, 5:33 AM
Thanks for the reply. I thought it would've been displayed before anything else was loaded in my app, whether it was offline or not....

I might try caching the assets and seeing if it displays then.
Check:
How to make a sencha touch app offline usable with the html5 cache manifest! (http://www.sencha.com/forum/showthread.php?102054-How-make-a-sencha-touch-app-offline-usable-with-html5-cache-manifest&p=478955#post478955)
maybe it helps you to make you app work offline