Nevermind,
i think i found it:
if (window.navigator.standalone) {
alert ('Thanks for launching this app your home screen')
} else {
alert('Add this app to your home screen for the best experience')
}
I haven't tried this yet, but I will soon..
Is it the same you used too I can guess?
Happy coding everyone!
Alex
-----Messaggio originale-----
Da: [email protected] [mailto:[email protected]] Per
conto di JPoz
Inviato: giovedì 4 marzo 2010 7.54
A: iPhoneWebDev
Oggetto: iPhone web app game!
Howdy all,
Just finished up my first iphone web app. It's a game called
TouchAttack!!! http://touchattack.heroku.com/
You've got to hit the blocks before they hit you! It's all done with
js, web-transitions and animations. I was really amazed with how fluid
the animations can be on the phone.
I'd love to hear any feedback.
Also love to know if it works well on the original iPhone or the 3Gs.
I've just got the 3G.
Cheers,
James
--
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en.
--
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en.