facebook

URL Link Option = Relative Path

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #337194 Reply

    herb200mph
    Participant

    When linking a button to a PDF or image, using the URL option, and appCaching, does the file not download with the web app and cache itself?

    We keep experiencing a file seeking error when the device is offline and attempting to open it from the cache.

    We have added the files as additional in hopes that it will cache.

    Alas, no luck.

    Suggestions???

    #337400

    support-michael
    Keymaster

    hi herb,

    You have solved 1/2 the problem. There are 2 steps:

    >We keep experiencing a file seeking error when the device is offline and attempting to open it from the cache. We have added the files as additional in hopes that it will cache.

    This is step-1 to have the pdf file bundled into your webapp content.
    The 2nd step is to manually add the pdf file to the manifest, i.e., cache.manifest file.
    See this intro on html5 appcache http://www.html5rocks.com/en/tutorials/appcache/beginner/
    Headsup that appcache implementations can be flakey across mobile platforms and from version to version.

    #337404

    herb200mph
    Participant

    Thanks for the response.

    We are sorting out the nuances of displaying PDF/image files issues.

    Now that the appcache has been solved – it simply doesn’t like to work at the root level, but will work in a /subfolder/ under the root.

    We are copying the /folder-www/ into the root and accessing the webapp there.

    It is also apparent that we need to put PDF’s and/or images into an html page so we can add some back navigation, etc. to those particular screens.

    Thank you again for your response.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: URL Link Option = Relative Path

You must be logged in to post in the forum log in