1. #1
    Sencha Premium Member
    Join Date
    Apr 2013
    Location
    Stuttgart, Germany
    Posts
    2
    Vote Rating
    0
    froth is on a distinguished road

      0  

    Default Answered: Local storage limits for native packaged application

    Answered: Local storage limits for native packaged application


    Hi,

    when using the local storage html5 feature in browsers, there is a limit of about 5MB(depending on the browser).

    Is this limit the same for a native packaged sencha2 app?

    If yes: What options do I have to cache bigger amounts of data for offline usage?

    Greetings from Stuttgart,

    Fred

  2. Yes, the limits still apply. Worse, the users will not be prompted to increase the limit as they would with a web app. An alternative is to use SQLite or package with Cordova and access the file system.

  3. #2
    Sencha User
    Join Date
    Jan 2012
    Location
    London, UK
    Posts
    481
    Answers
    24
    Vote Rating
    48
    shepsii has a spectacular aura about shepsii has a spectacular aura about shepsii has a spectacular aura about

      1  

    Default


    Yes, the limits still apply. Worse, the users will not be prompted to increase the limit as they would with a web app. An alternative is to use SQLite or package with Cordova and access the file system.
    I blog about Sencha Touch at www.senchatouchdev.com

  4. #3
    Sencha Premium Member
    Join Date
    Apr 2013
    Location
    Stuttgart, Germany
    Posts
    2
    Vote Rating
    0
    froth is on a distinguished road

      0  

    Default


    Cordova could be a good idea, thanks!

    Is there a memory limit for SQLite storage?

  5. #4
    Sencha User
    Join Date
    Jan 2012
    Location
    London, UK
    Posts
    481
    Answers
    24
    Vote Rating
    48
    shepsii has a spectacular aura about shepsii has a spectacular aura about shepsii has a spectacular aura about

      1  

    Default


    If you use a SQLite plugin, the limit becomes measured by the limits of any SQLite database, which are in the gigabytes. So the limiting thing in that case is really the amount of storage you can justify taking up on the device, rather than the theoretical limit.
    I blog about Sencha Touch at www.senchatouchdev.com

Thread Participants: 1

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