Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Best Practise / Way: Deliever app with content (images) and update them via Internet if needed

$
0
0

Hey,

following Scenario: (Using Alloy)

The App comes across with (let's say) 50 images and a database which stores data regarding to each image. The data is based on a website. Now (for example) each month there will be a new Image (and description) so the app have to pull new Data /// Check for that data at each startup.

My Apporach: I've saved the 50 "start" Images and their data to a migration file of my model. (Just the data, not the images of course) So i can check at startup if any of the existing images (per unique id) have changed, and if so i adjust it.

Questions:

  • Where to store the "start" Images? Meaning, which is the best directory for that? So it's possible to delete/edit them later if the website is changed that way. Just providing them as a normal ressource in the app/assets folder does not seem to be a cool solution. or?

  • Where to save new Images coming from the website each month/time interval? they (of course) have to be alvailable after the app closed and starts again ^^

Ideas would be very nice :)

Best, Nico

Alloy, Newest SDK, IPhone only


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>