开发者

Does HP TouchPad supports HTML5's offline application (Manifest)

开发者 https://www.devze.com 2023-03-24 11:39 出处:网络
I have a webapp using offline support (a manifest file). It works correctly on Androids, iOS, RIM, and then some.

I have a webapp using offline support (a manifest file). It works correctly on Androids, iOS, RIM, and then some.

It doesn't work on TouchPad though. If I refresh the app without connectivity, I get a "No Internet Connection" error. Did anybody got a manifest 开发者_开发技巧file to work on TouchPads?

Here's part of my code:

My main HTML file:

<!DOCTYPE html>
<html manifest="offline/newspro.manifest">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        .
        .
        .

And the manifest file (sent as text/cache-manifest mime type): CACHE MANIFEST

CACHE:
../index.html
../css/stylesheet.css
../images/logo.png
../images/progress.gif
../images/warning.png
../js/global.js

NETWORK:
*
# revision 351234


The answer to the question in the title post is "Yes" based on https://github.com/shichuan/mobile-html5-boilerplate/wiki/HTML5-Mobile-Support. TouchPad's are WebOS and WebOS supports appcache.

As for the answer to the question in the body of your post--has anyone gotten it to work?--I don't know about that, unfortunately.

0

精彩评论

暂无评论...
验证码 换一张
取 消