Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 10 of 10 total |
Offline Use And Storage |
Fri, Jul 7 2017 11:56 AM | Permanent Link |
Frederick Chin | Is it possible for an EWB application to work offline, storing data in the phone and then submit the data to the web server when an Internet connection is available?
-- Frederick |
Fri, Jul 7 2017 1:49 PM | Permanent Link |
Chris Holland SEC Solutions Ltd. Team Elevate | Yes, I do this in my App.
you can use this: https://www.elevatesoft.com/manual?action=topics&id=ewb2§ion=using_local_storage Chris Holland [Team Elevate] On 07/07/2017 16:56, Frederick Chin wrote: > Is it possible for an EWB application to work offline, storing data in the phone and then submit the data to the web server when an Internet connection is available? > > -- > Frederick > |
Fri, Jul 7 2017 9:16 PM | Permanent Link |
Frederick Chin | Chris,
/* Yes, I do this in my App. you can use this: https://www.elevatesoft.com/manual?action=topics&id=ewb2§ion=using_local_storage */ When there is no Internet connection? -- Frederick |
Sat, Jul 8 2017 1:45 AM | Permanent Link |
Bill | You have to save the "compiled" application.html and javascript folder locally on your device; then you invoke your local html file and that's all.
> Frederick Chin wrote: > >When there is no Internet connection? > >-- >Frederick |
Sat, Jul 8 2017 10:34 AM | Permanent Link |
Frederick Chin | Bill wrote:
/* You have to save the "compiled" application.html and javascript folder locally on your device; then you invoke your local html file and that's all. */ That is very interesting! I am definitely going to try it out. Thanks. -- Frederick |
Sat, Jul 8 2017 11:06 AM | Permanent Link |
Big Al | I know some people that would be very interested in this. What would be a reasonable limit to the amount of data you would be able to keep offline(local)?
Big Al |
Sat, Jul 8 2017 11:14 AM | Permanent Link |
Big Al | >Bill wrote: >>You have to save the "compiled" application.html and javascript folder locally on your device; then you invoke >>your local html file and that's all. Bill or anyone, what would be the best way to come up with a standard way to save application folder with the html and javascript files in it on the client device?? I assume a shortcut to the html file wouldn't be too bad to create, but not sure how to make sure the user always has the newest version of the app. Offline is becoming much much more important even though you would like to think that internet access is everywhere. There are a LOT of applications that need offline. I will be pursuing this once I finish the app I'm doing now. Big Al |
Sat, Jul 8 2017 12:00 PM | Permanent Link |
Raul Team Elevate | On 7/8/2017 11:06 AM, Big Al wrote:
> I know some people that would be very interested in this. What would be a reasonable limit to the amount of data you would be able to keep offline(local)? Recommended size is approx 5MB but actual implementation varies by browsers - test browsers you're planning to use. Good site for this : http://dev-test.nemikor.com/web-storage/support-test/ Also keep in mind that this is stored by browser (not OS) and could be wiped anytime - user might clear browser cache or use some tool to do that automatically etc. Basically rely on this as either non-vital storage mechanism (cached data) or short term offline storage that is uploaded as soon as possible when back online Raul |
Mon, Jul 10 2017 4:26 AM | Permanent Link |
Matthew Jones | Bill wrote:
> You have to save the "compiled" application.html and javascript folder locally on your device You don't actually have to save anything - it can sit in a browser tab. You just need to not close the tab or navigate elsewhere... -- Matthew Jones |
Mon, Jul 10 2017 5:08 AM | Permanent Link |
Chris Holland SEC Solutions Ltd. Team Elevate | If you want to store larger amounts of data try this:
https://github.com/localForage/localForage Chris Holland [Team Elevate] On 08/07/2017 17:00, Raul wrote: > On 7/8/2017 11:06 AM, Big Al wrote: >> I know some people that would be very interested in this. What would >> be a reasonable limit to the amount of data you would be able to keep >> offline(local)? > > Recommended size is approx 5MB but actual implementation varies by > browsers - test browsers you're planning to use. > > Good site for this : http://dev-test.nemikor.com/web-storage/support-test/ > > Also keep in mind that this is stored by browser (not OS) and could be > wiped anytime - user might clear browser cache or use some tool to do > that automatically etc. > > Basically rely on this as either non-vital storage mechanism (cached > data) or short term offline storage that is uploaded as soon as possible > when back online > > Raul > |
This web page was last updated on Tuesday, April 30, 2024 at 03:55 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |