I am having weird character encoding issues with a JSON array that is grabbed from a web page. The server is sending back this header:
Content-Type text/javascri
Try this:
if (entity != null) { // A Simple JSON Response Read // InputStream instream = entity.getContent(); // String jsonText = convertStreamToString(instream); String jsonText = EntityUtils.toString(entity, HTTP.UTF_8); // ... toast code here }