Lorenzo7338236
Posts: 0
Joined: Wed Jan 21, 2015 11:41 am

Working on and off-line

I've read something about the Appery.io features and think it's an outstanding platform.

I'm writing you as would like to create an application that works on and off-line, reading data from a REST services if it's on-line and reading from local storage data when is off-line.

Do you think it's possible? And what about the images? The Json data contains the images URLs, how I can automatically download them in the Media Manager and use them in place of the URL?

It would be cool to have a local cache of all the application pages!

Regards,
Lorenzo

Ihor Didevych
Posts: 0
Joined: Wed Nov 19, 2014 7:55 pm

Working on and off-line

Hi Lorenzo,

1)Yes, it is possible.
The off-line application creating very similar to off-line site creating, so if you don't have enough experience in javascript coding, then you should be aware of complexity of idea.
Next tutorial can be useful
http://devcenter.appery.io/tutorials/...

2) you can't upload Images into media manager directly, it's more convenient to store it in local storage, but be aware that most device's local storages has limits of 5-10 MB

Lorenzo7338236
Posts: 0
Joined: Wed Jan 21, 2015 11:41 am

Working on and off-line

Hi Ihor,
thanks for your reply

1) actually I might create a completely off-line app reading data from a Json file stored locally and release a new version when the data will change.

2) if I use Media Manager to manually upload images, are they stored locally in the app or in the cloud?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Working on and off-line

Hi Lorenzo -

1) You can even create a JavaScript file and place your JSON object there in the variable, it will be much easier for you to use it in the future.
2) All files stored locally after app is build.

Return to “Issues”