Android Samsung S2 spannablestringbuilder error
Posted
by
Bilal Akmal
on Stack Overflow
See other posts from Stack Overflow
or by Bilal Akmal
Published on 2013-10-25T09:51:47Z
Indexed on
2013/10/25
9:53 UTC
Read the original article
Hit count: 209
android
I'm working on an app which fetches data from server using JSON. It is working fine in emulator but in my phone, it is giving error and not getting data.
The error comes at this point in JSON Parser.... HttpPost httpPost = new HttpPost(url); httpPost.setEntity(new UrlEncodedFormEntity(params)); HttpResponse httpResponse = httpClient.execute(httpPost);//Error Point httpEntity = httpResponse.getEntity(); On the third line logcat shows.... SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length I have searched a lot but it doesn't help me.
© Stack Overflow or respective owner