سؤال

What would be some ways to create an application that goes and fetches images (using URIs, that's the only way I've come across) so that the app's company can change the images without requiring alterations to the android code?

I've looked at URL redirection but it does not seem quite reliable.

(Each time the app starts, it goes and fetches the image for display)

هل كانت مفيدة؟

المحلول 2

Using the Tumblr API achieved what I desired. It allows the fetching of the 6 most recent posts of a particular blog as JSON data. Recursively parsing the JSON received allows the program to dig in and use the URLs for a particular resolution.

نصائح أخرى

Your app would pull images from

http://company.comm/images/1 
http://company.comm/images/2
...  
http://company.comm/images/n

and you would have a website/service that would allow to upload and set live images.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top