title: How to retrieve entries from a space in Contentful in Android
body: <p>Just started using this service today and the documentation is a little bit confusing.
  I have created a <code>Space</code> using the photo-gallery template. In this Space, I have entries of type Image, Author, and Photo Gallery. My Question is, how do I get retrieve an Image for example for display in my android app?</p>
  
  <p>To Interact with the <code>Contentful Delivery API</code>, I know I have to use a <code>CDAClient</code> object and <code>CDAEntry</code> object for the entry am trying to get.</p>
  
  <p>I have defined this in the <code>onCreate()</code> method of my <code>Fragment</code> class like so:</p>
  
  <pre><code>public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      mContext = getActivity();
  
      client = CDAClient.builder()
              .setSpace("id-of-the-space-am-accessing")
              .setToken("the-access-token")
              .build();
  
      entry = client.fetch(CDAEntry.class).one("the id of the image I want to retrieve");
  }
  </code></pre>
  
  <p>In the <code>onCreateView()</code> method, am trying to view the result like this:</p>
  
  <pre><code>Log.e(TAG, "Result: " + entry.toString());
  </code></pre>
  
  <p>When I run the app, I get this in Logcat:</p>
  
  <pre><code>E/NEWS ACTIVITY﹕ Result: CDAEntry{id='2YhtjbebgscIwO2keYEa4O'}
  </code></pre>
  
  <p>This id matches the id of the image I passed to <code>client.fetch(CDAEntry.class).one()</code></p>
  
  <p>Obviously am getting the image, but how do I display it?</p>