non-static method cannot be referenced from a static context
- by Mith
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 :-(