Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
How to change the contents of our published app,like if I want to pass on single new fact everyday to my app to users?
I thought of making an app which provides users a new fact every day upon refreshing.Can you guys help me out as to how to do this?
Daniel Hartin18,106 Points
I think the only way you could update the app everyday without annoying every user with another update everyday would be for the app to request data from the web. If I were creating the app you describe I would design a simple webpage that contained JSON data which could be requested from my app every time the user logged on, this way the app would never need updating and you could alter the webpage as frequently as you wished in the background without the end user knowing.
To tell you how to do all of this is outside the scope of the question really, but as you move along with the android track you will come across JSON data and learn how to extract data from other sources which are already on the web such as RSS feeds (less work work you Yeahhhh!)
Hope this helps and good luck Daniel