Local Storage

Does anyone knows if it is possible to use scriptcase with HTML5 local storage ?
My app is designed to work on phone.
Sometimes, internet access isn’t present.
I would like to download the data needed on the phone, then process them (localy so internet access is not a problem) and at the end of the day I would like to sync all on the main server.

If someone has alredy done that or have clues for me, it would be greatly appreciated.
Thanks

Sylvain

[QUOTE=sdanigo;36135]Does anyone knows if it is possible to use scriptcase with HTML5 local storage ?
My app is designed to work on phone.
Sometimes, internet access isn’t present.
I would like to download the data needed on the phone, then process them (localy so internet access is not a problem) and at the end of the day I would like to sync all on the main server.

If someone has alredy done that or have clues for me, it would be greatly appreciated.
Thanks

Sylvain[/QUOTE]

Scriptcase is based on php which means that there needs to be a server running php. So the applications do not run locally under html5 local storage.

Follow this link, if server needed: http://php.net/manual/en/install.php

You should be able to get sqlite working or to install (some people in here already did it) a local mysql and webserver on the phone (android only probably).
There is even some stuff for apple like cocoa httpserver and so on. I have no idea whether that works with a standard iphone.

Hi.
for those who are interested, I found that : http://webserver.bitnet.web.id/docs.php
seems good to use with SC

Hi, sdanigo how SC worked with the App?

Hi, works great. I’ve installed all on a Samsung Galaxy S5 (android Lolipop) and all works well (I’ve put my phone on plane mode for testing and all was OK).

The only thing is that the bitserver often switch to off and I have to restart it. I saw that there’s a lot of solution like bit server on the android market and I’m gonna take a look at them.

Sylvain