facebook

online – offline

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

    Hi,
    to view a page online use
    phoneui.showURL(‘http://www.google.com’, ‘_blank’)

    how do I view the same page offline?

    #348134 Reply

    support-michael
    Keymaster

    Are you creating an app or webapp?
    If you are creating a webapp you may be able to use the html5 appcache. That is the page you load must enable appcach’ing of itself.

    If you are creating an app then you have no option when the page is offline. You might be able to hack together your own caching mechanism if you’ve got the chops and ability to debug nasty edge cases that you’ll encounter.

    #348142 Reply

    I’m creating an app
    I already funiona on iphone

    serves correct address cache
    example:
    cache / sitesite.com / page.php

    Online page works with
    http://sitesite.com/page.php

    offline cache address that I enter?

    cache / sitesite.com / page.php?

    or?
    nameapp / cache / sitesite.com / page.php?

    you tell me
    thanks

    #348155 Reply

    Hi,

    I am consulting the dev team as there have been mixed results for remote pages that have app cache support loaded into the Cordova InAppBrowser that MobiOne uses for the showURL action. I will follow up when I learn more.

    #348215 Reply

    Hi,

    Our preliminary testing indicates the appcache is not working for the Cordova InAppBrowser (i.e., the Show URL action).

    #348351 Reply

    how to download a php file es.http :/ / sitesite.com / file.php … the launch of a native app?
    Once downloaded …
    as you view the web page?

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: online – offline

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