non-static method cannot be referenced from a static context

Posted by Mith on Stack Overflow See other posts from Stack Overflow or by Mith
Published on 2010-05-26T08:39:39Z Indexed on 2010/05/26 8:41 UTC
Read the original article Hit count: 278

Filed under:
|

I am modifying the source code here: http://thinkandroid.wordpress.com/2009/12/30/getting-response-body-of-httpresponse/

I get this error: non-static method getContentCharSet(org.apache.http.HttpEntity) cannot be referenced from a static context String charset = getContentCharSet(entity);

This error is line 13 on the second box.

Any ideas? I have been really struggling with this code :-(

© Stack Overflow or respective owner

Related posts about android

Related posts about httpclient