0

I need to write an app to run on iPhone, iPad, Android phones & tablets. WinPhone 7 and desktop browsers would also be nice, but not necessary. I'm a desktop/Silverlight developer, but it seems this is a job for HTML 5 & javascript. Right?

I'm looking at Sencha touch, jquery, and amplify.js to simplify my life. My app has to be available in app stores, so I'm looking at PhoneGap to help with that.

The app needs to work offline which means I have need for local storage of about 10 megs. I don't know how to deal with this requirement because all the local storage options seem to top off at 5 megs.

Any ideas about how to deal with this? (Or any suggestions as to a better approach or libraries?)

coneybeare
  • 33,113
  • 21
  • 131
  • 183
jack
  • 31
  • 3

2 Answers2

0

I would try your best to get your app down to less than 5 Mb. This means perhaps compression of some sort before locally storing, perhaps only having the essential features available offline, and optimizing your data such that you can reduce any redundancy. Even after all of this, you are still dependent on whether or not the user's browser allows local storage, and whether it allows 5 Mb of it.

coneybeare
  • 33,113
  • 21
  • 131
  • 183
  • I think all of the new browsers will give 5 megs of WebStorage of 5 megs, but no more. i can't get the Dictionary that small. I'm hoping someone knows a workaround. – jack Jun 08 '11 at 14:57
  • 1
    Perhaps I could use WebSQL Database? Or could I install files with a native app that my web app could somehow access? – jack Jun 08 '11 at 15:22
  • Maybe, but those warnings about no longer being maintained are pretty scary. Are browsers going to support this going forward? Would you be willing to bet your app on it? – coneybeare Jun 08 '11 at 21:04
0

As per an answer on a question earlier today, the Web SQL Database spec is your friend here, at least on iOS 4.3

Community
  • 1
  • 1
Paul D. Waite
  • 96,640
  • 56
  • 199
  • 270