Announcement

Collapse
No announcement yet.

Local Storage

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    Originally posted by sdanigo View Post
    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
    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.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


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

      Comment


      • #4
        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.

        Comment


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

          Comment


          • #6
            Hi, sdanigo how SC worked with the App?

            Comment


            • #7
              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

              Comment

              Working...
              X