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.


GET all documents of a couchdb into an android listview

Hello treehouse community,

With this lines of code I'm saving some data of input fields into my couchdb database:

public static HttpResponse makeRequest(String uri, String json) {
    try {
        HttpPost httpPost = new HttpPost(uri);
        httpPost.setEntity(new StringEntity(json));
        httpPost.setHeader("Accept", "application/json");
        httpPost.setHeader("Content-type", "application/json");
        return new DefaultHttpClient().execute(httpPost);
    } catch (UnsupportedEncodingException e) {
    } catch (ClientProtocolException e) {
    } catch (IOException e) {
    return null;

Now I want to display all the stored documents in a ListView.I really can't find a way to GET all documents in form of JSON objects or something like that without the need of some external library like Ektrop or lightcouch.

Is there a easy way to solve my problem? When you know a step by step tutorial or could give me a helpful hint I would be very thankful.

Otherwise which library would help me by getting the data out of the couchdb and is friendly for a newbie like me on this topic?

Thanks in advance.