Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
web clip icon when offline
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Simon  
View profile  
 More options Jun 22 2010, 11:49 am
From: Simon <simon.wilkin...@gmail.com>
Date: Tue, 22 Jun 2010 08:49:06 -0700 (PDT)
Local: Tues, Jun 22 2010 11:49 am
Subject: web clip icon when offline
Hi,

I have a question about the web clip icon.  I have things set up in my
app so that the icon I specify shows up when i choose the "Add to Home
Screen" option, but only when I'm online.  If I go offline and then
try to add it to the home screen, I end up with a screenshot of the
current screen.  I have tried preloading the icon image, adding it
into a hidden div so that it is actaully on the page, and it is listed
in my cache manifest file, so it should be getting pulled down by
that.  Does the icon only get pulled down from the server when the you
actually choose to add the app to the home screen?  If I add it, and
then go offline and try to add it again, the proper icon does appear.
Has anybody found a way to force the load of the icon image without
actually needing to add the app to the home screen once?

Thanks,

Simon


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Webmaster, Team Associated  
View profile  
 More options Jun 23 2010, 11:43 am
From: "Webmaster, Team Associated" <shust...@aeteam.net>
Date: Wed, 23 Jun 2010 08:43:56 -0700
Local: Wed, Jun 23 2010 11:43 am
Subject: web clip icon when offline

Simon,
Can you provide the code that allows the creation of the web clip icon?

Thanks!
Steve

Hi,

I have a question about the web clip icon. I have things set up in my
app so that the icon I specify shows up when i choose the "Add to Home
Screen" option, but only when I'm online. If I go offline and then
try to add it to the home screen, I end up with a screenshot of the
current screen. I have tried preloading the icon image, adding it
into a hidden div so that it is actaully on the page, and it is listed
in my cache manifest file, so it should be getting pulled down by
that. Does the icon only get pulled down from the server when the you
actually choose to add the app to the home screen? If I add it, and
then go offline and try to add it again, the proper icon does appear.
Has anybody found a way to force the load of the icon image without
actually needing to add the app to the home screen once?

Thanks,

Simon


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon  
View profile  
 More options Jun 23 2010, 1:49 pm
From: Simon <simon.wilkin...@gmail.com>
Date: Wed, 23 Jun 2010 10:49:54 -0700 (PDT)
Local: Wed, Jun 23 2010 1:49 pm
Subject: Re: web clip icon when offline
Hi,

I'm just using the <link rel="apple-touch-icon-precomposed" href="/
myPath/myIcon.png" />

This works fine when I'm online, my issue is that if I'm offline the
icon doesn't get loaded, even if I hide it on the page I am trying to
add to the home screen.  So I'm wondering if that tag requires an
active connection to download the image, or if it can be preloaded in
some way so that if you load the page, then go offline, and then add
it to the home screen, the proper icon is used, instead of the screen
shot of the current page.

Thanks,

Simon

On Jun 23, 8:43 am, "Webmaster, Team Associated" <shust...@aeteam.net>
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mogens Beltoft  
View profile  
 More options Jun 23 2010, 3:12 pm
From: Mogens Beltoft <mog...@beltoft.dk>
Date: Wed, 23 Jun 2010 21:12:47 +0200
Local: Wed, Jun 23 2010 3:12 pm
Subject: Re: web clip icon when offline
So you want to go offline, and then Save to Home Screen. Why, if I may ask?

How would you make sure that all files in your manifest are present and
ready for local storage when offline?

/Mogens

On 23-06-2010 19:49, Simon wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon  
View profile  
 More options Jun 24 2010, 12:27 pm
From: Simon <simon.wilkin...@gmail.com>
Date: Thu, 24 Jun 2010 09:27:05 -0700 (PDT)
Local: Thurs, Jun 24 2010 12:27 pm
Subject: Re: web clip icon when offline
What I want to be able to cover is the case where a user is first
online and loads up my app in safari.  In doing so, the manifest file
is loaded along with all the other relevant files.  If the user then
goes offline, they can continue to use the app in safari, and safari
still provides the option to "Add to Home Screen'.  However, when you
choose this in offline mode, the proper icon isn't used, just a
screenshot is.  I realize this probably isn't likely to be how most
people would use the functionality, but I figure that if Apple allows
you to add it to the home screen when offline, then there should also
be a mechanism to use the proper icon without needing to fetch it from
a live server at that exact time (which would never happen
successfully if you are offline).

Simon

On Jun 23, 12:12 pm, Mogens Beltoft <mog...@beltoft.dk> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jordan Dobson  
View profile  
 More options Jun 24 2010, 1:43 pm
From: Jordan Dobson <jordandob...@gmail.com>
Date: Thu, 24 Jun 2010 10:43:56 -0700
Local: Thurs, Jun 24 2010 1:43 pm
Subject: Re: web clip icon when offline
You could always base64 encode the image. The upside is that there would be no delay loading the icon for users that are online.

I don't think Safari goes to grab the icon until its needed. So I believe base64 encoded into your page is the only option.

Jordan

On Jun 24, 2010, at 9:27 AM, Simon <simon.wilkin...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »