1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    11
    Vote Rating
    0
    michaelmld08 is on a distinguished road

      0  

    Default Unanswered: Not a true offline application?

    Unanswered: Not a true offline application?


    Hey so I want to make my application be able to be used when there is no internet. I have built my application through build production. "sencha app build production". All my data has been stored in local storage, and if I turn off the internet and do not close my application the application runs and "seems" like it is running offline. Uh let me explain a little more, I open my application on the ipad in the browser than I do add to home screen. So the scenario i speak of is when the app is "on the ipad". If i close the application and restart it in offline mode it will say "Could not be opened because it is not connected to the internet". How can i bypass this? Any tips?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,704
    Answers
    3356
    Vote Rating
    751
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Is this the first time the app has been launched from the homescreen?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Aug 2012
    Posts
    1
    Vote Rating
    0
    klutus is on a distinguished road

      0  

    Default


    Have you validated that all your required resources, plug-ins and files are available in your offline environment, if you use the dynamic loading of Sencha components...it will fail in off-line mode.

  4. #4
    Sencha User
    Join Date
    Nov 2012
    Posts
    2
    Vote Rating
    0
    bpdesign is on a distinguished road

      0  

    Default Offline Data Caching

    Offline Data Caching


    I have a production build of an app that is hosted on a web server and can be navigated to using the iPhone's browser. When a user "Adds to Homescreen" is it possible to have the app launch and display cached content when the device is in airplane mode?

    I have tried launching it from the homescreen when not in airplane mode (the content displays correctly), and then launching it again with airplane mode activated, and no luck: the device tells me I have to be connected to the internet to even launch the app.

    I have seen the discussions about using a cache manifest. I will look into that now, but I would like to know if I need to cache all of the app files, or just the files that are not part of the basic Sencha Touch 2 framework.

    Thanks for any help in advance.

  5. #5
    Sencha - Training Team
    Join Date
    Nov 2009
    Location
    Washington, DC
    Posts
    52
    Answers
    1
    Vote Rating
    2
    sdruckerfig is on a distinguished road

      0  

    Default


    If you move your app into a Sencha Cmd-based project, a cache-manifest file will be automatically generated when you issue a "sencha app build" directive. Note that you may need to configure your web server to send a mime type of type of "text/cache-manifest" for files with a .appcache file extension. See the following URL for more details:

    http://www.html5rocks.com/en/tutoria...ache/beginner/

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar