The iPhone is not connected to the net but when trying to browse to the above url the Safari saying somthing like " can't find url" instead of loading the url from local storage.
On 4 נובמבר, 00:07, Alon Raskin <[email protected]> wrote: > I am confused. Why does it access the server if it is offline? How is it > accessing the server? Is it retrieving a MIME or is it a xmlHTTPRequest? > > Alon Raskin > e: [email protected] > > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of The Mobile Spoon > Sent: Wednesday, November 03, 2010 1:57 PM > To: iPhoneWebDev > Subject: Offline web application - problem with Safari for iPhone > > Hi, > > We have developed a web application using JS and Html5 which can run > completely offline. > > We are using a local storage and in addition, the entire forms set is > loaded in advanced, and only once. > This means that when opening the URL while offline, the application > loads the html and the data from the local database. > > On Android devices this is working great. > On the iPhone, on the other hand, sometimes, when opening Safari - it > tried to access the server, and if the 3G is and Wifi off - it raises > an error. > > My question: how can we block this attempt by Safari - we would like > to force it to stay offline and use the offline capabilities of our > applicaiton. > > -- > 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 > athttp://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.
