The manifest file is incomplete. You still need to list all the urls  
you want to use in your app.

Without a network section that whitelists such URLs your app can only  
access the cached items.

Cheers,

Niels

Sent from my iPhone

On 31 okt 2009, at 05:27, Kelvin Wu <[email protected]> wrote:

>
> What steps will reproduce the problem?
> 1. Create CACHE MANIFEST to include all iUI stuff
> 2. Config text/cache-manifest in Apache
> 3. Add manifest="abc.manifest" in HTML tag
> 4. Bookmark the address to homescreen
> 5. Launch the WebApp from homescreen
> 6. None of Ajax clicks works
> 7. Check the server log, no requests came to server when clicking  
> links
> 8. Check XMLHTTP status, it seems to be disppeared after readystate=1
> 9. Remove manifest="abc.manifest" from HTML tag, everything works fine
> I am not going to provide a real offline app, I am just thinking of  
> using cache to quickly launch app instead of downloading all iUI  
> stuff every time users launch the app from homescreen.
>
> I visited few websites and offline demos, just wondering how they  
> work. like this one:
> http://code.msgilligan.com/2009/09/iui-sample-webapp-using-html-5-offline.html
>
> From my knowledge, Ajax seems to prevent the cross-doamin access  
> naturally, when it starts from cache, is it treated as accessing  
> from localhost to remote address?
>
> Here is my demo:
> http://i.sh2sg.com/v3.html
>
> Cache manifest
> http://i.sh2sg.com/movie.manifest
>
> I appreciate any suggestion.
>
> Thanks.
>
>
>
>
>
>
> >

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to