title: Fetch Data from text file in a server to an Android app
body: <p>We have an app that we are using it to fetch some Images from a server, and we are doing it through direct URL fetching. Also there are some other data along with each URL like its Title, Thumbnail URL, OriginalLinks etc.</p>
  
  <p>Below is how we are fetching the data currently</p>
  
  <pre><code>   public class Images {
  
          public final static String[] Image_webLinks = new String[] {
                  "http://www.example.com/ImageURL_1/",
                  "http://www.example.com/ImageURL_2/",
                  "http://www.example.com/ImageURL_3/",
          };
  
  
          public final static String[] Image_Titles = new String[] {
                  "My Image 1",
                  "My Image 2",
                  "My Image 3",
          };
  
          public final static String[] ImageView_Urls = new String[] {
                  "http://www.example.com/Image_1.jpg",
                  "http://www.example.com/Image_2.jpg",
                  "http://www.example.com/Image_3.jpg",
          };
  
          public final static String[] ThumbnailUrls = new String[] {
                  "http://www.example.com/thumbnail_1.jpg",
                  "http://www.example.com/thumbnail_2.jpg",
                  "http://www.example.com/thumbnail_3.jpg",
          };
      }
  </code></pre>
  
  <p>We know that this may not be the right way to fetch data from the server, But we have a simple requirement.Is there a way to store the String data in some text file and fetch it directly from online and thus updating the string data every time, Doing this we don't need to update the code if we want to add an Extra URL in future. We only need to update the Text file inside the server.Is it possible? how?</p>