|
|||||||
| Register | Members List | New Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Kasper's Automated Slave
Join Date: Nov 1997
Posts: 6,151
|
Latest iPhone Software supports full-screen Web apps
One unpublicized feature introduced by Apple's latest iPhone software updates is the ability to save Web apps to the home screen and have them launch in full-screen mode without the Safari wrapper, essentially mimicking the experience of a native app.
Clancy, an AppleInsider reader who brought the matter to our attention, believes the undocumented feature arrived as part of the most recent iPhone Software 2.1 update. He notes that the capability is only present in Web applications specifically authored to include the full-screen code. To illustrate the feature, he's created a demo application for iPhone users to try out. In order to trigger the full-screen mode, follow these steps: Load the demo app in Safari on your iPhoneHit the "+" button at the base of the Safari appSelect "Add to Home Screen"Save the App to the Home ScreenTap the icon that was just saved to your Home ScreenThe demo App should load in full screen without the Safari wrapper. Once the app is loaded in full-screen, it behaves just like a native app acquired from the App Store, though it may perform slightly slower as all the resources and interface elements are being downloaded in real-time over the Internet. You can even pull the interface down (screenshot, below) like a native app without the Safari interface coming into play. Saving a Web app to the Home Screen Steps to prep a Web app to launch as a full-screen app. Launching a Web app in full-screen mode Steps to prep a Web app to launch as a full-screen app. |
|
|
|
|
|
#2 |
|
Registered User
Join Date: May 2005
Posts: 383
|
Nice. Sometimes web-apps are simply more stable and makes more sense than the native apps. All native iPhone apps I've tried so far have crash bugs. The Safari doesn't crash as often.
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jan 2005
Posts: 45
|
If you have any apps left over from the 2.0.1 or 2.0.2 days, sometimes its best to delete them and do a fresh install. That has solved a great deal of my crashing problems.
|
|
|
|
|
|
#4 |
|
Registered User
Join Date: Jul 2008
Posts: 2
|
Offline WebApps?
Anyone think there is still a chance they would let you have offline web apps? This would be a good way to make use of those.
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Oct 2006
Location: Greenville, SC
Posts: 852
|
|
|
|
|
|
|
#6 |
|
Registered User
Join Date: Oct 2008
Posts: 1
|
Code to do this function?
This is a cool feature.
Can anyone share the code that allows the pages to act like the demo. |
|
|
|
|
|
#7 |
|
Registered User
Join Date: Apr 2006
Location: The Ansible
Posts: 11,779
|
segue...
Why isn't Apple's own Web Apps page for the iPhone not formatted for the iPhone.
Do your part to clean up AppleInsider forums: User CP » Edit Ignore List » Teckstud
|
|
|
|
|
|
#8 |
|
Registered User
Join Date: Sep 2008
Posts: 4
|
Gmail Chat and Meebo work pretty well this way, going so far as to have very nice icons for the homescreen.
|
|
|
|
|
|
#9 |
|
Registered User
Join Date: Oct 2008
Posts: 1
|
Not new...
This was in 2.0 and was dadvertised in the SDK intro videos - there was one about new features for web app developers which had stuff about css3 features etc, plus this stuff. It annoys me that no web developers seem to have found it...
|
|
|
|
|
|
#10 |
|
Registered User
Join Date: Mar 2006
Posts: 955
|
|
|
|
|
|
|
#11 | |
|
Registered User
Join Date: Mar 2006
Posts: 955
|
Quote:
In a few months the novelty will wear off and developers will go back to choosing the best tool for the job. In many cases that is a web app. I'm glad to see this as it gives more parity between native and web apps on the iPlatform™. |
|
|
|
|
|
|
#12 |
|
Registered User
Join Date: Jun 2003
Location: Tinton Falls, NJ
Posts: 702
|
I was saving web pages to the iPod Touch home screen before 2.0, and if the web page happened to be the size of an "app" it looked an awful lot like this. I'm not clear what's new here... maybe just that when you do it, Safari gets more out of your way now?
|
|
|
|
|
|
#13 |
|
Registered User
Join Date: Oct 2007
Posts: 6,115
|
Wha- no whines for cut 'n paste?
![]() |
|
|
|
|
|
#14 |
|
Registered User
Join Date: Jul 2007
Posts: 222
|
|
|
|
|
|
|
#15 | |
|
Registered User
Join Date: Jul 2004
Posts: 258
|
Quote:
This new implementation doesn't use Safari, but creates a simple self-contained application that uses a WebKit view to display the web page. This means of course, there's no Safari browser interface, such as the address bar, search field, bookmarks, etc. Safari 4 will have the same feature, "Save as Web Application..." |
|
|
|
|
|
|
#16 | |
|
Registered User
Join Date: Feb 2008
Posts: 1,415
|
Quote:
At the risk of incurring the fearful wrath of the sacred developers, who are of course ALWAYS RIGHT ... *looks around fearfully* ... A lot of apps in the app store would be better as Web apps, most notably almost all the apps that were rejected by Apple for inclusion. The Gmail app switcher, or pretty much any new interface for Gmail, as well as Podcaster would totally work better as web apps and Apple would not be able to reject them. |
|
|
|
|
|
|
#17 |
|
Registered User
Join Date: Jan 2006
Location: SoCal
Posts: 930
|
I started fooling around with some iPhone web code after reading this article and discovered an interesting however completely unrelated item. The navigator.vendor property for the iPhone version of Safari reads Apple Computer, Inc. You'd think they would change that to just Apple since they dropped the Computer from their legal name.
|
|
|
|
|
|
#18 |
|
Registered User
Join Date: Oct 2008
Posts: 1
|
Any other examples?
Has anyone found any more examples of sites using this code?
|
|
|
|
|
|
#19 |
|
Registered User
Join Date: Oct 2008
Posts: 1
|
For those of you with jailbroken phones, you can make any webclip do this by editing the plist file for the webclip, found in /private/var/mobile/Library/WebClips/ to include
<key>FullScreen</key> <true/> and then respringing your phone. |
|
|
|
|
|
#20 |
|
Registered User
Join Date: Mar 2006
Posts: 955
|
The webapp.net Demo app looked pretty good...until I tried it in Internet Explorer 7.
Unfortunately webapp.net's CSS does not degrade nicely for IE7. I'll be sticking with iUI. Last edited by Johnny Mozzarella; 10-03-2008 at 03:59 PM.. |
|
|
|
|
|
#21 | |
|
Registered User
Join Date: Feb 2008
Posts: 10
|
Quote:
|
|
|
|
|
|
|
#22 |
|
Registered User
Join Date: Oct 2008
Posts: 1
|
About : Latest iPhone Software supports full-screen Web apps
Isn’t possible to publish, for downloading, in one zip file the whole source code ?
Best Regards, Dominique. |
|
|
|
|
|
#23 | |
|
Registered User
Join Date: Mar 2006
Posts: 955
|
Quote:
However, as I mentioned above, this is only a good solution if it is only intended for use on Safari and Firefox. It is not compatible with Internet Explorer. Another solution that is compatible with Interent Explorer and probably a bit more polished is iUI. |
|
|
|
|
|
|
#24 | |
|
Registered User
Join Date: Oct 2008
Posts: 2
|
Quote:
Any way around that? |
|
|
|
|
|
|
#25 |
|
Registered User
Join Date: May 2005
Posts: 383
|
Thanks for the tip. I've only got new fresh apps though, and not many of them. (Two pages) There's about one crash a day (or more if I use the apps more). So I guess it's just like any computer platform with developers just getting started. They release buggy software, and optimize them over time.
|
|
|
|
|
|
#26 | |
|
Global Moderator
Join Date: Jun 2004
Location: .US
Posts: 9,127
|
Quote:
Web apps are fine in many circumstances, especially if it needs up-to-the-minute data from the internet anyway. But I would prefer a local app with local data for other circumstances, it's no fun to try to access a web app when the internet signal is weak or nonexistent, doubly so if the data is largely static. |
|
|
|
|
|
|
#27 | |
|
Registered User
Join Date: Oct 2008
Posts: 1
|
webapp dies on plist modification
Quote:
I've tried vi on the phone itself, I've tried copying the file to my Mac and editing it there and moving it back. When I used vi, i got a message that said "DB_CREATE must be specified to create databases." Is there a trick to editing this plist that I'm missing? |
|
|
|
|
|
|
#28 |
|
Registered User
Join Date: Oct 2008
Posts: 1
|
offline web app
Anyone know how to make an offline web app? Would only setting the http "cache-control" header to "public" work?
|
|
|
|
|
|
#29 |
|
Global Moderator
Join Date: Sep 2004
Location: NYC
Posts: 19,612
|
Hello to all the new people.
|
|
|
|
|
|
#30 |
|
Registered User
Join Date: Oct 2008
Posts: 1
|
Nothing undocumented
Nothing undocumented here. See
https://developer.apple.com/webapps/...002051-CH3-SW2 I thought this was common knowledge? It's even possible to change the status bar style (black translucent for example) |
|
|
|
|
|
#31 |
|
Registered User
Join Date: Oct 2008
Posts: 1
|
This is a nice idea, but unfortunately running webapps in this fullscreen mode seems to disable orientation events ... so you can't have a landscape version aswell as portrait
![]() |
|
|
|
|
|
#32 |
|
Registered User
Join Date: Oct 2008
Posts: 1
|
That is because Apple wants people to develop Ajax Webapps or some sort of self sufficient app. I don't think there is an immediate way to avoid this.
Last edited by leorou; 10-04-2008 at 12:52 PM.. |
|
|
|
|
|
#33 |
|
Registered User
Join Date: Jan 2005
Location: Brooklyn, NY
Posts: 5,249
|
Yes I'd read some info that Apple told developers this would be coming with Safari 4. It was likely under NDA so no one is widely talking about it.
|
|
|
|
|
|
#34 |
|
Registered User
Join Date: Jan 2005
Location: Brooklyn, NY
Posts: 5,249
|
|
|
|
|
|
|
#35 | ||
|
Registered User
Join Date: Jan 2005
Location: Brooklyn, NY
Posts: 5,249
|
Quote:
Quote:
|
||
|
|
|
|
|
#36 |
|
Registered User
Join Date: Jul 2006
Posts: 530
|
|
|
|
|
|
|
#37 |
|
Registered User
Join Date: Oct 2008
Location: Bermuda Triangle
Posts: 1
|
|
|
|
|
|
|
#38 |
|
Registered User
Join Date: Oct 2007
Posts: 51
|
That sounds pretty cool.
|
|
|
|
|
|
#39 | |
|
Registered User
Join Date: Oct 2008
Posts: 2
|
Quote:
I want the best of both worlds, please. ![]() |
|
|
|
|
|
|
#40 | |
|
Registered User
Join Date: Oct 2008
Location: NJ
Posts: 2
|
Quote:
Seems more like this meta-tag simply turns off the Safari browser chrome. ? |
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|